de.espirit.firstspirit.access.store
Interface DeleteProgress

All Superinterfaces:
ActionProgress, Serializable

public interface DeleteProgress
extends ActionProgress

Since:
4.0.120

Method Summary
 Set<Long> getDeletedElements()
          Returns a set of ID's of all successfully deleted elements since the last progress poll.
 Set<Long> getDeleteFailedElements()
          Returns a set of ID's of all elements which couldn't be deleted because of unexpected errors during delete.
 Set<Long> getLockFailedElements()
          Returns a set of ID's of all elements which couldn't be locked for delete
 Set<Long> getMissingPermissionElements()
          Returns a set of ID's of all elements which couldn't be deleted cause of missing delete permissions.
 Set<Long> getNonChangeablePackagePoolItems()
          Returns a set of ID's of all elements which couldn't be deleted cause they are package pool items and belong to a non changeable subscription
 Set<Long> getReferencedElements()
          Returns a set of ID's of all elements which couldn't be deleted cause of existing incoming references.
 
Methods inherited from interface de.espirit.firstspirit.access.ActionProgress
getLog, getProgress, getStatus, isFinished
 

Method Detail

getDeletedElements

Set<Long> getDeletedElements()
Returns a set of ID's of all successfully deleted elements since the last progress poll.

Returns:
set of ID's of successfully deleted elements
Since:
4.0.120

getDeleteFailedElements

Set<Long> getDeleteFailedElements()
Returns a set of ID's of all elements which couldn't be deleted because of unexpected errors during delete.
This amount of ID's doesn't contains elements which are contained in on of (DeleteProgress.getMissingPermissionElements(), DeleteProgress.getLockFailedElements() , DeleteProgress.getReferencedElements())

Returns:
set of ID's of elements which couldn't be deleted because of errors
Since:
4.0.120

getMissingPermissionElements

Set<Long> getMissingPermissionElements()
Returns a set of ID's of all elements which couldn't be deleted cause of missing delete permissions.

Since:
4.0.120

getLockFailedElements

Set<Long> getLockFailedElements()
Returns a set of ID's of all elements which couldn't be locked for delete

Returns:
set of ID's of elements which couldn't be locked
Since:
4.0.120

getReferencedElements

Set<Long> getReferencedElements()
Returns a set of ID's of all elements which couldn't be deleted cause of existing incoming references. If the action is called with 'ignoreReferences == true' this set is always empty

Since:
4.0.120

getNonChangeablePackagePoolItems

Set<Long> getNonChangeablePackagePoolItems()
Returns a set of ID's of all elements which couldn't be deleted cause they are package pool items and belong to a non changeable subscription

Since:
4.2.32


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480