Package org.kuali.rice.krad.service.impl
Class DocumentDictionaryServiceImpl
java.lang.Object
org.kuali.rice.krad.service.impl.DocumentDictionaryServiceImpl
- All Implemented Interfaces:
org.kuali.rice.krad.service.DocumentDictionaryService
public class DocumentDictionaryServiceImpl
extends Object
implements org.kuali.rice.krad.service.DocumentDictionaryService
Implementation of
DocumentDictionaryService which reads configuration
from the data dictionary- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllowsCopy(org.kuali.rice.krad.document.Document document) getAllowsNewOrCopy(String docTypeName) getAllowsRecordDeletion(Class dataObjectClass) getAllowsRecordDeletion(org.kuali.rice.krad.maintenance.MaintenanceDocument document) Class<? extends org.kuali.rice.krad.rules.rule.BusinessRule> getBusinessRulesClass(org.kuali.rice.krad.document.Document document) getClearValueOnCopyPropertyNames(Class dataObjectClass) protected org.kuali.rice.krad.datadictionary.DataDictionaryprotected org.kuali.rice.krad.service.DataDictionaryServicegetDefaultExistenceChecks(Class dataObjectClass) getDefaultExistenceChecks(String docTypeName) getDefaultExistenceChecks(org.kuali.rice.krad.document.Document document) getDescription(String documentTypeName) org.kuali.rice.krad.document.DocumentAuthorizergetDocumentAuthorizer(String documentType) org.kuali.rice.krad.document.DocumentAuthorizergetDocumentAuthorizer(org.kuali.rice.krad.document.Document document) Class<?> getDocumentClassByName(String documentTypeName) org.kuali.rice.krad.datadictionary.DocumentEntrygetDocumentEntry(String documentTypeName) protected org.kuali.rice.krad.datadictionary.DocumentEntrygetDocumentEntry(org.kuali.rice.krad.document.Document document) Retrieves the document entry for the document type of the given document instanceorg.kuali.rice.krad.datadictionary.DocumentEntrygetDocumentEntryByClass(Class<? extends org.kuali.rice.krad.document.Document> documentClass) org.kuali.rice.krad.document.DocumentPresentationControllergetDocumentPresentationController(String documentType) org.kuali.rice.krad.document.DocumentPresentationControllergetDocumentPresentationController(org.kuali.rice.krad.document.Document document) protected org.kuali.rice.kew.api.doctype.DocumentTypegetDocumentType(String documentTypeName) Gets the workflow document type dto for the given documentTypeNamegetDocumentTypeByClass(Class<? extends org.kuali.rice.krad.document.Document> documentClass) getLockingKeys(String docTypeName) Class<? extends org.kuali.rice.krad.maintenance.Maintainable> getMaintainableClass(String docTypeName) Class<?> getMaintenanceDataObjectClass(String docTypeName) protected org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntrygetMaintenanceDocumentEntry(Class dataObjectClass) Retrieves the maintenance document entry associated with the given data object classorg.kuali.rice.krad.datadictionary.MaintenanceDocumentEntrygetMaintenanceDocumentEntry(String docTypeName) getMaintenanceDocumentTypeName(Class dataObjectClass) booleangetPreserveLockingKeysOnCopy(Class dataObjectClass) voidsetDataDictionaryService(org.kuali.rice.krad.service.DataDictionaryService dataDictionaryService)
-
Constructor Details
-
DocumentDictionaryServiceImpl
public DocumentDictionaryServiceImpl()
-
-
Method Details
-
getLabel
- Specified by:
getLabelin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getMaintenanceDocumentTypeName
- Specified by:
getMaintenanceDocumentTypeNamein interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDefaultExistenceChecks
- Specified by:
getDefaultExistenceChecksin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDefaultExistenceChecks
- Specified by:
getDefaultExistenceChecksin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDefaultExistenceChecks
- Specified by:
getDefaultExistenceChecksin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getMaintenanceDataObjectClass
- Specified by:
getMaintenanceDataObjectClassin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getMaintainableClass
public Class<? extends org.kuali.rice.krad.maintenance.Maintainable> getMaintainableClass(String docTypeName) - Specified by:
getMaintainableClassin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getBusinessRulesClass
public Class<? extends org.kuali.rice.krad.rules.rule.BusinessRule> getBusinessRulesClass(org.kuali.rice.krad.document.Document document) - Specified by:
getBusinessRulesClassin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getAllowsCopy
- Specified by:
getAllowsCopyin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getAllowsNewOrCopy
- Specified by:
getAllowsNewOrCopyin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentEntry
- Specified by:
getDocumentEntryin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentEntryByClass
public org.kuali.rice.krad.datadictionary.DocumentEntry getDocumentEntryByClass(Class<? extends org.kuali.rice.krad.document.Document> documentClass) - Specified by:
getDocumentEntryByClassin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getMaintenanceDocumentEntry
public org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntry getMaintenanceDocumentEntry(String docTypeName) - Specified by:
getMaintenanceDocumentEntryin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentClassByName
- Specified by:
getDocumentClassByNamein interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentTypeByClass
public String getDocumentTypeByClass(Class<? extends org.kuali.rice.krad.document.Document> documentClass) - Specified by:
getDocumentTypeByClassin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getAllowsRecordDeletion
- Specified by:
getAllowsRecordDeletionin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getAllowsRecordDeletion
public Boolean getAllowsRecordDeletion(org.kuali.rice.krad.maintenance.MaintenanceDocument document) - Specified by:
getAllowsRecordDeletionin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getLockingKeys
- Specified by:
getLockingKeysin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getPreserveLockingKeysOnCopy
- Specified by:
getPreserveLockingKeysOnCopyin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getClearValueOnCopyPropertyNames
- Specified by:
getClearValueOnCopyPropertyNamesin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentAuthorizer
- Specified by:
getDocumentAuthorizerin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentAuthorizer
public org.kuali.rice.krad.document.DocumentAuthorizer getDocumentAuthorizer(org.kuali.rice.krad.document.Document document) - Specified by:
getDocumentAuthorizerin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentPresentationController
public org.kuali.rice.krad.document.DocumentPresentationController getDocumentPresentationController(String documentType) - Specified by:
getDocumentPresentationControllerin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getDocumentPresentationController
public org.kuali.rice.krad.document.DocumentPresentationController getDocumentPresentationController(org.kuali.rice.krad.document.Document document) - Specified by:
getDocumentPresentationControllerin interfaceorg.kuali.rice.krad.service.DocumentDictionaryService- See Also:
-
getMaintenanceDocumentEntry
protected org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntry getMaintenanceDocumentEntry(Class dataObjectClass) Retrieves the maintenance document entry associated with the given data object class- Parameters:
dataObjectClass- - data object class to retrieve maintenance document entry for- Returns:
- MaintenanceDocumentEntry for associated data object class
-
getDocumentEntry
protected org.kuali.rice.krad.datadictionary.DocumentEntry getDocumentEntry(org.kuali.rice.krad.document.Document document) Retrieves the document entry for the document type of the given document instance- Parameters:
document- - document instance to retrieve document entry for- Returns:
- DocumentEntry instance found for document type
-
getDocumentType
Gets the workflow document type dto for the given documentTypeName- Parameters:
documentTypeName- - document type name to retrieve document type dto- Returns:
- DocumentType for given document type name
-
getDataDictionary
protected org.kuali.rice.krad.datadictionary.DataDictionary getDataDictionary() -
getDataDictionaryService
protected org.kuali.rice.krad.service.DataDictionaryService getDataDictionaryService() -
setDataDictionaryService
public void setDataDictionaryService(org.kuali.rice.krad.service.DataDictionaryService dataDictionaryService)
-