Package com.documentum.fc.client
Interface IDfPolicy
- All Superinterfaces:
IDfPersistentObject
,IDfSysObject
,IDfTypedObject
Interface for lifecycles.
-
Field Summary
Fields inherited from interface com.documentum.fc.client.IDfPersistentObject
CURRENCY_CHECK_ALWAYS, CURRENCY_CHECK_FIRST_ACCESS, CURRENCY_CHECK_NEVER, CURRENCY_CHECK_ONCE_PER_SCOPE
-
Method Summary
Modifier and TypeMethodDescriptionint
Append a new state to this lifecycle.getActionObjectId
(int index) Return the attribute action_object_id value at the specified index.int
Return the number of attribute action_object_id values for this policy.getAliasSetIds
(int index) Return the alias_set_ids value at the specified index.int
Return the number of attribute allias_set_ids values for this policy.Retun an IDfList that includes the complete list of types for objects that can be attached to this policy.boolean
getAllowAttach
(int index) Return the attribute allow_attach value at the specified index.int
Return the number of attribute allow_attach values for this policy.boolean
getAllowDemote
(int index) Return the attribute allow_demote value at the specified index.int
Return the number of attribute allow_demote values for this policy.boolean
getAllowSchedule
(int index) Return the attribute allow_schedule value at the specified index.int
Return the number of attribute allow_schedule values for this policy.Return the attribute app_validation_id value for this policy.Return the attribute app_validation_ver value for this policy.int
Return the attribute r_definition_state value.getEntryCriteria
(int index) Get the entry criteria specified by the client for the server to generate a dm_func_expr object and save its ID in the entry_criteria_id attribute for the state with the given index.getEntryCriteriaId
(int index) Return the attribute entry_criteria_id value at the specified index.int
Return the number of attribute entry_criteria_id values for this policy.getExceptionState
(int index) Return the attribute exception_state value at the specified index.int
Return the number of attribute exception_state values for this policy.getExtensionObjectId
(int index) Return the IDfId of the extension object for the state indicated by the index proviced.Return the attribute extension_type value.getIncludedType
(int index) Return the attribute included_type value at the specified index.int
Return the number of attribute included_type values for this policy.boolean
getIncludeSubtypes
(int index) Return the attribute include_subtypes value at the specified index.int
Return the number of attribute include_subtypes values for this policy.boolean
Return the attribute java_methods value.int
getReturnCondition
(int index) Return the attribute return_condition value at the specified index.int
Return the number of attribute return_condition values for this policy.boolean
getReturnToBase
(int index) Return the attribute return_to_base value at the specified index.int
Return the number of attribute return_to_base values for this policy.int
getStateClass
(int index) Return the attribute state_class value at the specified index.int
Return the number of attribute state_class values for this policy.getStateDescription
(int index) Return the attribute state_description value at the specified index.int
Return the number of attribute state_description values for this policy.getStateExtension
(int stateNo) Return the IDfStateExtension for the specified state or null if one does not exist.int
getStateIndex
(String stateName) Return the index of the attribute state_name value.getStateName
(int index) Return the attribute state_name value at the specified index.int
Return the number of state_name values for this policy.int
getStateNo
(int index) Return the attribute i_state_no value at the specified index.int
Return the number of attribute i_state_no values for this policy.getStateType
(int index) Return the attribute state_type value at the specified index.int
Return the number of attribute state_type values for this policy.getSystemActions
(int index) Return the attribute system_actions value at the specified index.int
Return the number of attribute system_actions values for this policy.getTypeOverrideId
(int index) Return the attribute type_override_id value at the specified index.int
Return the number of attribute type_override_id values for this policy.getUserActionId
(int index) Return the attribute user_action_id value at the specified index.int
Return the number of attribute user_action_id values for this policy.getUserActionService
(int index) Return the attribute user_action_service value at the specified index.int
Return the number of user_action_service values for this policy.getUserActionVer
(int index) Return the attribute user_action_ver value at the specified index.int
Return the number of attribute user_action_ver values for this policy.getUserCriteriaId
(int index) Return the attribute user_criteria_id value at the specified index.int
Return the number of attribute user_criteria_id values for this policy.getUserCriteriaService
(int index) Return the attribute user_criteria_service value at the specified index.int
Return the number of attribute user_criteria_service values for this policy.getUserCriteriaVer
(int index) Return the attribute user_criteria_ver value at the specified index.int
Return the number of attribute user_criteria_ver values for this policy.getUserPostprocessingService
(int index) Return the attribute user_post_processing_service value at the specified index.int
Return the number of attribute user_post_processing_service values for this policy.getUserPostprocId
(int index) Return the attribute user_postproc_id value at the specified index.int
Return the number of attribute user_postproc_id values for this policy.getUserPostprocVer
(int index) Return the attribute user_postproc_ver value at the specified index.int
Return the number of attribute user_postproc_ver values for this policy.Return the attribute user_validation_service value for this policy.void
insertState
(int index) Insert a new state with the given index into this lifecycle.void
install
(boolean notify) Validate this policy.void
moveState
(int oldIndex, int newIndex) Move a state within this policy.newStateExtension
(int stateNo) Create and initialize an IDfStateExtension for the specified state.void
removeState
(int index) Remove a state from this policy.void
setActionObjectId
(int index, IDfId value) Set the attribute action_object_id value at the specified index.void
setAliasSetIds
(int index, IDfId value) Set the attribute allias_set_ids value at the specified index.void
setAllowAttach
(int index, boolean value) Set the attribute allow_attach value at the specified index.void
setAllowDemote
(int index, boolean value) Set the attribute allow_demote value at the specified index.void
setAllowSchedule
(int index, boolean value) Set the attribute allow_schedule value at the specified index.void
setAppValidationId
(IDfId value) Set the attribute app_validation_id value for this policy.void
setAppValidationVer
(String value) Set the attribute app_validation_ver value for this policy.void
setEntryCriteria
(int index, String value) Set the entry criteria for the state with the given index.void
setExceptionState
(int index, String value) Set the attribute exception_state value at the specified index.void
setExtensionType
(String value) Set the attribute extension_type value for this policy.void
setIncludedType
(int index, String value) Set the attribute included_typename attribute at the specified index.void
setIncludeSubtypes
(int index, boolean value) Set the attribute include_subtypes value at the specified index.void
setJavaMethods
(boolean value) Set the attribute java_methods value for this policy.void
setReturnCondition
(int index, int value) Set the attribute return_condition value at the specified index.void
setReturnToBase
(int index, boolean value) Set the attribute return_to_base value at the specified index.void
setStateClass
(int index, int value) Set the attribute state_class at the specified index.void
setStateDescription
(int index, String value) Set the attribute state_description value at the specified index.void
setStateName
(int index, String value) Set the attribute state_name value at the specified index.void
setStateNo
(int index, int value) Set the attribute i_state_no value at the specified index.void
setStateType
(int index, String value) Set the attribute state_type value at the specified index.void
setSystemActions
(int index, IDfId value) Set the attribute system_actions value at the specified index.void
setTypeOverrideId
(int index, IDfId value) Set the attribute type_override_id value at the specified index.void
setUserActionId
(int index, IDfId value) Set the attribute user_action_id value at the specified index.void
setUserActionService
(int index, String value) Set the attribute user_action_service value at the specified index.void
setUserActionVer
(int index, String value) Set the attribute user_action_ver value at the specified index.void
setUserCriteriaId
(int index, IDfId value) Set the attribute user_criteria_id value at the specified index.void
setUserCriteriaService
(int index, String value) Set the attribute user_criteria_service value at the specified index.void
setUserCriteriaVer
(int index, String value) Set the attribute user_criteria_ver value at the specified index.void
setUserPostprocessingService
(int index, String value) Set the attribute user_post_processing_service value at the specified index.void
setUserPostprocId
(int index, IDfId value) Set the attribute user_postproc_id value at the specified index.void
setUserPostprocVer
(int index, String value) Set the attribute user_postproc_ver at the specified index.void
setUserValidationService
(String value) Set the attribute user_validation_service value for this policy.void
unInstall
(boolean notify) Validate this policy.void
validate()
Validate this policy.Methods inherited from interface com.documentum.fc.client.IDfPersistentObject
addChildRelative, addParentRelative, apiExec, apiGet, apiSet, destroy, fetch, fetchWithCaching, getAttrAssistance, getAttrAssistanceWithValues, getAttrAsstDependencies, getChildRelatives, getParentRelatives, getPartition, getType, getValidator, getVStamp, getWidgetType, isDeleted, isDirty, isInstanceOf, isNew, isReplica, lock, lockEx, registerEvent, removeChildRelative, removeParentRelative, revert, save, setPartition, signoff, unRegisterEvent, unRegisterEventEx, validateAllRules, validateAttrRules, validateAttrRulesWithValue, validateAttrRulesWithValues, validateObjRules, validateObjRulesWithValues
Methods inherited from interface com.documentum.fc.client.IDfSysObject
addDigitalSignature, addESignature, addNote, addReference, addRendition, addRenditionEx, addRenditionEx2, addRenditionEx3, appendContent, appendContentEx, appendFile, appendFileEx, appendPart, areAttributesModifiable, assemble, asVirtualDocument, attachPolicy, bindFile, branch, cancelCheckout, cancelCheckoutEx, cancelScheduledDemote, cancelScheduledPromote, cancelScheduledResume, cancelScheduledSuspend, canDemote, canPromote, canResume, canSuspend, checkin, checkinEx, checkout, checkoutEx, demote, destroyAllVersions, detachPolicy, disassemble, freeze, getAccessDate, getAccessorApplicationPermit, getAccessorCount, getAccessorName, getAccessorPermit, getAccessorPermitType, getAccessorXPermit, getAccessorXPermitNames, getACL, getACLDomain, getACLName, getAclRefValid, getAcsRequests, getAliasSet, getAliasSetId, getAntecedentId, getApplicationType, getAssembledFromId, getAuthors, getAuthorsCount, getBranchCount, getCabinetId, getChronicleId, getCollectionForContent, getCollectionForContentEx2, getCollectionForContentEx3, getCollectionForContentEx4, getComponentId, getComponentIdCount, getCompoundArchitecture, getContainId, getContainIdCount, getContent, getContentAvailability, getContentEx, getContentEx2, getContentEx3, getContentsId, getContentSize, getContentSize, getContentState, getContentStateCount, getContentType, getCreationDate, getCreatorName, getCurrentState, getCurrentStateName, getDirectDescendant, getDoubleContentAttr, getExceptionStateName, getFile, getFileEx, getFileEx2, getFolderId, getFolderIdCount, getFormat, getFrozenAssemblyCount, getFullText, getGroupName, getGroupPermit, getHasEvents, getHasFolder, getHasFrozenAssembly, getImplicitVersionLabel, getKeywords, getKeywordsCount, getLatestFlag, getLinkCount, getLinkHighCount, getLocations, getLockDate, getLockMachine, getLockOwner, getLogEntry, getMasterDocbase, getModifier, getModifyDate, getNextStateName, getObjectName, getOtherFileSize, getOwnerName, getOwnerPermit, getPageCount, getPath, getPathEx, getPathEx2, getPermissions, getPermit, getPermitEx, getPolicyId, getPolicyName, getPreviousStateName, getReferenceCount, getRemoteId, getRenditions, getResolutionLabel, getResumeState, getResumeStateName, getRetainerCount, getRetainerId, getRetainUntilDate, getRetentionDate, getRouters, getSpecialApp, getStatus, getStorageType, getStringContentAttr, getSubject, getTimeContentAttr, getTitle, getTypeName, getVdmPath, getVdmPathDQL, getVersionLabel, getVersionLabelCount, getVersionLabels, getVersionPolicy, getVersions, getWorkflows, getWorldPermit, getXPermit, getXPermitList, getXPermitNames, grant, grantPermit, hasPermission, insertContent, insertContentEx, insertFile, insertFileEx, insertPart, isArchived, isCheckedOut, isCheckedOutBy, isContentTransferCapabilityEnabled, isFrozen, isHidden, isImmutable, isLinkResolved, isPublic, isReference, isSuspended, isVirtualDocument, link, mark, mount, print, promote, prune, queue, refreshReference, removeContent, removeNote, removePart, removeRendition, removeRenditionEx, removeRenditionEx2, resolveAlias, resume, revertACL, revoke, revokePermit, saveAsNew, saveLock, scheduleDemote, schedulePromote, scheduleResume, scheduleSuspend, setACL, setACLDomain, setACLName, setApplicationType, setArchived, setAuthors, setCompoundArchitecture, setContent, setContentEx, setContentEx2, setContentType, setDoubleContentAttribute, setFile, setFileEx, setFullText, setGroupName, setGroupPermit, setHidden, setIsVirtualDocument, setKeywords, setLinkResolved, setLogEntry, setObjectName, setOwnerName, setOwnerPermit, setPath, setResolutionLabel, setSpecialApp, setStatus, setStorageType, setStringContentAttribute, setSubject, setTimeContentAttribute, setTitle, setWorldPermit, suspend, unfreeze, unlink, unmark, updatePart, updatePartEx, useACL, verifyESignature
Methods inherited from interface com.documentum.fc.client.IDfTypedObject
appendBoolean, appendDouble, appendId, appendInt, appendString, appendTime, appendValue, dump, enumAttrs, findAttrIndex, findBoolean, findDouble, findId, findInt, findString, findTime, findValue, getAllRepeatingStrings, getAttr, getAttrCount, getAttrDataType, getBoolean, getDouble, getId, getInt, getLong, getObjectId, getObjectSession, getOriginalSession, getRepeatingBoolean, getRepeatingDouble, getRepeatingId, getRepeatingInt, getRepeatingLong, getRepeatingString, getRepeatingTime, getRepeatingValue, getSession, getSessionManager, getString, getTime, getValue, getValueAt, getValueCount, hasAttr, insertBoolean, insertDouble, insertId, insertInt, insertString, insertTime, insertValue, isAttrRepeating, isNull, remove, removeAll, setBoolean, setDouble, setId, setInt, setNull, setRepeatingBoolean, setRepeatingDouble, setRepeatingId, setRepeatingInt, setRepeatingString, setRepeatingTime, setRepeatingValue, setSessionManager, setString, setTime, setValue, truncate
-
Method Details
-
insertState
Insert a new state with the given index into this lifecycle. Increment the index for existing states with the index of the inserted state or higher. The inserted state is represented as set of correlated repeating attributes. This will initialize the state with the following default values which may be adjusted after this returns.- ActionObjectId(action_object_id) - DfId.DF_NULLID
- AllowAttach(allow_attach) - false
- AllowDemote(allow_demote) - false
- AllowSchedule(allow_schedule) - true
- EntryCriteriaId(entry_criteria_id) - DfId.DF_NULLID
- ExceptionState(exception_state) - Empty String
- ReturnCondition(return_condition) -
DfPolicyStateReturnCondition.ALL
- ReturnToBase(return_to_base) - false
- StateClass(state_class) -
DfPolicyStateReturnCondition.NORMAL
- StateDescription(state_description) - Empty String
- StateName(state_name) - Empty String
- StateNo(i_state_no) - Computed using an internal sequence number
- StateType(state_type) - Empty String
- SystemActions(system_actions) - DfId.DF_NULLID
- TypeOverrideId(type_override_id) - DfId.DF_NULLID
- UserActionId(user_action_id) - DfId.DF_NULLID
- UserActionService(user_action_service) - Empty String
- UserActionVer(user_action_ver) - Empty String
- UserCriteriaId(user_criteria_id) - DfId.DF_NULLID
- UserCriteriaService(user_criteria_service) - Empty String
- UserCriteriaVer(user_criteria_ver) - Empty String
- UserPostprocId(user_postproc_id) - DfId.DF_NULLID
- UserPostprocVer(user_postproc_ver) - Empty String
- UserPostprocessingService(user_postprocessing_service) - Empty String
- Parameters:
index
- index for this states repeating values.- Throws:
DfException
- if an error occurs.
-
appendState
Append a new state to this lifecycle. Please refer toinsertState
for details about the inserted state.- Returns:
- the 0 based index of correlated attributes which represent the the appended state.
- Throws:
DfException
- if an error occurs.
-
removeState
Remove a state from this policy.- Parameters:
index
- the 0 based index of the correlated attributes which represent the removed state.- Throws:
DfException
- if an error occurs.
-
moveState
Move a state within this policy.- Parameters:
oldIndex
- the original 0 based index of the correlated attributes which represent the moved state.newIndex
- the new 0 based index of the correlated attributes which represent the moved state.- Throws:
DfException
- if an error occurs.
-
getExtensionObjectId
Return the IDfId of the extension object for the state indicated by the index proviced. This may return DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getAllIncludedTypes
Retun an IDfList that includes the complete list of types for objects that can be attached to this policy.- Throws:
DfException
-
validate
Validate this policy. Upon succesful completiongetDefinitionState
will return DfPolicy.VALIDATED_DEFINITION_STATE(1).- Throws:
DfException
-
install
Validate this policy. Upon succesful completiongetDefinitionState
will return DfPolicy.INSTALLED_DEFINITION_STATE(1).- Throws:
DfException
-
unInstall
Validate this policy. Upon succesful completiongetDefinitionState
will return DfPolicy.VALIDATED_DEFINITION_STATE(1).- Throws:
DfException
-
getIncludedType
Return the attribute included_type value at the specified index. This represents a type to which the policy applies.- Throws:
DfException
- if an error occurs.
-
getIncludedTypeCount
Return the number of attribute included_type values for this policy.- Throws:
DfException
- if a server error occurs.
-
setIncludedType
Set the attribute included_typename attribute at the specified index. Please refer togetIncludedType
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getIncludeSubtypes
Return the attribute include_subtypes value at the specified index. If this value is true, the policy applies to subtypes of the attribute included_type at this index.- Throws:
DfException
- if an error occurs.
-
getIncludeSubtypesCount
Return the number of attribute include_subtypes values for this policy.- Throws:
DfException
- if a server error occurs.
-
setIncludeSubtypes
Set the attribute include_subtypes value at the specified index. Please refer togetIncludeSubtypes
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getStateNo
Return the attribute i_state_no value at the specified index. The returned value is a system defined integer that uniquely identifies the state at the specified index in this policy.- Throws:
DfException
- if an error occurs.
-
getStateNoCount
Return the number of attribute i_state_no values for this policy.- Throws:
DfException
- if a server error occurs.
-
setStateNo
Set the attribute i_state_no value at the specified index. Please refer togetStateNo
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getStateName
Return the attribute state_name value at the specified index. The returned value is the name for the state at the specified index in this policy.- Throws:
DfException
- if an error occurs.
-
getStateIndex
Return the index of the attribute state_name value. The returned value is the index for the given state name in this policy.- Throws:
DfException
- if an error occurs.
-
getStateNameCount
Return the number of state_name values for this policy.- Throws:
DfException
- if a server error occurs.
-
setStateName
Set the attribute state_name value at the specified index. Please refer togetStateName
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getStateDescription
Return the attribute state_description value at the specified index. The state description is a string that describes the state.- Throws:
DfException
- if an error occurs.
-
getStateDescriptionCount
Return the number of attribute state_description values for this policy.- Throws:
DfException
- if a server error occurs.
-
setStateDescription
Set the attribute state_description value at the specified index. Please refer togetStateDescription
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getStateClass
Return the attribute state_class value at the specified index. The returned value is aDfPolicyStateClass
enumeration- Throws:
DfException
- if an error occurs.
-
getStateClassCount
Return the number of attribute state_class values for this policy.- Throws:
DfException
- if a server error occurs.
-
setStateClass
Set the attribute state_class at the specified index. Please refer togetStateClass
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getEntryCriteriaId
Return the attribute entry_criteria_id value at the specified index. The returned value is the ID of the dm_func_expr that implements the indicated state's entry criteria. The returned value can be DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getEntryCriteriaIdCount
Return the number of attribute entry_criteria_id values for this policy.- Throws:
DfException
- if a server error occurs.
-
getUserCriteriaId
Return the attribute user_criteria_id value at the specified index. The returned value is the ID of the dm_procedure which implements the indicated state's user defined entry criteria. The returned value can be DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getUserCriteriaIdCount
Return the number of attribute user_criteria_id values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserCriteriaId
Set the attribute user_criteria_id value at the specified index. Please refer togetUserCriteriaId
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserCriteriaVer
Return the attribute user_criteria_ver value at the specified index. The returned value is the version label for the dm_procedure which implements the indicated state's user-defined entry criteria. The returned value can be an empty string.- Throws:
DfException
- if an error occurs.
-
getUserCriteriaVerCount
Return the number of attribute user_criteria_ver values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserCriteriaVer
Set the attribute user_criteria_ver value at the specified index. Please refer togetUserCriteriaVer
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getActionObjectId
Return the attribute action_object_id value at the specified index. The returned value is the ID for the dm_procedure object which implements the indicated state's user actions. The returned value may be DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getActionObjectIdCount
Return the number of attribute action_object_id values for this policy.- Throws:
DfException
- if a server error occurs.
-
setActionObjectId
Set the attribute action_object_id value at the specified index. Please refer togetActionObjectId
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserActionId
Return the attribute user_action_id value at the specified index. The returned value is the ID for the dm_procedure object which implements the indicated state's user defined actions. The returned value may be DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getUserActionIdCount
Return the number of attribute user_action_id values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserActionId
Set the attribute user_action_id value at the specified index. Please refer togetUserActionId
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserActionVer
Return the attribute user_action_ver value at the specified index. The returned value is the version label for the dm_procedure which implements the indicated state's user defined defined actions. The returned value may be an empty string.- Throws:
DfException
- if an error occurs.
-
getUserActionVerCount
Return the number of attribute user_action_ver values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserActionVer
Set the attribute user_action_ver value at the specified index. Please refer togetUserActionVer
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserPostprocId
Return the attribute user_postproc_id value at the specified index. The returned value is the ID for the dm_procedure object which implements the indicated state's post entry logic. The returned value may be DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getUserPostprocIdCount
Return the number of attribute user_postproc_id values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserPostprocId
Set the attribute user_postproc_id value at the specified index. Please refer togetUserPostProcId
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserPostprocVer
Return the attribute user_postproc_ver value at the specified index. The returned value is the version label for the dm_procedure which implements the indicated state's post entry logic. The returned value may be an empty string.- Throws:
DfException
- if an error occurs.
-
getUserPostprocVerCount
Return the number of attribute user_postproc_ver values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserPostprocVer
Set the attribute user_postproc_ver at the specified index. Please refer togetUserPostProcVer
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getExceptionState
Return the attribute exception_state value at the specified index. The returned value is the state_name for the indicated state's exception state. The returned value may be an empty string.- Throws:
DfException
- if an error occurs.
-
getExceptionStateCount
Return the number of attribute exception_state values for this policy.- Throws:
DfException
- if a server error occurs.
-
setExceptionState
Set the attribute exception_state value at the specified index. Please refer togetExceptionState
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getAllowAttach
Return the attribute allow_attach value at the specified index. The returned value istrue
if IDfSysobject.attach can be used to attach a policy to this policy in the indicated state.- Throws:
DfException
- if an error occurs.
-
getAllowAttachCount
Return the number of attribute allow_attach values for this policy.- Throws:
DfException
- if a server error occurs.
-
setAllowAttach
Set the attribute allow_attach value at the specified index. Please refer togetAllowAttach
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getAllowSchedule
Return the attribute allow_schedule value at the specified index. The returned value istrue
if schedule state transitions are allowed for a sysobject in the indicated state.- Throws:
DfException
- if an error occurs.
-
getAllowScheduleCount
Return the number of attribute allow_schedule values for this policy.- Throws:
DfException
- if a server error occurs.
-
setAllowSchedule
Set the attribute allow_schedule value at the specified index. Please refer togetAllowSchedule
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getReturnToBase
Return the attribute return_to_base value at the specified index. The returned value istrue
if operations indictated by the return_condition value for this states index cause an attached sysobject to return to the base state.- Throws:
DfException
- if an error occurs.
-
getReturnToBaseCount
Return the number of attribute return_to_base values for this policy.- Throws:
DfException
- if a server error occurs.
-
setReturnToBase
Set the attribute return_to_base value at the specified index. Please refer togetReturnToBase
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getTypeOverrideId
Return the attribute type_override_id value at the specified index. The returned value is the ID of the dm_aggr_domain object for the indicated state. The returned value may be DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getTypeOverrideIdCount
Return the number of attribute type_override_id values for this policy.- Throws:
DfException
- if a server error occurs.
-
setTypeOverrideId
Set the attribute type_override_id value at the specified index. Please refer togetTypeOverrideId
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getAllowDemote
Return the attribute allow_demote value at the specified index. The returned value istrue
if demote operations are allowed for a sysobject in the indicated state.- Throws:
DfException
- if an error occurs.
-
getAllowDemoteCount
Return the number of attribute allow_demote values for this policy.- Throws:
DfException
- if a server error occurs.
-
setAllowDemote
Set the attribute allow_demote value at the specified index. Please refer togetAllowDemote
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getAliasSetIds
Return the alias_set_ids value at the specified index. The returned value is an allowed alias set for this policy.- Throws:
DfException
- if an error occurs.
-
getAliasSetIdsCount
Return the number of attribute allias_set_ids values for this policy.- Throws:
DfException
- if a server error occurs.
-
setAliasSetIds
Set the attribute allias_set_ids value at the specified index. Please refer togetAlisaSetIds
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getReturnCondition
Return the attribute return_condition value at the specified index. Please refer toDfPolicyStateReturnCondition
for an explanation of the return value.- Throws:
DfException
- if an error occurs.
-
getReturnConditionCount
Return the number of attribute return_condition values for this policy.- Throws:
DfException
- if a server error occurs.
-
setReturnCondition
Set the attribute return_condition value at the specified index. Please refer togetReturnCondition
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getStateType
Return the attribute state_type value at the specified index. The returned value is a user supplied string to catagorize the indicated state. The returned value can be an empty string.- Throws:
DfException
- if an error occurs.
-
getStateTypeCount
Return the number of attribute state_type values for this policy.- Throws:
DfException
- if a server error occurs.
-
setStateType
Set the attribute state_type value at the specified index. Please refer togetStateType
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getExtensionType
Return the attribute extension_type value. The returned value is the name of the type for extension_type for this policy. The returned value can be an empty string.- Throws:
DfException
- if an error occurs.
-
setExtensionType
Set the attribute extension_type value for this policy. Please refer togetExtensionType
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getAppValidationId
Return the attribute app_validation_id value for this policy. The returned value is the ID of a dm_procedure for validating this policy or DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
setAppValidationId
Set the attribute app_validation_id value for this policy. Please refer togetAppValidationId
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getAppValidationVer
Return the attribute app_validation_ver value for this policy. The returned value is the version label for the dm_procedure that validates this policy or an empty string.- Throws:
DfException
- if an error occurs.
-
setAppValidationVer
Set the attribute app_validation_ver value for this policy. Please refer togetAppValidationVer
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getJavaMethods
Return the attribute java_methods value. The returned value is true if the policy's entry criteria, actions, and validation methods are implemented in Java.- Throws:
DfException
- if an error occurs.
-
setJavaMethods
Set the attribute java_methods value for this policy. Please refer togetJavaMethods
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserCriteriaService
Return the attribute user_criteria_service value at the specified index. The returned value is the service name of the SBO implementing the indicated state's entry criteria.- Throws:
DfException
- if an error occurs.
-
getUserCriteriaServiceCount
Return the number of attribute user_criteria_service values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserCriteriaService
Set the attribute user_criteria_service value at the specified index. Please refer togetUserCriteriaService
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserActionService
Return the attribute user_action_service value at the specified index. The returned value is the service name of the SBO implementing the indicated state's actions.- Throws:
DfException
- if an error occurs.
-
getUserActionServiceCount
Return the number of user_action_service values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserActionService
Set the attribute user_action_service value at the specified index. Please refer togetUserActionService
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserPostprocessingService
Return the attribute user_post_processing_service value at the specified index. The returned value is the service name of the SBO implementing the indicated state's post processing actions.- Throws:
DfException
- if an error occurs.
-
getUserPostprocessingServiceCount
Return the number of attribute user_post_processing_service values for this policy.- Throws:
DfException
- if a server error occurs.
-
setUserPostprocessingService
Set the attribute user_post_processing_service value at the specified index. Please refer togetUserPostProcessingService
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getUserValidationService
Return the attribute user_validation_service value for this policy. The returned value is the service name of the SBO implementing user validation for the policy. DfId.NULL_ID may be returned.- Throws:
DfException
- if an error occurs.
-
setUserValidationService
Set the attribute user_validation_service value for this policy. Please refer togetUserValidationService
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getSystemActions
Return the attribute system_actions value at the specified index. The returned value is the ID of tcf activity object describing a sequence of actions through SBOs implementing the IDfLifecycleAction interface for the indicated state. The returned value may be DfId.NULL_ID.- Throws:
DfException
- if an error occurs.
-
getSystemActionsCount
Return the number of attribute system_actions values for this policy.- Throws:
DfException
- if a server error occurs.
-
setSystemActions
Set the attribute system_actions value at the specified index. Please refer togetSystemActions
for a description of the attribute.- Throws:
DfException
- if an error occurs.
-
getDefinitionState
Return the attribute r_definition_state value. The returned value for this policy. will be anDfPolicyDefinitionState
- Throws:
DfException
- if an error occurs.
-
newStateExtension
Create and initialize an IDfStateExtension for the specified state. The returned object's repository type will match the type returned by getExtensionType. It is an error to call this function before calling setExtensionType to set the extension type for this policy. The returned state extension will have its parentId, childId, relationName and stateNo attributes set.- Parameters:
stateNo
- the state number (@link #getStateNo(int) getStateNo) for the returned extension object. It is an error to pass in a value that does not correspond to a state of this policy.- Throws:
DfException
-
getStateExtension
Return the IDfStateExtension for the specified state or null if one does not exist.- Throws:
DfException
-
setEntryCriteria
Set the entry criteria for the state with the given index. At save time, the server generates a dm_func_expr object for the expression and saves its ID in the entry_criteria_id attribute. After a save, this value is reset. To delete an existing dm_func_expr object for an entry criteria for a state provided, set the value to null.- Throws:
DfException
-
getEntryCriteria
Get the entry criteria specified by the client for the server to generate a dm_func_expr object and save its ID in the entry_criteria_id attribute for the state with the given index. After a save, this value is reset.- Throws:
DfException
-