Package de.elo.ix.client
Class DeleteOptions
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.DeleteOptions
- All Implemented Interfaces:
java.io.Serializable
public class DeleteOptions extends ValueClass implements java.io.Serializable
This class contains options for deleting archive SORDs using the deleteSord function.
Copyright: Copyright (c) 2004
Organisation: ELO Digital Office GmbH
- See Also:
IXServicePortIF.deleteSord(...)
, Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deleteCertainDocumentVersionsOnly
Delete physically certain document versions of the objects.protected boolean
deleteDocumentVersionsOnly
Delete the document versions of the objects but keep keywording information.protected boolean
deleteExpiredFolders
Delete only expired folders and documents.protected boolean
deleteExpiredOnly
Delete only expired objects.protected boolean
deleteFinally
deleteFinally=true causes the objects to be removed physically.protected boolean
deleteResidueFree
Delete all references to the objects in the database.protected boolean
folderMustBeEmpty
Delete a folder only if it is empty.protected java.lang.String
maxIDate
maxIDate ist the ISO representation of the local date used to mark the upper limit for deleting.protected java.lang.String
maxTStamp
Delete objects modified last time before this date. -
Constructor Summary
Constructors Constructor Description DeleteOptions()
DeleteOptions(DeleteOptions rhs)
-
Method Summary
Modifier and Type Method Description java.lang.String
getMaxIDate()
java.lang.String
getMaxTStamp()
boolean
isDeleteCertainDocumentVersionsOnly()
boolean
isDeleteDocumentVersionsOnly()
boolean
isDeleteExpiredFolders()
boolean
isDeleteExpiredOnly()
boolean
isDeleteFinally()
boolean
isDeleteResidueFree()
boolean
isFolderMustBeEmpty()
void
setDeleteCertainDocumentVersionsOnly(boolean deleteCertainDocumentVersionsOnly)
void
setDeleteDocumentVersionsOnly(boolean deleteDocumentVersionsOnly)
void
setDeleteExpiredFolders(boolean deleteExpiredFolders)
void
setDeleteExpiredOnly(boolean deleteExpiredOnly)
void
setDeleteFinally(boolean deleteFinally)
void
setDeleteResidueFree(boolean deleteResidueFree)
void
setFolderMustBeEmpty(boolean folderMustBeEmpty)
void
setMaxIDate(java.lang.String maxIDate)
void
setMaxTStamp(java.lang.String maxTStamp)
java.lang.String
toString()
-
Field Details
-
deleteFinally
protected boolean deleteFinallydeleteFinally=true causes the objects to be removed physically. When used together withcleanupStart
, this option is always true. Exception: seedeleteExpiredOnly
-
maxIDate
protected java.lang.String maxIDatemaxIDate ist the ISO representation of the local date used to mark the upper limit for deleting. -
deleteExpiredOnly
protected boolean deleteExpiredOnlyDelete only expired objects. Only supported in functioncleanupStart
. This option can be combined withdeleteFinally
.deleteFinally
Action false
All expired objects will be marked as deleted (but not finally deleted). The objects ACL is checked before it is deleted. LockC.FORCE is applied when deleting an object. true
Objects that are expired and marked are deleted finally. - Since:
- 6.00.098
-
maxTStamp
protected java.lang.String maxTStampDelete objects modified last time before this date. Only supported in functioncleanupStart
. If deleteFinally is true and this member is set, ony those objects are deleted finally, which were deleted logically before the given time. It must be an ISO value in the local time zone.- Since:
- 7.00.000.041
-
deleteDocumentVersionsOnly
protected boolean deleteDocumentVersionsOnlyDelete the document versions of the objects but keep keywording information. In order to delete only the document versions, call deleteSord on an maybe undeleted object and set DeleteOptions.deleteFinally=true and DeleteOptions.deleteDocumentVersionsOnly=true.- Since:
- 7.00.000.044
-
deleteCertainDocumentVersionsOnly
protected boolean deleteCertainDocumentVersionsOnlyDelete physically certain document versions of the objects. In order to delete physically certain document versions, first mark document versions as deleted (using DocVersion.setDeleted, followed by checkinDocEnd). Then call deleteSord after having set DeleteOptions.deleteFinally=true and DeleteOptions.deleteCertainDocumentVersionsOnly=true. (In order to delete all document versions, use field deleteDocumentVersionsOnly)- Since:
- 8.00.030.002
-
deleteResidueFree
protected boolean deleteResidueFreeDelete all references to the objects in the database. This includes reporting, replication control information, fulltext, etc. This option is ignroed, if deleteFinally is false.- Since:
- 7.00.000.044
-
folderMustBeEmpty
protected boolean folderMustBeEmptyDelete a folder only if it is empty. Set this member to true, if deleteSord should delete only empty folders. If the parameters to deleteSord specify the original location of a non-empty folder, the exception IXExceptionC.ACCESS_DENIED is thrown. This option is ignored, if deleteSord is invokded with a reference.- Since:
- 8.00.010.003
-
deleteExpiredFolders
protected boolean deleteExpiredFoldersDelete only expired folders and documents. Only expired empty folders can be deleted. Only supported in functioncleanupStart
. This option can be combined withdeleteFinally
.deleteFinally
Action false
All expired objects will be marked as deleted (but not finally deleted). The objects ACL is checked before it is deleted. LockC.FORCE is applied when deleting an object. true
Objects that are expired and marked are deleted finally. - Since:
- 8.00.032.009
-
-
Constructor Details
-
DeleteOptions
public DeleteOptions() -
DeleteOptions
-
-
Method Details
-
isDeleteFinally
public boolean isDeleteFinally() -
setDeleteFinally
public void setDeleteFinally(boolean deleteFinally) -
getMaxIDate
public java.lang.String getMaxIDate() -
setMaxIDate
public void setMaxIDate(java.lang.String maxIDate) -
isDeleteExpiredOnly
public boolean isDeleteExpiredOnly() -
setDeleteExpiredOnly
public void setDeleteExpiredOnly(boolean deleteExpiredOnly) -
getMaxTStamp
public java.lang.String getMaxTStamp() -
setMaxTStamp
public void setMaxTStamp(java.lang.String maxTStamp) -
isDeleteDocumentVersionsOnly
public boolean isDeleteDocumentVersionsOnly() -
setDeleteDocumentVersionsOnly
public void setDeleteDocumentVersionsOnly(boolean deleteDocumentVersionsOnly) -
isDeleteCertainDocumentVersionsOnly
public boolean isDeleteCertainDocumentVersionsOnly() -
setDeleteCertainDocumentVersionsOnly
public void setDeleteCertainDocumentVersionsOnly(boolean deleteCertainDocumentVersionsOnly) -
isDeleteResidueFree
public boolean isDeleteResidueFree() -
setDeleteResidueFree
public void setDeleteResidueFree(boolean deleteResidueFree) -
isFolderMustBeEmpty
public boolean isFolderMustBeEmpty() -
setFolderMustBeEmpty
public void setFolderMustBeEmpty(boolean folderMustBeEmpty) -
isDeleteExpiredFolders
public boolean isDeleteExpiredFolders() -
setDeleteExpiredFolders
public void setDeleteExpiredFolders(boolean deleteExpiredFolders) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-