Class CopyOptions

java.lang.Object
de.elo.ix.client.CopyOptions
All Implemented Interfaces:
Serializable

public class CopyOptions extends Object implements 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 Details

    • targetName

      protected String targetName
      Name of the target archive element.
    • newParentId

      protected int newParentId
      ParentId of the new element.
    • copyOnlyBaseElement

      protected boolean copyOnlyBaseElement
      Copy only the base element.
    • copyStructuresAndDocuments

      protected boolean copyStructuresAndDocuments
      Copy all structures with the documents.
    • copyOnlyWorkAttachment

      protected boolean copyOnlyWorkAttachment
      If 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 keepOriginalOwner
      Keep the original owner of the archive element.
    • keepCurrentNotes

      protected boolean keepCurrentNotes
      Keep the current documentnotes.
    • inclAttachments

      protected boolean inclAttachments
      Also copy all attachments.
      Since:
      8.00.032.008
    • keepOriginalPermissions

      protected boolean keepOriginalPermissions
      Keep the current permissions. Only one of the three options keepOriginalPermissions, takeTargetPermissions and acceptChanges can be true.
      Since:
      8.00.032.005
    • takeTargetPermissions

      protected boolean takeTargetPermissions
      Take the target permissions. Only one of the three options keepOriginalPermissions, takeTargetPermissions and acceptChanges can be true.
      Since:
      8.00.032.005
    • acceptChanges

      protected boolean acceptChanges
      Accept the change. Only one of the three options keepOriginalPermissions, takeTargetPermissions and acceptChanges can be true.
      Since:
      8.00.032.005
    • keepReferences

      protected boolean keepReferences
      Keep 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 copyOnlyWorkversion
      Do not copy all documents versions but only workversion
      Since:
      8.00.032.003
    • moveOnly

      protected boolean moveOnly
      Only move the element.
      Since:
      9.00.000.006
  • Constructor Details

    • CopyOptions

      public CopyOptions()
      Constructor for the class "CopyOptions".
  • Method Details

    • getTargetName

      public String 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

      public void setTargetName(String targetName)
    • 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)