Package de.elo.ix.client
Class CopyOptions
java.lang.Object
de.elo.ix.client.CopyOptions
- All Implemented Interfaces:
Serializable
Structure for the options for the copy-process.
Copyright: Copyright (c) 2009
Organisation: ELO Digital Office GmbH
- Since:
- 7.00.020.001
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Accept the change.protected boolean
Copy only the base element.protected boolean
If inclAttachments and copyOnlyWorkAttachment are true, copy only the work attachments.protected boolean
Do not copy all documents versions but only workversionprotected boolean
Copy all structures with the documents.protected boolean
Also copy all attachments.protected boolean
Keep the current documentnotes.protected boolean
Keep the original owner of the archive element.protected boolean
Keep the current permissions.protected boolean
Keep references to original objects in copied parents.protected boolean
Only move the element.protected int
ParentId of the new element.protected boolean
Take the target permissions.protected String
Name of the target archive element. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
int
Returns the name of the copy-target.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAcceptChanges
(boolean acceptChanges) void
setAdjustAclDifference
(boolean adjustAclDifference) void
setCopyOnlyBaseElement
(boolean copyOnlyBaseElement) void
setCopyOnlyWorkAttachment
(boolean copyOnlyWorkAttachment) void
setCopyOnlyWorkversion
(boolean copyOnlyWorkversion) void
setCopyStructuresAndDocuments
(boolean copyStructuresAndDocuments) void
setInclAttachments
(boolean inclAttachments) void
setKeepCurrentNotes
(boolean keepCurrentNotes) void
setKeepOriginalOwner
(boolean keepOriginalOwner) void
setKeepOriginalPermissions
(boolean keepOriginalPermissions) void
setKeepReferences
(boolean keepReferences) void
setMoveOnly
(boolean moveOnly) Sets the property for moving the sord.void
setNewParentId
(int newParentId) void
setTakeTargetPermissions
(boolean takeTargetPermissions) void
setTargetName
(String targetName)
-
Field Details
-
targetName
Name of the target archive element. -
newParentId
protected int newParentIdParentId of the new element. -
copyOnlyBaseElement
protected boolean copyOnlyBaseElementCopy only the base element. -
copyStructuresAndDocuments
protected boolean copyStructuresAndDocumentsCopy all structures with the documents. -
copyOnlyWorkAttachment
protected boolean copyOnlyWorkAttachmentIf inclAttachments and copyOnlyWorkAttachment are true, copy only the work attachments. Setting copyOnlyWorkAttachment to true when inclAttachments is false is invalid.- Since:
- 8.00.032.008
-
keepOriginalOwner
protected boolean keepOriginalOwnerKeep the original owner of the archive element. -
keepCurrentNotes
protected boolean keepCurrentNotesKeep the current documentnotes. -
inclAttachments
protected boolean inclAttachmentsAlso copy all attachments.- Since:
- 8.00.032.008
-
keepOriginalPermissions
protected boolean keepOriginalPermissionsKeep the current permissions. Only one of the three options keepOriginalPermissions, takeTargetPermissions and acceptChanges can be true.- Since:
- 8.00.032.005
-
takeTargetPermissions
protected boolean takeTargetPermissionsTake the target permissions. Only one of the three options keepOriginalPermissions, takeTargetPermissions and acceptChanges can be true.- Since:
- 8.00.032.005
-
acceptChanges
protected boolean acceptChangesAccept the change. Only one of the three options keepOriginalPermissions, takeTargetPermissions and acceptChanges can be true.- Since:
- 8.00.032.005
-
keepReferences
protected boolean keepReferencesKeep references to original objects in copied parents. This member is ignored, if ProcessInfo.inclReferences=false. If this member is true or only the parent is included in the tree, the copied reference links the copied parent to the original object. If this member is false and both the parent and object of a reference is included in the tree, the copied reference links the copied parent to the copied object.- Since:
- 8.00.000.004
-
copyOnlyWorkversion
protected boolean copyOnlyWorkversionDo not copy all documents versions but only workversion- Since:
- 8.00.032.003
-
moveOnly
protected boolean moveOnlyOnly move the element.- Since:
- 9.00.000.006
-
-
Constructor Details
-
CopyOptions
public CopyOptions()Constructor for the class "CopyOptions".
-
-
Method Details
-
getTargetName
Returns the name of the copy-target.- Returns:
- String
-
getCopyOnlyBaseElement
public boolean getCopyOnlyBaseElement() -
getCopyStructuresAndDocuments
public boolean getCopyStructuresAndDocuments() -
getKeepOriginalOwner
public boolean getKeepOriginalOwner() -
getKeepCurrentNotes
public boolean getKeepCurrentNotes() -
getNewParentId
public int getNewParentId() -
setTargetName
-
setCopyOnlyBaseElement
public void setCopyOnlyBaseElement(boolean copyOnlyBaseElement) -
setCopyStructuresAndDocuments
public void setCopyStructuresAndDocuments(boolean copyStructuresAndDocuments) -
setKeepOriginalOwner
public void setKeepOriginalOwner(boolean keepOriginalOwner) -
setKeepCurrentNotes
public void setKeepCurrentNotes(boolean keepCurrentNotes) -
setNewParentId
public void setNewParentId(int newParentId) -
isKeepReferences
public boolean isKeepReferences() -
setKeepReferences
public void setKeepReferences(boolean keepReferences) -
isCopyOnlyWorkversion
public boolean isCopyOnlyWorkversion() -
setCopyOnlyWorkversion
public void setCopyOnlyWorkversion(boolean copyOnlyWorkversion) -
isKeepOriginalPermissions
public boolean isKeepOriginalPermissions() -
setKeepOriginalPermissions
public void setKeepOriginalPermissions(boolean keepOriginalPermissions) -
isTakeTargetPermissions
public boolean isTakeTargetPermissions() -
setTakeTargetPermissions
public void setTakeTargetPermissions(boolean takeTargetPermissions) -
isAcceptChanges
public boolean isAcceptChanges() -
setAcceptChanges
public void setAcceptChanges(boolean acceptChanges) -
setCopyOnlyWorkAttachment
public void setCopyOnlyWorkAttachment(boolean copyOnlyWorkAttachment) -
isCopyOnlyWorkAttachment
public boolean isCopyOnlyWorkAttachment() -
setInclAttachments
public void setInclAttachments(boolean inclAttachments) -
isInclAttachments
public boolean isInclAttachments() -
isMoveOnly
public boolean isMoveOnly() -
setMoveOnly
public void setMoveOnly(boolean moveOnly) Sets the property for moving the sord.- Parameters:
moveOnly
-
-
isAdjustAclDifference
public boolean isAdjustAclDifference() -
setAdjustAclDifference
public void setAdjustAclDifference(boolean adjustAclDifference)
-