public interface DocumentDictionaryService
DocumentEntry
Service must provide, and the API for the interacting
with Document-related entries in the data dictionaryModifier and Type | Method and Description |
---|---|
Boolean |
getAllowsCopy(Document document)
Returns whether or not this document's data dictionary file has flagged it to allow document copies
|
Boolean |
getAllowsNewOrCopy(String docTypeName)
Returns whether or not this document's data dictionary file has flagged it to allow maintenance new
or copy actions
|
Boolean |
getAllowsRecordDeletion(Class dataObjectClass)
Indicates whether the given data object class is configured to allow record deletions
|
Boolean |
getAllowsRecordDeletion(MaintenanceDocument document)
Indicates whether the given maintenance document is configured to allow record deletions
|
Class<? extends BusinessRule> |
getBusinessRulesClass(Document document)
Retrieves the configured business rule class configured for the document entry
that is associated with the document type of the given document instance
|
List<String> |
getClearValueOnCopyPropertyNames(Class dataObjectClass)
Retrieves the list of property names that should be cleared when an object of type dataObjectClass
is copied.
|
Collection |
getDefaultExistenceChecks(Class dataObjectClass)
Retrieves the collection of ReferenceDefinition objects defined as DefaultExistenceChecks
for the MaintenanceDocument associated with the given data object class
|
Collection |
getDefaultExistenceChecks(Document document)
Retrieves the collection of ReferenceDefinition objects defined as DefaultExistenceChecks
for the document instance
|
Collection |
getDefaultExistenceChecks(String docTypeName)
Retrieves the collection of ReferenceDefinition objects defined as DefaultExistenceChecks
for the document entry associated with the given document type name
|
String |
getDescription(String documentTypeName)
Retrieves the full description of the document as described in its data dictionary entry
|
DocumentAuthorizer |
getDocumentAuthorizer(Document document)
Retrieves the
DocumentAuthorizer configured on the document entry for the document type associated
with the document instance |
DocumentAuthorizer |
getDocumentAuthorizer(String documentType)
Retrieves the
DocumentAuthorizer configured on the document entry with the given document type
name |
Class<?> |
getDocumentClassByName(String documentTypeName)
Retrieves the document class configured on the document entry associated with the
given document type name
|
DocumentEntry |
getDocumentEntry(String docTypeName)
Retrieves the document entry that is associated with the given document type name
|
DocumentEntry |
getDocumentEntryByClass(Class<? extends Document> documentClass)
Retrieves the document entry that is associated with the given document class
|
DocumentPresentationController |
getDocumentPresentationController(Document document)
Retrieves the
DocumentPresentationController configured on the document entry for the document type
associated with the document instance |
DocumentPresentationController |
getDocumentPresentationController(String documentType)
Retrieves the
DocumentPresentationController configured on the document entry with the given document
type name |
String |
getDocumentTypeByClass(Class<? extends Document> documentClass)
Retrieves the document type configured on the document entry associated with the
given document class
|
String |
getLabel(String documentTypeName)
Retrieves the label for the document as described in its data dictionary entry
|
List<String> |
getLockingKeys(String docTypeName)
Retrieves the list of property names that are configured as locking keys for the maintenance
document entry associated with the given document type name
|
Class<? extends Maintainable> |
getMaintainableClass(String docTypeName)
Retrieves the maintainable class instance that is configured in the maintenance document
entry associated with the given document type name
|
Class<?> |
getMaintenanceDataObjectClass(String docTypeName)
Retrieves the data object class configured for the maintenance entry
associated with the given document type name
|
MaintenanceDocumentEntry |
getMaintenanceDocumentEntry(String docTypeName)
Retrieves the maintenance document entry that is associated with the given document type name
|
String |
getMaintenanceDocumentTypeName(Class dataObjectClass)
Retrieves the configured document type name for the maintenance document
entry associated with the given data object class
|
boolean |
getPreserveLockingKeysOnCopy(Class dataObjectClass)
Indicates whether the configured locking keys for a class should be cleared on a maintenance
copy action or values carried forward
|
String getLabel(String documentTypeName)
documentTypeName
- - document type name for the document entry to retrieve label forString getMaintenanceDocumentTypeName(Class dataObjectClass)
dataObjectClass
- - data object class for maintenance entry to retrieveString getDescription(String documentTypeName)
documentTypeName
- - document type name for the document entry to retrieve description forCollection getDefaultExistenceChecks(Class dataObjectClass)
dataObjectClass
- - data object class for maintenance documentCollection getDefaultExistenceChecks(Document document)
document
- - document instance to pull document type for associated document entryCollection getDefaultExistenceChecks(String docTypeName)
docTypeName
- - document type name for document entry to pull existence checks forClass<?> getMaintenanceDataObjectClass(String docTypeName)
docTypeName
- - document type name associated with maintenance document entryClass<? extends Maintainable> getMaintainableClass(String docTypeName)
docTypeName
- - document type name to retrieve maintainable forClass<? extends BusinessRule> getBusinessRulesClass(Document document)
document
- - document instance to retrieve rule class forBoolean getAllowsCopy(Document document)
document
- - document instance to check copy flag forBoolean getAllowsNewOrCopy(String docTypeName)
docTypeName
- - document type name to retrieve maintenance document entry forDocumentEntry getDocumentEntry(String docTypeName)
docTypeName
- - document type name to retrieve document entry forDocumentEntry getDocumentEntryByClass(Class<? extends Document> documentClass)
documentClass
- - document class to retrieve document entry forMaintenanceDocumentEntry getMaintenanceDocumentEntry(String docTypeName)
docTypeName
- - document type name to retrieve maintenance document entry forClass<?> getDocumentClassByName(String documentTypeName)
documentTypeName
- - document type name to retrieve class forString getDocumentTypeByClass(Class<? extends Document> documentClass)
documentClass
- - class for document to retrieve the document type forBoolean getAllowsRecordDeletion(Class dataObjectClass)
dataObjectClass
- - class for the data object to checkBoolean getAllowsRecordDeletion(MaintenanceDocument document)
document
- - maintenance document instance to checkList<String> getLockingKeys(String docTypeName)
docTypeName
- - document type name to retrieve maintenance document entry forboolean getPreserveLockingKeysOnCopy(Class dataObjectClass)
dataObjectClass
- - class for the data object to checkList<String> getClearValueOnCopyPropertyNames(Class dataObjectClass)
dataObjectClass
- - class for the data object to checkDocumentAuthorizer getDocumentAuthorizer(String documentType)
DocumentAuthorizer
configured on the document entry with the given document type
namedocumentType
- - document type name to retrieve document entry and associated authorizer forDocumentAuthorizer getDocumentAuthorizer(Document document)
DocumentAuthorizer
configured on the document entry for the document type associated
with the document instancedocument
- - document instance to retrieve document entry and associated authorizer forDocumentPresentationController getDocumentPresentationController(String documentType)
DocumentPresentationController
configured on the document entry with the given document
type namedocumentType
- - document type name to retrieve document entry and associated presentation controller forDocumentPresentationController getDocumentPresentationController(Document document)
DocumentPresentationController
configured on the document entry for the document type
associated with the document instancedocument
- - document instance to retrieve document entry and associated presentation controller forCopyright © 2005–2014 The Kuali Foundation. All rights reserved.