Package org.kuali.rice.kew.doctype.bo
Class DocumentType
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kew.doctype.bo.DocumentType
- All Implemented Interfaces:
Serializable,Cloneable,org.apache.ojb.broker.PersistenceBrokerAware,org.eclipse.persistence.descriptors.changetracking.ChangeTracker,org.eclipse.persistence.internal.descriptors.PersistenceEntity,org.eclipse.persistence.internal.descriptors.PersistenceObject,org.eclipse.persistence.internal.weaving.PersistenceWeaved,org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking,org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups,org.eclipse.persistence.internal.weaving.PersistenceWeavedRest,org.eclipse.persistence.queries.FetchGroupTracker,org.kuali.rice.core.api.mo.common.active.Inactivatable,org.kuali.rice.core.api.mo.common.active.MutableInactivatable,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Identifiable,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.kew.api.doctype.DocumentTypeContract,DocumentTypeEBO,org.kuali.rice.krad.bo.BusinessObject,org.kuali.rice.krad.bo.ExternalizableBusinessObject,org.kuali.rice.krad.bo.PersistableBusinessObject
@Entity
public class DocumentType
extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
implements org.kuali.rice.core.api.mo.common.active.MutableInactivatable, DocumentTypeEBO, org.kuali.rice.kew.api.doctype.DocumentTypeContract
Model bean mapped to ojb representing a document type. Provides component lookup behavior that
can construct
ObjectDefinition objects correctly to account for application id inheritance.
Can also navigate parent hierarchy when getting data/components.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, newCollectionRecord, objectId, versionNumberFields inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
_persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProcess(ProcessDefinitionBo process) This method returns a boolean denoting if both the KEW Route Status and the Application Document Status are to be used in displays.static DocumentTypefrom(org.kuali.rice.kew.api.doctype.DocumentTypeContract dt) Returns the ALLOW_SU_FINAL_APPROVAL policy on the document if defined, or the default value for this policy which is true.Returns the application id for this DocumentType which can be specified on the document type itself, inherited from the parent, or defaulted to the configured application id of the application.protected StringgetApplicationId(boolean forDisplayPurposes) This method gets the string for the application id value.Get the application document status categories for this document typeorg.kuali.rice.core.api.reflect.ObjectDefinitiongetAttributeObjectDefinition(String typeCode) org.kuali.rice.core.api.reflect.ObjectDefinitiongetAttributeObjectDefinition(RuleAttribute ruleAttribute) org.kuali.rice.kim.api.group.Grouporg.kuali.rice.kim.api.group.GroupReturns the RuleAttribute for the action list attribute for this DocumentType.Gets the name of the custom email stylesheet to use to render email (if any has been set, null otherwise)org.kuali.rice.kim.api.group.GroupReturns the same value as thegetApplicationId()method but will also have label information about where the application id came from (ie: inherited from the parent document type)Returns the same value as thegetNotificationFromAddress()method but will also have label information if the value is inherited from a parent document typeReturns the same value as thegetUnresolvedInheritedDocHandlerUrl(boolean)method but will also have label information about whether the value returned came from this object or the parent document type associated with this objectThis method gets the doc search help url from this object and resolves any potential variables that may be in useReturns the DOC_SEARCH_TARGET policy on the document if definedThis method returns a DocumentTypePolicy object related to the DocumentStatusPolicy defined for this document type.getDocumentTypeAttribute(int index) getDocumentTypeAttributes(String... attributeTypes) This method gets the help definition url from this object and resolves any potential variables that may be in usegetId()protected StringgetInheritedPostProcessorName(boolean forDisplayPurposes) This method gets the post processor class value.getLabel()this exists because the lookup wants to make a call on a bean method when displaying results and those calls are entered programatically into the framework by method name.getName()getNamedProcess(String name) protected StringgetNotificationFromAddress(boolean forDisplayPurposes) This method gets the notification from address value.org.kuali.rice.core.api.reflect.ObjectDefinitiongetObjectDefinition(String objectName) getPolicyByName(String policyName, Boolean defaultValue) Returns the policy value of the specified policy, consulting parent document type definitions if not defined on the immediate DocumentType.getPolicyByName(String policyName, String defaultValue) Returns the policy value of the specified policy, consulting parent document type definitions if not defined on the immediate DocumentType.org.kuali.rice.kew.framework.postprocessor.PostProcessorGets the processes of this document by checking locally for processes, and if none are present, retrieves them from it's parent document type.Returns the RECALL_NOTIFICATION policy on the document if defined, or the default value for this policy which is true.org.kuali.rice.kim.api.group.GroupThis method gets the document handler url from this object or from a parent document type and resolves any potential variables that may be in useReturns the DocumentType which defines the route for this document.org.kuali.rice.kim.api.group.Grouporg.kuali.rice.kim.api.group.GroupThis method returns a DocumentTypePolicy object related to the DocumentStatusPolicy defined for this document type.Returns the SUPPRESS_IMMEDIATE_EMAILS_ON_SU_ACTION policy on the document if defined, or the default value for this policy which is false.protected StringgetUnresolvedInheritedDocHandlerUrl(boolean forDisplayPurposes) This method retrieves the unresolved document handler URL either from this object or from a parent document type object.booleanbooleanbooleanisActive()In order to make this object Inactivateable.This method returns a boolean denoting whether the Application Document Status is to be used for this document type.booleanReturns true if either a blanket approve group or blanket approve policy is defined on this Document Type.booleanisBlanketApprover(String principalId) booleanbooleanThis method returns a boolean denoting whether the KEW Route Status is to be displayed.booleanisParentOf(DocumentType documentType) booleanisPolicyDefined(org.kuali.rice.kew.api.doctype.DocumentTypePolicy policyToCheck) booleanReturns true if this document type defines it's own routing, false if it inherits its routing from a parent document type.booleanisSuperUser(String principalId) booleanReturns true if this DocumentType has a super user group defined.List<DocumentType.ExtensionHolder<org.kuali.rice.kew.framework.document.attribute.SearchableAttribute>> voidpopulateDataDictionaryEditableFields(Set<String> propertyNamesEditableViaUI, DocumentType dataDictionaryEditedType) voidrefresh()protected StringresolveDocHandlerUrl(String docHandlerUrl) If the doc handler URL has variables in it that need to be replaced, this will look up the values for those variables and replace them in the doc handler URL.protected StringresolveHelpUrl(String helpDefinitionUrl) If a help URL has variables in it that need to be replaced, this will look up the values for those variables and replace them.voidsetActionsUrl(String actions) voidsetActive(boolean active) voidvoidsetActualApplicationId(String actualApplicationId) voidsetActualNotificationFromAddress(String actualNotificationFromAddress) voidsetApplicationStatusCategories(List<ApplicationDocumentStatusCategory> applicationStatusCategories) Set the application document status categories for this document typevoidsetApplyRetroactively(Boolean applyRetroactively) voidsetAuthorizer(String authorizer) voidsetBlanketApprovePolicy(String blanketApprovePolicy) voidsetBlanketApproveWorkgroup(org.kuali.rice.kim.api.group.Group blanketApproveWorkgroup) voidsetBlanketApproveWorkgroupId(String blanketApproveWorkgroupId) voidsetCurrentInd(Boolean currentInd) voidsetCustomEmailStylesheet(String customEmailStylesheet) Sets the name of the custom email stylesheet to use to render emailvoidsetDefaultExceptionWorkgroup(org.kuali.rice.kim.api.group.Group defaultExceptionWorkgroup) voidsetDescription(String description) voidsetDisplayableNotificationFromAddress(String displayableNotificationFromAddress) Deprecated.voidsetDisplayablePostProcessorName(String displayablePostProcessorName) Deprecated.voidsetDisplayableUnresolvedDocHandlerUrl(String displayableUnresolvedDocHandlerUrl) Deprecated.voidsetDocHandlerUrl(String docHandlerUrl) Deprecated.voidsetDocTypeParentId(String docTypeParentId) voidsetDocumentId(String documentId) voidsetDocumentTypeAttribute(int index, DocumentTypeAttributeBo documentTypeAttribute) voidsetDocumentTypeAttributes(List<DocumentTypeAttributeBo> documentTypeAttributes) voidsetDocumentTypeId(String docTypeGrpId) voidsetDocumentTypePolicies(Collection<DocumentTypePolicy> policies) voidsetDocumentTypeSecurityXml(String documentTypeSecurityXml) voidvoidvoidsetNotificationFromAddress(String notificationFromAddress) Deprecated.voidsetPostProcessorName(String postProcessorName) voidsetPreviousVersionId(String previousVersionId) voidsetProcesses(List routeNodes) voidsetReportingWorkgroup(org.kuali.rice.kim.api.group.Group reportingWorkgroup) voidsetReportingWorkgroupId(String reportingWorkgroupId) voidsetReturnUrl(String returnUrl) voidsetRoutingVersion(String routingVersion) voidsetSuperUserWorkgroupIdNoInheritence(String suWorkgroupId) Set the immediate super user workgroup id fieldvoidsetSuperUserWorkgroupNoInheritence(org.kuali.rice.kim.api.group.Group suWorkgroup) voidsetUnresolvedDocHandlerUrl(String unresolvedDocHandlerUrl) voidsetUnresolvedDocSearchHelpUrl(String unresolvedDocSearchHelpUrl) voidsetUnresolvedHelpDefinitionUrl(String unresolvedHelpDefinitionUrl) voidsetValidApplicationStatuses(List<ApplicationDocumentStatus> validApplicationStatuses) voidsetVersion(Integer version) voidsetWorkgroupId(String workgroupId) static org.kuali.rice.kew.api.doctype.DocumentTypeto(DocumentType documentTypeBo) Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
_persistence_get, _persistence_get_objectId, _persistence_get_versionNumber, _persistence_new, _persistence_post_clone, _persistence_set, _persistence_set_objectId, _persistence_set_versionNumber, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberMethods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getLinks, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setLinks, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectIdMethods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toStringMethods inherited from interface org.eclipse.persistence.internal.descriptors.PersistenceObject
_persistence_shallow_cloneMethods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
-
Constructor Details
-
DocumentType
public DocumentType()
-
-
Method Details
-
populateDataDictionaryEditableFields
public void populateDataDictionaryEditableFields(Set<String> propertyNamesEditableViaUI, DocumentType dataDictionaryEditedType) -
getAllowUnrequestedActionPolicy
-
getDefaultApprovePolicy
-
getUseWorkflowSuperUserDocHandlerUrl
-
getInitiatorMustRoutePolicy
-
getInitiatorMustSavePolicy
-
getInitiatorMustCancelPolicy
-
getInitiatorMustBlanketApprovePolicy
-
getLookIntoFuturePolicy
-
getSuperUserApproveNotificationPolicy
-
getSupportsQuickInitiatePolicy
-
getNotifyOnSavePolicy
-
getDocumentStatusPolicy
This method returns a DocumentTypePolicy object related to the DocumentStatusPolicy defined for this document type. -
getSuPostprocessorOverridePolicy
This method returns a DocumentTypePolicy object related to the DocumentStatusPolicy defined for this document type. -
getFailOnInactiveGroup
-
getEnrouteErrorSuppression
-
getRegenerateActionRequestsOnChange
-
getRecallNotification
Returns the RECALL_NOTIFICATION policy on the document if defined, or the default value for this policy which is true.- Returns:
- the RECALL_NOTIFICATION document type policy
- Since:
- 2.1
-
getSuppressImmediateEmailsOnSuActionPolicy
Returns the SUPPRESS_IMMEDIATE_EMAILS_ON_SU_ACTION policy on the document if defined, or the default value for this policy which is false.- Returns:
- the SUPPRESS_IMMEDIATE_EMAILS_ON_SU_ACTION document type policy
- Since:
- 2.1.3
-
getAllowSuperUserFinalApprovalPolicy
Returns the ALLOW_SU_FINAL_APPROVAL policy on the document if defined, or the default value for this policy which is true.- Returns:
- the ALLOW_SU_FINAL_APPROVAL document type policy
- Since:
- 2.1.3
-
getDocSearchTarget
Returns the DOC_SEARCH_TARGET policy on the document if defined- Returns:
- the DOC_SEARCH_TARGET document type policy
- Since:
- 2.5.0
-
isKEWStatusInUse
This method returns a boolean denoting whether the KEW Route Status is to be displayed. The KEW Route Status is updated by the workflow engine regardless of whether it is to be displayed or not.- Returns:
- true - if the status is to be displayed (Policy is set to either use KEW (default) or both) false - if the KEW Route Status is not to be displayed
-
isAppDocStatusInUse
This method returns a boolean denoting whether the Application Document Status is to be used for this document type.- Returns:
- true - if the status is to be displayed (Policy is set to either use the application document status or both) false - if only the KEW Route Status is to be displayed (default)
-
areBothStatusesInUse
This method returns a boolean denoting if both the KEW Route Status and the Application Document Status are to be used in displays.- Returns:
- true - if both the KEW Route Status and Application Document Status are to be displayed. false - if only one status is to be displayed.
-
getUseWorkflowSuperUserDocHandlerUrlValue
-
getAllowUnrequestedActionPolicyDisplayValue
-
getDefaultApprovePolicyDisplayValue
-
getInitiatorMustRouteDisplayValue
-
getInitiatorMustSaveDisplayValue
-
isPolicyDefined
public boolean isPolicyDefined(org.kuali.rice.kew.api.doctype.DocumentTypePolicy policyToCheck) -
getDocumentTypeAttributes
-
hasSearchableAttributes
public boolean hasSearchableAttributes() -
getSearchableAttributes
-
getCustomizerAttribute
-
getCustomActionListRuleAttribute
Returns the RuleAttribute for the action list attribute for this DocumentType. Walks the document type hierarchy if none exists directly on this DocumentType.- Returns:
- The RuleAttribute. May be null.
-
loadSearchableAttributes
public List<DocumentType.ExtensionHolder<org.kuali.rice.kew.framework.document.attribute.SearchableAttribute>> loadSearchableAttributes() -
getDocumentTypeAttribute
-
setDocumentTypeAttribute
-
getDocTypeActiveIndicatorDisplayValue
-
getChildrenDocTypes
-
getDocTypeParentId
- Specified by:
getDocTypeParentIdin interfaceDocumentTypeEBO
-
setDocTypeParentId
-
getParentDocType
-
getDocumentTypePolicies
-
setDocumentTypePolicies
-
getPolicies
- Specified by:
getPoliciesin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
getValidApplicationStatuses
-
setValidApplicationStatuses
-
getApplicationStatusCategories
Get the application document status categories for this document type- Returns:
- the application document status categories for this document type
- See Also:
-
setApplicationStatusCategories
public void setApplicationStatusCategories(List<ApplicationDocumentStatusCategory> applicationStatusCategories) Set the application document status categories for this document type -
getDocumentTypeSecurityXml
-
setDocumentTypeSecurityXml
-
getDocumentTypeSecurity
-
getActionsUrl
-
setActionsUrl
-
getActive
-
setActive
-
getCurrentInd
-
isCurrent
public boolean isCurrent()- Specified by:
isCurrentin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
setCurrentInd
-
getDescription
- Specified by:
getDescriptionin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract- Specified by:
getDescriptionin interfaceDocumentTypeEBO
-
setDescription
-
getResolvedDocumentHandlerUrl
This method gets the document handler url from this object or from a parent document type and resolves any potential variables that may be in use- Specified by:
getResolvedDocumentHandlerUrlin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
getUnresolvedInheritedDocHandlerUrl
This method retrieves the unresolved document handler URL either from this object or from a parent document type object. If the forDisplayPurposes value is true the value returned will be invalid for system use. This method will first call thegetUnresolvedDocHandlerUrl()method to check for a value on this object. If none is found a parent document type must exist because the document handler URL is required and is used. The system will use inheritance to find the document handler url from a document type somewhere in the hierarchy.- Parameters:
forDisplayPurposes- - if true then the string returned will have a label explaining where the value came from- Returns:
- the unresolved document handler URL value or a displayable value with sourcing information
-
getDisplayableUnresolvedDocHandlerUrl
Returns the same value as thegetUnresolvedInheritedDocHandlerUrl(boolean)method but will also have label information about whether the value returned came from this object or the parent document type associated with this object -
setDisplayableUnresolvedDocHandlerUrl
@Deprecated public void setDisplayableUnresolvedDocHandlerUrl(String displayableUnresolvedDocHandlerUrl) Deprecated.EMPTY METHOD. UsesetUnresolvedDocHandlerUrl(String)instead. -
getUnresolvedDocHandlerUrl
- Specified by:
getUnresolvedDocHandlerUrlin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract- Returns:
- the unresolvedDocHandlerUrl
-
setUnresolvedDocHandlerUrl
- Parameters:
unresolvedDocHandlerUrl- the unresolvedDocHandlerUrl to set
-
resolveDocHandlerUrl
If the doc handler URL has variables in it that need to be replaced, this will look up the values for those variables and replace them in the doc handler URL. -
setDocHandlerUrl
Deprecated.UsesetUnresolvedDocHandlerUrl(String)to add a document handler url to this object. -
getUnresolvedHelpDefinitionUrl
- Returns:
- the unresolvedHelpDefinitionUrl
-
setUnresolvedHelpDefinitionUrl
- Parameters:
unresolvedHelpDefinitionUrl- the unresolvedHelpDefinitionUrl to set
-
getHelpDefinitionUrl
This method gets the help definition url from this object and resolves any potential variables that may be in use- Specified by:
getHelpDefinitionUrlin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract- Specified by:
getHelpDefinitionUrlin interfaceDocumentTypeEBO
-
resolveHelpUrl
If a help URL has variables in it that need to be replaced, this will look up the values for those variables and replace them. -
getUnresolvedDocSearchHelpUrl
- Returns:
- the unresolvedDocSearchHelpUrl
-
setUnresolvedDocSearchHelpUrl
- Parameters:
unresolvedDocSearchHelpUrl- the unresolvedDocSearchHelpUrl to set
-
getDocSearchHelpUrl
This method gets the doc search help url from this object and resolves any potential variables that may be in use- Specified by:
getDocSearchHelpUrlin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
getLabel
- Specified by:
getLabelin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract- Specified by:
getLabelin interfaceDocumentTypeEBO
-
setLabel
-
getName
- Specified by:
getNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract- Specified by:
getNamein interfaceDocumentTypeEBO
-
setName
-
getPostProcessor
public org.kuali.rice.kew.framework.postprocessor.PostProcessor getPostProcessor() -
getInheritedPostProcessorName
This method gets the post processor class value. If the forDisplayPurposes value is true the value will be invalid for system use. This method will first call thegetPostProcessorName()method to check the value on this object. If none is found the system checks for a parent document type. If a valid parent type exists for this document type then the system will use inheritance from that parent document type as long as at least one document type in the hierarchy has a value set. If no value is set on any parent document type or if no parent document type exists the system will return null.- Parameters:
forDisplayPurposes- - if true then the string returned will have a label explaining where the value came from- Returns:
- the post processor class value or a displayable value with sourcing information
-
getPostProcessorName
- Specified by:
getPostProcessorNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
setPostProcessorName
-
getDisplayablePostProcessorName
-
setDisplayablePostProcessorName
Deprecated.EMPTY METHOD. UsesetPostProcessorName(String)instead. -
getPreviousVersionId
-
setPreviousVersionId
-
getDocumentId
-
setDocumentId
-
getVersion
-
setVersion
-
getDocumentTypeId
- Specified by:
getDocumentTypeIdin interfaceDocumentTypeEBO
-
setDocumentTypeId
-
getId
- Specified by:
getIdin interfaceorg.kuali.rice.core.api.mo.common.Identifiable
-
getReturnUrl
-
setReturnUrl
-
getPolicyByName
Returns the policy value of the specified policy, consulting parent document type definitions if not defined on the immediate DocumentType. If not found, a policy with the specified default value is returned. If policy is found on parent but boolean value is undefined, TRUE is used.- Parameters:
policyName- the policy name to look updefaultValue- the default boolean value to return if policy is not found- Returns:
- DocumenTypePolicy defined on immediate or parent document types, or new instance initialized with specified default boolean value
-
getPolicyByName
Returns the policy value of the specified policy, consulting parent document type definitions if not defined on the immediate DocumentType. If not found, a policy with a boolean value of True and a string value of the specified default value is returned. If policy is found on parent but boolean value is undefined, TRUE is used.- Parameters:
policyName- the policy name to look updefaultValue- the default string value to return if policy is not found- Returns:
- DocumenTypePolicy defined on immediate or parent document types, or new instance initialized with specified default string value
-
getSuperUserWorkgroup
public org.kuali.rice.kim.api.group.Group getSuperUserWorkgroup() -
getSuperUserWorkgroupNoInheritence
public org.kuali.rice.kim.api.group.Group getSuperUserWorkgroupNoInheritence() -
setSuperUserWorkgroupNoInheritence
public void setSuperUserWorkgroupNoInheritence(org.kuali.rice.kim.api.group.Group suWorkgroup) -
setSuperUserWorkgroupIdNoInheritence
Set the immediate super user workgroup id field- Parameters:
suWorkgroupId- the super user workgroup id
-
isSuperUserGroupDefined
public boolean isSuperUserGroupDefined()Returns true if this DocumentType has a super user group defined. -
getPreviousVersion
-
getBlanketApproveWorkgroup
public org.kuali.rice.kim.api.group.Group getBlanketApproveWorkgroup() -
setBlanketApproveWorkgroup
public void setBlanketApproveWorkgroup(org.kuali.rice.kim.api.group.Group blanketApproveWorkgroup) -
getBlanketApprovePolicy
-
setBlanketApprovePolicy
-
getBlanketApproveWorkgroupWithInheritance
public org.kuali.rice.kim.api.group.Group getBlanketApproveWorkgroupWithInheritance() -
isBlanketApprover
-
isBlanketApproveGroupDefined
public boolean isBlanketApproveGroupDefined()Returns true if either a blanket approve group or blanket approve policy is defined on this Document Type. -
getReportingWorkgroupId
-
setReportingWorkgroupId
-
getReportingWorkgroup
public org.kuali.rice.kim.api.group.Group getReportingWorkgroup() -
setReportingWorkgroup
public void setReportingWorkgroup(org.kuali.rice.kim.api.group.Group reportingWorkgroup) -
getDefaultExceptionWorkgroup
public org.kuali.rice.kim.api.group.Group getDefaultExceptionWorkgroup() -
setDefaultExceptionWorkgroup
public void setDefaultExceptionWorkgroup(org.kuali.rice.kim.api.group.Group defaultExceptionWorkgroup) -
getCustomActionListAttribute
-
getCustomEmailAttribute
-
getAttributeObjectDefinition
public org.kuali.rice.core.api.reflect.ObjectDefinition getAttributeObjectDefinition(String typeCode) -
getAttributeObjectDefinition
public org.kuali.rice.core.api.reflect.ObjectDefinition getAttributeObjectDefinition(RuleAttribute ruleAttribute) -
getCustomNoteAttribute
-
getObjectDefinition
-
isRouteInherited
public boolean isRouteInherited()Returns true if this document type defines it's own routing, false if it inherits its routing from a parent document type. -
getRouteDefiningDocumentType
Returns the DocumentType which defines the route for this document. This is the DocumentType from which we inherit our Processes which define our routing. -
isDocTypeActive
public boolean isDocTypeActive() -
setDocumentTypeAttributes
-
getDocumentTypeAttributes
- Specified by:
getDocumentTypeAttributesin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
addProcess
-
getProcesses
Gets the processes of this document by checking locally for processes, and if none are present, retrieves them from it's parent document type. The list returned is an immutable list. To add processes to a document type, use the addProcess method. NOTE: Since OJB uses direct field access, this will not interfere with the proper mapping of the processes field. -
setProcesses
-
getPrimaryProcess
-
getNamedProcess
-
getRoutingVersion
-
setRoutingVersion
-
getActualNotificationFromAddress
-
setActualNotificationFromAddress
-
getDisplayableNotificationFromAddress
Returns the same value as thegetNotificationFromAddress()method but will also have label information if the value is inherited from a parent document type -
setDisplayableNotificationFromAddress
@Deprecated public void setDisplayableNotificationFromAddress(String displayableNotificationFromAddress) Deprecated.EMPTY METHOD. UsesetActualNotificationFromAddress(String)instead. -
getNotificationFromAddress
-
getNotificationFromAddress
This method gets the notification from address value. If the forDisplayPurposes value is true the notification from address value will be invalid for system use This method will first call thegetActualNotificationFromAddress()method to check the value on this object. If none is found the system checks for a parent document type. If a valid parent type exists for this document type then the system will use inheritance from that parent document type as long as at least one document type in the hierarchy has a value set. If no value is set on any parent document type or if no parent document type exists the system will return null- Parameters:
forDisplayPurposes- - if true then the string returned will have a label explaining where the value came from- Returns:
- the notification from address value or a displayable value with sourcing information
-
setNotificationFromAddress
Deprecated.UsesetActualNotificationFromAddress(String)instead -
isParentOf
-
getLookupParentName
this exists because the lookup wants to make a call on a bean method when displaying results and those calls are entered programatically into the framework by method name. -
isSuperUser
-
hasPreviousVersion
public boolean hasPreviousVersion() -
getActualApplicationId
-
setActualApplicationId
-
getApplicationId
Returns the application id for this DocumentType which can be specified on the document type itself, inherited from the parent, or defaulted to the configured application id of the application.- Specified by:
getApplicationIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract- Specified by:
getApplicationIdin interfaceDocumentTypeEBO
-
getApplicationId
This method gets the string for the application id value. If the forDisplayPurposes value is true the application id value will be invalid for system use. This method will first call thegetActualApplicationId()method to check for a value on this object. If none is found a parent document type is used. If a valid parent type exists for this document type then the system will use inheritance from that parent document type as long as at least one document type in the hierarchy has a value set. If no value is set on any parent document type or if no parent document type exists for this object the system default is used:CoreConfigHelper.getApplicationId()- Parameters:
forDisplayPurposes- - if true then the string returned will have a label explaining where the value came from- Returns:
- the application id value or a displayable value with sourcing information
-
getDisplayableApplicationId
Returns the same value as thegetApplicationId()method but will also have label information about where the application id came from (ie: inherited from the parent document type) -
getCustomEmailStylesheet
Gets the name of the custom email stylesheet to use to render email (if any has been set, null otherwise)- Returns:
- name of the custom email stylesheet to use to render email (if any has been set, null otherwise)
-
setCustomEmailStylesheet
Sets the name of the custom email stylesheet to use to render email- Parameters:
customEmailStylesheet- name of the custom email stylesheet to use to render email
-
getBlanketApproveWorkgroupId
-
setBlanketApproveWorkgroupId
-
getApplyRetroactively
-
setApplyRetroactively
-
isActive
public boolean isActive()Description copied from interface:DocumentTypeEBOIn order to make this object Inactivateable. Not sure if I should remove the getActive method.- Specified by:
isActivein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract- Specified by:
isActivein interfaceDocumentTypeEBO- Specified by:
isActivein interfaceorg.kuali.rice.core.api.mo.common.active.Inactivatable- See Also:
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceorg.kuali.rice.core.api.mo.common.active.MutableInactivatable
-
getDocumentTypeVersion
- Specified by:
getDocumentTypeVersionin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
getParentId
- Specified by:
getParentIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
getBlanketApproveGroupId
- Specified by:
getBlanketApproveGroupIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
getSuperUserGroupId
- Specified by:
getSuperUserGroupIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
getAuthorizer
- Specified by:
getAuthorizerin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeContract
-
setAuthorizer
-
to
-
from
-
getWorkgroupId
-
setWorkgroupId
-
refresh
public void refresh()- Specified by:
refreshin interfaceorg.kuali.rice.krad.bo.BusinessObject- Overrides:
refreshin classorg.kuali.rice.krad.bo.PersistableBusinessObjectBase
-