Package com.emc.d2fs.interfaces
Interface IMoveService
- All Superinterfaces:
ID2fsService
Move and Copy services.
-
Method Summary
Modifier and TypeMethodDescriptionCopy objects to a new locationboolean
Link objects into a locationboolean
Move objects to a new locationpaste
(Context targetContext, String targetId, String operation, Context sourceContext, String sourceId, String objIds, List<Attribute> attributes) Paste objects to a new locationpasteFolderStructure
(Context context, Context sourceContext, String masterId, String folderId, String structureConfigName, List<Attribute> parameters) Paste a folder structure to another repositoryMethods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote
-
Method Details
-
move
Move objects to a new location- Parameters:
context
-Context
object containing informations about client/sessiontargetId
- String Id of the target containersourceId
- String Id of the source containerobjIds
- String list of ids for object to be moved (separated by AttributeUtils.SEPARATOR_VALUE)- Returns:
- boolean true for success
- Throws:
Exception
-
copy
Copy objects to a new location -
link
Link objects into a location -
paste
List<Attribute> paste(Context targetContext, String targetId, String operation, Context sourceContext, String sourceId, String objIds, List<Attribute> attributes) throws Exception Paste objects to a new location- Parameters:
targetContext
-Context
object containing informations about target client/session.targetId
- String Id of the target containeroperation
- operation type: copy or move.sourceContext
-Context
object containing informations about source client/session.sourceId
- String Id of the source containerobjIds
- String list of ids for object to be copied (separated by AttributeUtils.SEPARATOR_VALUE)attributes
- List ofAttribute
as params- Returns:
- attribute list if process performs without error, you will find an : attribute name="isOperationDone" a boolean to specify if the operation is done. attribute name="isFileImportNeeded" (optional) a boolean to specify if the files import wizard is needed. attribute name="isStructureImportNeeded" (optional) a boolean to specify if the structure import wizard is needed.
- Throws:
Exception
-
pasteFolderStructure
List<Attribute> pasteFolderStructure(Context context, Context sourceContext, String masterId, String folderId, String structureConfigName, List<Attribute> parameters) throws Exception Paste a folder structure to another repository- Parameters:
context
-Context
object containing informations about target client/session.sourceContext
-Context
object containing informations about source client/session.masterId
- String Id of the master document used to import new content into target repositoryfolderId
- String Id of the folder/cabinet container from source repositorystructureConfigName
- String configuration name of the structure configuration being usedparameters
- List ofAttribute
as params that will be set in the context for possible use- Returns:
- attribute list if process performs without error, you will find an : attribute name="folderId" root folder id. attribute name="folderName" root folder name. attribute name="folderPath" root folder path.
- Throws:
Exception
-