@Entity public class DocumentType extends PersistableBusinessObjectBase implements MutableInactivatable, DocumentTypeEBO, DocumentTypeContract
ObjectDefinition objects correctly to account for application id inheritance.
Can also navigate parent hierarchy when getting data/components.| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentType.ExtensionHolder<T> |
extension, newCollectionRecord, objectId, versionNumber_persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup| Constructor and Description |
|---|
DocumentType() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProcess(ProcessDefinitionBo process) |
Boolean |
areBothStatusesInUse()
This method returns a boolean denoting if both the KEW Route Status and the Application Document Status
are to be used in displays.
|
static DocumentType |
from(DocumentTypeContract dt) |
String |
getActionsUrl() |
Boolean |
getActive() |
String |
getActualApplicationId() |
String |
getActualNotificationFromAddress() |
DocumentTypePolicy |
getAllowSuperUserFinalApprovalPolicy()
Returns the ALLOW_SU_FINAL_APPROVAL policy on the document if defined, or
the default value for this policy which is true.
|
DocumentTypePolicy |
getAllowUnrequestedActionPolicy() |
String |
getAllowUnrequestedActionPolicyDisplayValue() |
String |
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.
|
protected String |
getApplicationId(boolean forDisplayPurposes)
This method gets the string for the application id value.
|
List<ApplicationDocumentStatusCategory> |
getApplicationStatusCategories()
Get the application document status categories for this document type
|
Boolean |
getApplyRetroactively() |
ObjectDefinition |
getAttributeObjectDefinition(RuleAttribute ruleAttribute) |
ObjectDefinition |
getAttributeObjectDefinition(String typeCode) |
String |
getAuthorizer() |
String |
getBlanketApproveGroupId() |
String |
getBlanketApprovePolicy() |
org.kuali.rice.kim.api.group.Group |
getBlanketApproveWorkgroup() |
String |
getBlanketApproveWorkgroupId() |
org.kuali.rice.kim.api.group.Group |
getBlanketApproveWorkgroupWithInheritance() |
Collection<DocumentType> |
getChildrenDocTypes() |
Boolean |
getCurrentInd() |
CustomActionListAttribute |
getCustomActionListAttribute() |
RuleAttribute |
getCustomActionListRuleAttribute()
Returns the RuleAttribute for the action list attribute for this DocumentType.
|
CustomEmailAttribute |
getCustomEmailAttribute() |
String |
getCustomEmailStylesheet()
Gets the name of the custom email stylesheet to use to render email (if any has been set, null otherwise)
|
DocumentTypeAttributeBo |
getCustomizerAttribute() |
CustomNoteAttribute |
getCustomNoteAttribute() |
DocumentTypePolicy |
getDefaultApprovePolicy() |
String |
getDefaultApprovePolicyDisplayValue() |
org.kuali.rice.kim.api.group.Group |
getDefaultExceptionWorkgroup() |
String |
getDescription() |
String |
getDisplayableApplicationId()
Returns the same value as the
getApplicationId() method but will also have label information about
where the application id came from (ie: inherited from the parent document type) |
String |
getDisplayableNotificationFromAddress()
Returns the same value as the
getNotificationFromAddress() method but will also have label information if
the value is inherited from a parent document type |
String |
getDisplayablePostProcessorName() |
String |
getDisplayableUnresolvedDocHandlerUrl()
Returns the same value as the
getUnresolvedInheritedDocHandlerUrl(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 |
String |
getDocSearchHelpUrl()
This method gets the doc search help url from this object and resolves any
potential variables that may be in use
|
DocumentTypePolicy |
getDocSearchTarget()
Returns the DOC_SEARCH_TARGET policy on the document if defined
|
String |
getDocTypeActiveIndicatorDisplayValue() |
String |
getDocTypeParentId() |
String |
getDocumentId() |
DocumentTypePolicy |
getDocumentStatusPolicy()
This method returns a DocumentTypePolicy object related to the DocumentStatusPolicy defined for this document type.
|
DocumentTypeAttributeBo |
getDocumentTypeAttribute(int index) |
List<DocumentTypeAttributeBo> |
getDocumentTypeAttributes() |
List<DocumentTypeAttributeBo> |
getDocumentTypeAttributes(String... attributeTypes) |
String |
getDocumentTypeId() |
Collection<DocumentTypePolicy> |
getDocumentTypePolicies() |
DocumentTypeSecurity |
getDocumentTypeSecurity() |
String |
getDocumentTypeSecurityXml() |
Integer |
getDocumentTypeVersion() |
DocumentTypePolicy |
getEnrouteErrorSuppression() |
DocumentTypePolicy |
getFailOnInactiveGroup() |
String |
getHelpDefinitionUrl()
This method gets the help definition url from this object and resolves any
potential variables that may be in use
|
String |
getId() |
protected String |
getInheritedPostProcessorName(boolean forDisplayPurposes)
This method gets the post processor class value.
|
DocumentTypePolicy |
getInitiatorMustBlanketApprovePolicy() |
DocumentTypePolicy |
getInitiatorMustCancelPolicy() |
String |
getInitiatorMustRouteDisplayValue() |
DocumentTypePolicy |
getInitiatorMustRoutePolicy() |
String |
getInitiatorMustSaveDisplayValue() |
DocumentTypePolicy |
getInitiatorMustSavePolicy() |
String |
getLabel() |
DocumentTypePolicy |
getLookIntoFuturePolicy() |
String |
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
|
String |
getName() |
ProcessDefinitionBo |
getNamedProcess(String name) |
String |
getNotificationFromAddress() |
protected String |
getNotificationFromAddress(boolean forDisplayPurposes)
This method gets the notification from address value.
|
DocumentTypePolicy |
getNotifyOnSavePolicy() |
ObjectDefinition |
getObjectDefinition(String objectName) |
DocumentType |
getParentDocType() |
String |
getParentId() |
Map<DocumentTypePolicy,String> |
getPolicies() |
DocumentTypePolicy |
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.
|
DocumentTypePolicy |
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.PostProcessor |
getPostProcessor() |
String |
getPostProcessorName() |
DocumentType |
getPreviousVersion() |
String |
getPreviousVersionId() |
ProcessDefinitionBo |
getPrimaryProcess() |
List |
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.
|
DocumentTypePolicy |
getRecallNotification()
Returns the RECALL_NOTIFICATION policy on the document if defined, or
the default value for this policy which is true.
|
DocumentTypePolicy |
getRegenerateActionRequestsOnChange() |
org.kuali.rice.kim.api.group.Group |
getReportingWorkgroup() |
String |
getReportingWorkgroupId() |
String |
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
|
String |
getReturnUrl() |
DocumentType |
getRouteDefiningDocumentType()
Returns the DocumentType which defines the route for this document.
|
String |
getRoutingVersion() |
List<DocumentTypeAttributeBo> |
getSearchableAttributes() |
DocumentTypePolicy |
getSuperUserApproveNotificationPolicy() |
String |
getSuperUserGroupId() |
org.kuali.rice.kim.api.group.Group |
getSuperUserWorkgroup() |
org.kuali.rice.kim.api.group.Group |
getSuperUserWorkgroupNoInheritence() |
DocumentTypePolicy |
getSuPostprocessorOverridePolicy()
This method returns a DocumentTypePolicy object related to the DocumentStatusPolicy defined for this document type.
|
DocumentTypePolicy |
getSupportsQuickInitiatePolicy() |
DocumentTypePolicy |
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.
|
String |
getUnresolvedDocHandlerUrl() |
String |
getUnresolvedDocSearchHelpUrl() |
String |
getUnresolvedHelpDefinitionUrl() |
protected String |
getUnresolvedInheritedDocHandlerUrl(boolean forDisplayPurposes)
This method retrieves the unresolved document handler URL either from this object or from a parent document type
object.
|
DocumentTypePolicy |
getUseWorkflowSuperUserDocHandlerUrl() |
String |
getUseWorkflowSuperUserDocHandlerUrlValue() |
List<ApplicationDocumentStatus> |
getValidApplicationStatuses() |
Integer |
getVersion() |
String |
getWorkgroupId() |
boolean |
hasPreviousVersion() |
boolean |
hasSearchableAttributes() |
boolean |
isActive()
In order to make this object Inactivateable.
|
Boolean |
isAppDocStatusInUse()
This method returns a boolean denoting whether the Application Document Status is to be used for this document type.
|
boolean |
isBlanketApproveGroupDefined()
Returns true if either a blanket approve group or blanket approve policy is defined
on this Document Type.
|
boolean |
isBlanketApprover(String principalId) |
boolean |
isCurrent() |
boolean |
isDocTypeActive() |
Boolean |
isKEWStatusInUse()
This method returns a boolean denoting whether the KEW Route Status is to be displayed.
|
boolean |
isParentOf(DocumentType documentType) |
boolean |
isPolicyDefined(DocumentTypePolicy policyToCheck) |
boolean |
isRouteInherited()
Returns true if this document type defines it's own routing, false if it inherits its routing
from a parent document type.
|
boolean |
isSuperUser(String principalId) |
boolean |
isSuperUserGroupDefined()
Returns true if this DocumentType has a super user group defined.
|
List<DocumentType.ExtensionHolder<org.kuali.rice.kew.framework.document.attribute.SearchableAttribute>> |
loadSearchableAttributes() |
void |
populateDataDictionaryEditableFields(Set<String> propertyNamesEditableViaUI,
DocumentType dataDictionaryEditedType) |
void |
refresh() |
protected String |
resolveDocHandlerUrl(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 String |
resolveHelpUrl(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.
|
void |
setActionsUrl(String actions) |
void |
setActive(boolean active) |
void |
setActive(Boolean activeInd) |
void |
setActualApplicationId(String actualApplicationId) |
void |
setActualNotificationFromAddress(String actualNotificationFromAddress) |
void |
setApplicationStatusCategories(List<ApplicationDocumentStatusCategory> applicationStatusCategories)
Set the application document status categories for this document type
|
void |
setApplyRetroactively(Boolean applyRetroactively) |
void |
setAuthorizer(String authorizer) |
void |
setBlanketApprovePolicy(String blanketApprovePolicy) |
void |
setBlanketApproveWorkgroup(org.kuali.rice.kim.api.group.Group blanketApproveWorkgroup) |
void |
setBlanketApproveWorkgroupId(String blanketApproveWorkgroupId) |
void |
setCurrentInd(Boolean currentInd) |
void |
setCustomEmailStylesheet(String customEmailStylesheet)
Sets the name of the custom email stylesheet to use to render email
|
void |
setDefaultExceptionWorkgroup(org.kuali.rice.kim.api.group.Group defaultExceptionWorkgroup) |
void |
setDescription(String description) |
void |
setDisplayableNotificationFromAddress(String displayableNotificationFromAddress)
Deprecated.
|
void |
setDisplayablePostProcessorName(String displayablePostProcessorName)
Deprecated.
|
void |
setDisplayableUnresolvedDocHandlerUrl(String displayableUnresolvedDocHandlerUrl)
Deprecated.
|
void |
setDocHandlerUrl(String docHandlerUrl)
Deprecated.
|
void |
setDocTypeParentId(String docTypeParentId) |
void |
setDocumentId(String documentId) |
void |
setDocumentTypeAttribute(int index,
DocumentTypeAttributeBo documentTypeAttribute) |
void |
setDocumentTypeAttributes(List<DocumentTypeAttributeBo> documentTypeAttributes) |
void |
setDocumentTypeId(String docTypeGrpId) |
void |
setDocumentTypePolicies(Collection<DocumentTypePolicy> policies) |
void |
setDocumentTypeSecurityXml(String documentTypeSecurityXml) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setNotificationFromAddress(String notificationFromAddress)
Deprecated.
|
void |
setPostProcessorName(String postProcessorName) |
void |
setPreviousVersionId(String previousVersionId) |
void |
setProcesses(List routeNodes) |
void |
setReportingWorkgroup(org.kuali.rice.kim.api.group.Group reportingWorkgroup) |
void |
setReportingWorkgroupId(String reportingWorkgroupId) |
void |
setReturnUrl(String returnUrl) |
void |
setRoutingVersion(String routingVersion) |
void |
setSuperUserWorkgroupIdNoInheritence(String suWorkgroupId)
Set the immediate super user workgroup id field
|
void |
setSuperUserWorkgroupNoInheritence(org.kuali.rice.kim.api.group.Group suWorkgroup) |
void |
setUnresolvedDocHandlerUrl(String unresolvedDocHandlerUrl) |
void |
setUnresolvedDocSearchHelpUrl(String unresolvedDocSearchHelpUrl) |
void |
setUnresolvedHelpDefinitionUrl(String unresolvedHelpDefinitionUrl) |
void |
setValidApplicationStatuses(List<ApplicationDocumentStatus> validApplicationStatuses) |
void |
setVersion(Integer version) |
void |
setWorkgroupId(String workgroupId) |
static DocumentType |
to(DocumentType documentTypeBo) |
_persistence_get_objectId, _persistence_get_versionNumber, _persistence_get, _persistence_new, _persistence_post_clone, _persistence_set_objectId, _persistence_set_versionNumber, _persistence_set, 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, setVersionNumber_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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringgetVersionNumberpublic DocumentType()
public void populateDataDictionaryEditableFields(Set<String> propertyNamesEditableViaUI, DocumentType dataDictionaryEditedType)
public DocumentTypePolicy getAllowUnrequestedActionPolicy()
public DocumentTypePolicy getDefaultApprovePolicy()
public DocumentTypePolicy getUseWorkflowSuperUserDocHandlerUrl()
public DocumentTypePolicy getInitiatorMustRoutePolicy()
public DocumentTypePolicy getInitiatorMustSavePolicy()
public DocumentTypePolicy getInitiatorMustCancelPolicy()
public DocumentTypePolicy getInitiatorMustBlanketApprovePolicy()
public DocumentTypePolicy getLookIntoFuturePolicy()
public DocumentTypePolicy getSuperUserApproveNotificationPolicy()
public DocumentTypePolicy getSupportsQuickInitiatePolicy()
public DocumentTypePolicy getNotifyOnSavePolicy()
public DocumentTypePolicy getDocumentStatusPolicy()
public DocumentTypePolicy getSuPostprocessorOverridePolicy()
public DocumentTypePolicy getFailOnInactiveGroup()
public DocumentTypePolicy getEnrouteErrorSuppression()
public DocumentTypePolicy getRegenerateActionRequestsOnChange()
public DocumentTypePolicy getRecallNotification()
public DocumentTypePolicy getSuppressImmediateEmailsOnSuActionPolicy()
public DocumentTypePolicy getAllowSuperUserFinalApprovalPolicy()
public DocumentTypePolicy getDocSearchTarget()
public Boolean isKEWStatusInUse()
public Boolean isAppDocStatusInUse()
public Boolean areBothStatusesInUse()
public String getUseWorkflowSuperUserDocHandlerUrlValue()
public String getAllowUnrequestedActionPolicyDisplayValue()
public String getDefaultApprovePolicyDisplayValue()
public String getInitiatorMustRouteDisplayValue()
public String getInitiatorMustSaveDisplayValue()
public boolean isPolicyDefined(DocumentTypePolicy policyToCheck)
public List<DocumentTypeAttributeBo> getDocumentTypeAttributes(String... attributeTypes)
public boolean hasSearchableAttributes()
public List<DocumentTypeAttributeBo> getSearchableAttributes()
public DocumentTypeAttributeBo getCustomizerAttribute()
public RuleAttribute getCustomActionListRuleAttribute()
public List<DocumentType.ExtensionHolder<org.kuali.rice.kew.framework.document.attribute.SearchableAttribute>> loadSearchableAttributes()
public DocumentTypeAttributeBo getDocumentTypeAttribute(int index)
public void setDocumentTypeAttribute(int index, DocumentTypeAttributeBo documentTypeAttribute)
public String getDocTypeActiveIndicatorDisplayValue()
public Collection<DocumentType> getChildrenDocTypes()
public String getDocTypeParentId()
getDocTypeParentId in interface DocumentTypeEBOpublic void setDocTypeParentId(String docTypeParentId)
public DocumentType getParentDocType()
public Collection<DocumentTypePolicy> getDocumentTypePolicies()
public void setDocumentTypePolicies(Collection<DocumentTypePolicy> policies)
public Map<DocumentTypePolicy,String> getPolicies()
getPolicies in interface DocumentTypeContractpublic List<ApplicationDocumentStatus> getValidApplicationStatuses()
public void setValidApplicationStatuses(List<ApplicationDocumentStatus> validApplicationStatuses)
public List<ApplicationDocumentStatusCategory> getApplicationStatusCategories()
ApplicationDocumentStatusCategorypublic void setApplicationStatusCategories(List<ApplicationDocumentStatusCategory> applicationStatusCategories)
applicationStatusCategories - public String getDocumentTypeSecurityXml()
public void setDocumentTypeSecurityXml(String documentTypeSecurityXml)
public DocumentTypeSecurity getDocumentTypeSecurity()
public String getActionsUrl()
public void setActionsUrl(String actions)
public Boolean getCurrentInd()
public boolean isCurrent()
isCurrent in interface DocumentTypeContractpublic void setCurrentInd(Boolean currentInd)
public String getDescription()
getDescription in interface DocumentTypeContractgetDescription in interface DocumentTypeEBOpublic void setDescription(String description)
public String getResolvedDocumentHandlerUrl()
getResolvedDocumentHandlerUrl in interface DocumentTypeContractprotected String getUnresolvedInheritedDocHandlerUrl(boolean forDisplayPurposes)
getUnresolvedDocHandlerUrl() 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.forDisplayPurposes - - if true then the string returned will have a label explaining where the value came frompublic String getDisplayableUnresolvedDocHandlerUrl()
getUnresolvedInheritedDocHandlerUrl(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 objectpublic void setDisplayableUnresolvedDocHandlerUrl(String displayableUnresolvedDocHandlerUrl)
setUnresolvedDocHandlerUrl(String) instead.public String getUnresolvedDocHandlerUrl()
getUnresolvedDocHandlerUrl in interface DocumentTypeContractpublic void setUnresolvedDocHandlerUrl(String unresolvedDocHandlerUrl)
unresolvedDocHandlerUrl - the unresolvedDocHandlerUrl to setprotected String resolveDocHandlerUrl(String docHandlerUrl)
public void setDocHandlerUrl(String docHandlerUrl)
setDocHandlerUrl(String) to add a document handler url to this object.public String getUnresolvedHelpDefinitionUrl()
public void setUnresolvedHelpDefinitionUrl(String unresolvedHelpDefinitionUrl)
unresolvedHelpDefinitionUrl - the unresolvedHelpDefinitionUrl to setpublic String getHelpDefinitionUrl()
getHelpDefinitionUrl in interface DocumentTypeContractgetHelpDefinitionUrl in interface DocumentTypeEBOprotected String resolveHelpUrl(String helpDefinitionUrl)
public String getUnresolvedDocSearchHelpUrl()
public void setUnresolvedDocSearchHelpUrl(String unresolvedDocSearchHelpUrl)
unresolvedDocSearchHelpUrl - the unresolvedDocSearchHelpUrl to setpublic String getDocSearchHelpUrl()
getDocSearchHelpUrl in interface DocumentTypeContractpublic String getLabel()
getLabel in interface DocumentTypeContractgetLabel in interface DocumentTypeEBOpublic String getName()
getName in interface DocumentTypeContractgetName in interface DocumentTypeEBOpublic org.kuali.rice.kew.framework.postprocessor.PostProcessor getPostProcessor()
protected String getInheritedPostProcessorName(boolean forDisplayPurposes)
getPostProcessorName() 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.forDisplayPurposes - - if true then the string returned will have a label explaining where the value came frompublic String getPostProcessorName()
getPostProcessorName in interface DocumentTypeContractpublic void setPostProcessorName(String postProcessorName)
public String getDisplayablePostProcessorName()
public void setDisplayablePostProcessorName(String displayablePostProcessorName)
setPostProcessorName(String) instead.public String getPreviousVersionId()
public void setPreviousVersionId(String previousVersionId)
public String getDocumentId()
public void setDocumentId(String documentId)
public Integer getVersion()
public void setVersion(Integer version)
public String getDocumentTypeId()
getDocumentTypeId in interface DocumentTypeEBOpublic void setDocumentTypeId(String docTypeGrpId)
public String getId()
getId in interface Identifiablepublic String getReturnUrl()
public void setReturnUrl(String returnUrl)
public DocumentTypePolicy getPolicyByName(String policyName, Boolean defaultValue)
policyName - the policy name to look updefaultValue - the default boolean value to return if policy is not foundpublic DocumentTypePolicy getPolicyByName(String policyName, String defaultValue)
policyName - the policy name to look updefaultValue - the default string value to return if policy is not foundpublic org.kuali.rice.kim.api.group.Group getSuperUserWorkgroup()
public org.kuali.rice.kim.api.group.Group getSuperUserWorkgroupNoInheritence()
public void setSuperUserWorkgroupNoInheritence(org.kuali.rice.kim.api.group.Group suWorkgroup)
public void setSuperUserWorkgroupIdNoInheritence(String suWorkgroupId)
suWorkgroupId - the super user workgroup idpublic boolean isSuperUserGroupDefined()
public DocumentType getPreviousVersion()
public org.kuali.rice.kim.api.group.Group getBlanketApproveWorkgroup()
public void setBlanketApproveWorkgroup(org.kuali.rice.kim.api.group.Group blanketApproveWorkgroup)
public String getBlanketApprovePolicy()
public void setBlanketApprovePolicy(String blanketApprovePolicy)
public org.kuali.rice.kim.api.group.Group getBlanketApproveWorkgroupWithInheritance()
public boolean isBlanketApprover(String principalId)
public boolean isBlanketApproveGroupDefined()
public String getReportingWorkgroupId()
public void setReportingWorkgroupId(String reportingWorkgroupId)
reportingWorkgroupId - the reportingWorkgroupId to setpublic org.kuali.rice.kim.api.group.Group getReportingWorkgroup()
public void setReportingWorkgroup(org.kuali.rice.kim.api.group.Group reportingWorkgroup)
public org.kuali.rice.kim.api.group.Group getDefaultExceptionWorkgroup()
public void setDefaultExceptionWorkgroup(org.kuali.rice.kim.api.group.Group defaultExceptionWorkgroup)
public CustomActionListAttribute getCustomActionListAttribute() throws ResourceUnavailableException
ResourceUnavailableExceptionpublic CustomEmailAttribute getCustomEmailAttribute() throws ResourceUnavailableException
ResourceUnavailableExceptionpublic ObjectDefinition getAttributeObjectDefinition(String typeCode)
public ObjectDefinition getAttributeObjectDefinition(RuleAttribute ruleAttribute)
public CustomNoteAttribute getCustomNoteAttribute() throws ResourceUnavailableException
ResourceUnavailableExceptionpublic ObjectDefinition getObjectDefinition(String objectName)
public boolean isRouteInherited()
public DocumentType getRouteDefiningDocumentType()
public boolean isDocTypeActive()
public void setDocumentTypeAttributes(List<DocumentTypeAttributeBo> documentTypeAttributes)
documentTypeAttributes - The documentTypeAttributes to set.public List<DocumentTypeAttributeBo> getDocumentTypeAttributes()
getDocumentTypeAttributes in interface DocumentTypeContractpublic void addProcess(ProcessDefinitionBo process)
public List getProcesses()
public void setProcesses(List routeNodes)
public ProcessDefinitionBo getPrimaryProcess()
public ProcessDefinitionBo getNamedProcess(String name)
public String getRoutingVersion()
public void setRoutingVersion(String routingVersion)
public String getActualNotificationFromAddress()
public void setActualNotificationFromAddress(String actualNotificationFromAddress)
actualNotificationFromAddress - the actualNotificationFromAddress to setpublic String getDisplayableNotificationFromAddress()
getNotificationFromAddress() method but will also have label information if
the value is inherited from a parent document typepublic void setDisplayableNotificationFromAddress(String displayableNotificationFromAddress)
setActualNotificationFromAddress(String) instead.public String getNotificationFromAddress()
protected String getNotificationFromAddress(boolean forDisplayPurposes)
getActualNotificationFromAddress() 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 nullforDisplayPurposes - - if true then the string returned will have a label explaining where the value came frompublic void setNotificationFromAddress(String notificationFromAddress)
setActualNotificationFromAddress(String) insteadpublic boolean isParentOf(DocumentType documentType)
public String getLookupParentName()
public boolean isSuperUser(String principalId)
public boolean hasPreviousVersion()
public String getActualApplicationId()
public void setActualApplicationId(String actualApplicationId)
actualApplicationId - the actualApplicationId to setpublic String getApplicationId()
getApplicationId in interface DocumentTypeContractgetApplicationId in interface DocumentTypeEBOprotected String getApplicationId(boolean forDisplayPurposes)
getActualApplicationId() 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()forDisplayPurposes - - if true then the string returned will have a label explaining where the value came frompublic String getDisplayableApplicationId()
getApplicationId() method but will also have label information about
where the application id came from (ie: inherited from the parent document type)public String getCustomEmailStylesheet()
public void setCustomEmailStylesheet(String customEmailStylesheet)
public String getBlanketApproveWorkgroupId()
public void setBlanketApproveWorkgroupId(String blanketApproveWorkgroupId)
blanketApproveWorkgroupId - the blanketApproveWorkgroupId to setpublic Boolean getApplyRetroactively()
public void setApplyRetroactively(Boolean applyRetroactively)
applyRetroactively - the applyRetroactively to setpublic boolean isActive()
DocumentTypeEBOisActive in interface InactivatableisActive in interface DocumentTypeContractisActive in interface DocumentTypeEBOInactivatable.isActive()public void setActive(boolean active)
setActive in interface MutableInactivatableMutableInactivatable.setActive(boolean)public Integer getDocumentTypeVersion()
getDocumentTypeVersion in interface DocumentTypeContractpublic String getParentId()
getParentId in interface DocumentTypeContractpublic String getBlanketApproveGroupId()
getBlanketApproveGroupId in interface DocumentTypeContractpublic String getSuperUserGroupId()
getSuperUserGroupId in interface DocumentTypeContractpublic String getAuthorizer()
getAuthorizer in interface DocumentTypeContractpublic void setAuthorizer(String authorizer)
public static DocumentType to(DocumentType documentTypeBo)
public static DocumentType from(DocumentTypeContract dt)
public String getWorkgroupId()
public void setWorkgroupId(String workgroupId)
public void refresh()
refresh in interface BusinessObjectrefresh in class PersistableBusinessObjectBaseCopyright © 2005–2016 The Kuali Foundation. All rights reserved.