Package com.documentum.fc.lifecycle
Interface IDfLifecycleUserEntryCriteria
public interface IDfLifecycleUserEntryCriteria
Interface for a Java method implementing user defined entry criteria for a Lifecycle.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanuserEntryCriteria(IDfSysObject sysObj, String userName, String targetState) User defined entry criteria to determine if an object can enter a new Lifecycle state.
-
Method Details
-
userEntryCriteria
boolean userEntryCriteria(IDfSysObject sysObj, String userName, String targetState) throws DfException User defined entry criteria to determine if an object can enter a new Lifecycle state.- Parameters:
sysObj- The object that is being moved to a new Lifecycle state.userName- The name of the user who has intiated the Lifecycle state change.targetState- The name of the target Lifecycle state.- Returns:
trueif the object meets the entry criteria;falseif the object does not satisfy the entry criteria.- Throws:
DfException- to indicate that an error has occured while attempting to check the entry criteria.
-