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:
Serializable
This class contains options for deleting archive entries using the
IXServicePortIF.deleteSord(ClientInfo, String, String, LockZ, DeleteOptions)
function.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Delete physically certain document versions of the objects.protected boolean
Delete the document versions of the objects but keep keywording information.protected boolean
Delete only expired folders and documents.protected boolean
Delete only expired objects.protected boolean
deleteFinally=true causes the objects to be removed physically.protected boolean
Delete all references to the objects in the database.protected boolean
Delete a folder only if it is empty.protected String
maxIDate ist the ISO representation of the local date used to mark the upper limit for deleting.protected String
Delete objects modified last time before this date.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
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
(String maxIDate) void
setMaxTStamp
(String maxTStamp) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
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
maxIDate 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 functionIXServicePortIF.cleanupStart(ClientInfo, DeleteOptions)
. This option can be combined withdeleteFinally
.Behavior 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
Delete 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 functionIXServicePortIF.cleanupStart(ClientInfo, DeleteOptions)
. This option can be combined withdeleteFinally
.Behavior 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
-
setMaxIDate
-
isDeleteExpiredOnly
public boolean isDeleteExpiredOnly() -
setDeleteExpiredOnly
public void setDeleteExpiredOnly(boolean deleteExpiredOnly) -
getMaxTStamp
-
setMaxTStamp
-
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
-