|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.workplace.wcm.api.custom.WCM_DeleteDirectiveParams
public class WCM_DeleteDirectiveParams
The DeleteDirectiveParams
object is used to specify arguments or options to a 'Delete' Directive.
To create a new DeleteDirectiveParams
object call Directives.DELETE.createDirectiveParams()
and cast the returned object to DeleteDirectiveParams
To use a DeleteDirectiveParams
object call the CustomWorkflowActionService.createResult(Directive, String, DirectiveParams)
method instead of CustomWorkflowActionService.createResult(Directive, String)
to construct the workflow action result.
Constructor Summary | |
---|---|
WCM_DeleteDirectiveParams()
|
Method Summary | |
---|---|
boolean |
isPermanentDelete()
Indicates if a permanent delete has been requested |
void |
setPermanentDelete(boolean performPermanentDelete)
Specifies whether the Delete Directive should perform a permanent delete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WCM_DeleteDirectiveParams()
Method Detail |
---|
public void setPermanentDelete(boolean performPermanentDelete)
By default all deletes of non-draft items are soft-deletes. Draft items are always permanently deleted.
setPermanentDelete
in interface DeleteDirectiveParams
performPermanentDelete
- true if a permanent delete should be performed. false otherwisepublic boolean isPermanentDelete()
isPermanentDelete
in interface DeleteDirectiveParams
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |