FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
AdminContentMove Class Reference
Inheritance diagram for AdminContentMove:
Inheritance graph
Collaboration diagram for AdminContentMove:
Collaboration graph

Public Member Functions

 copyContent ($uploadIds, $parentFolderId, $isCopyRequest)
 
- Public Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 __construct ($name, $parameters=array())
 
 getName ()
 
 getVersion ()
 
 getTitle ()
 
 isRequiresLogin ()
 
 getDependency ()
 
 getPluginLevel ()
 
 getDBaccess ()
 
 getState ()
 
 getInitOrder ()
 
 getNoMenu ()
 
 getResponse ()
 
 getObject ($name)
 
 preInstall ()
 
 postInstall ()
 
 unInstall ()
 
 execute ()
 
 isLoggedIn ()
 
 __get ($name)
 
 __toString ()
 

Public Attributes

const NAME = 'content_move'
 
- Public Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
const PERMISSION = "permission"
 
const REQUIRES_LOGIN = "requiresLogin"
 
const ENABLE_MENU = "ENABLE_MENU"
 
const LEVEL = "level"
 
const DEPENDENCIES = "dependencies"
 
const INIT_ORDER = "initOrder"
 
const MENU_LIST = "menuList"
 
const MENU_ORDER = "menuOrder"
 
const MENU_TARGET = "menuTarget"
 
const TITLE = "title"
 

Protected Member Functions

 RegisterMenus ()
 
 handle (Request $request)
 
- Protected Member Functions inherited from Fossology\Lib\Plugin\DefaultPlugin
 RegisterMenus ()
 Customize submenus.
 
 handle (Request $request)
 
 render ($templateName, $vars=null, $headers=null)
 
 getDefaultHeaders ()
 
 getDefaultVars ()
 
 mergeWithDefault ($vars)
 
 flushContent ($content)
 

Private Member Functions

 performAction ($folderContentIds, $parentFolderId, $isCopyRequest)
 

Private Attributes

 $folderDao
 

Additional Inherited Members

- Protected Attributes inherited from Fossology\Lib\Plugin\DefaultPlugin
 $container
 
 $renderer
 
 $microMenu
 

Detailed Description

Definition at line 25 of file AdminContentMove.php.

Member Function Documentation

AdminContentMove::copyContent (   $uploadIds,
  $parentFolderId,
  $isCopyRequest 
)

Move/Copy content of one folder to other.

Parameters
integer[]$uploadIds Upload ids to copy/move
integer$parentFolderIdDestination folder id
boolean$isCopyRequestSet true to copy, false to move
Returns
string Empty string on success, error message on failure.
See also
performAction()

Definition at line 111 of file AdminContentMove.php.

AdminContentMove::handle ( Request  $request)
protected
Parameters
Request$request
Returns
Response

Definition at line 55 of file AdminContentMove.php.

AdminContentMove::performAction (   $folderContentIds,
  $parentFolderId,
  $isCopyRequest 
)
private

Move/Copy content of one folder to other.

Parameters
integer[]$folderContentIds Upload ids to copy/move
integer$parentFolderIdDestination folder id
boolean$isCopyRequestSet true to copy, false to move
Returns
string Empty string on success, error message on failure.

Definition at line 81 of file AdminContentMove.php.


The documentation for this class was generated from the following file: