|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentDictionaryService
Defines methods that a DocumentEntry
Service must provide, and the API for the interacting
with Document-related entries in the data dictionary
Method Summary | |
---|---|
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 |
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 |
Method Detail |
---|
String getLabel(String documentTypeName)
documentTypeName
- - document type name for the document entry to retrieve label for
String getMaintenanceDocumentTypeName(Class dataObjectClass)
dataObjectClass
- - data object class for maintenance entry to retrieve
String getDescription(String documentTypeName)
documentTypeName
- - document type name for the document entry to retrieve description for
Collection getDefaultExistenceChecks(Class dataObjectClass)
dataObjectClass
- - data object class for maintenance document
Collection getDefaultExistenceChecks(Document document)
document
- - document instance to pull document type for associated document entry
Collection getDefaultExistenceChecks(String docTypeName)
docTypeName
- - document type name for document entry to pull existence checks for
Class<?> getMaintenanceDataObjectClass(String docTypeName)
docTypeName
- - document type name associated with maintenance document entry
Class<? extends Maintainable> getMaintainableClass(String docTypeName)
docTypeName
- - document type name to retrieve maintainable for
Class<? extends BusinessRule> getBusinessRulesClass(Document document)
document
- - document instance to retrieve rule class for
Boolean getAllowsCopy(Document document)
document
- - document instance to check copy flag for
Boolean getAllowsNewOrCopy(String docTypeName)
docTypeName
- - document type name to retrieve maintenance document entry for
DocumentEntry getDocumentEntry(String docTypeName)
docTypeName
- - document type name to retrieve document entry for
DocumentEntry getDocumentEntryByClass(Class<? extends Document> documentClass)
documentClass
- - document class to retrieve document entry for
MaintenanceDocumentEntry getMaintenanceDocumentEntry(String docTypeName)
docTypeName
- - document type name to retrieve maintenance document entry for
Class<?> getDocumentClassByName(String documentTypeName)
documentTypeName
- - document type name to retrieve class for
String getDocumentTypeByClass(Class<? extends Document> documentClass)
documentClass
- - class for document to retrieve the document type for
Boolean getAllowsRecordDeletion(Class dataObjectClass)
dataObjectClass
- - class for the data object to check
Boolean getAllowsRecordDeletion(MaintenanceDocument document)
document
- - maintenance document instance to check
List<String> getLockingKeys(String docTypeName)
docTypeName
- - document type name to retrieve maintenance document entry for
boolean getPreserveLockingKeysOnCopy(Class dataObjectClass)
dataObjectClass
- - class for the data object to check
DocumentAuthorizer getDocumentAuthorizer(String documentType)
DocumentAuthorizer
configured on the document entry with the given document type
name
documentType
- - document type name to retrieve document entry and associated authorizer for
DocumentAuthorizer getDocumentAuthorizer(Document document)
DocumentAuthorizer
configured on the document entry for the document type associated
with the document instance
document
- - document instance to retrieve document entry and associated authorizer for
DocumentPresentationController getDocumentPresentationController(String documentType)
DocumentPresentationController
configured on the document entry with the given document
type name
documentType
- - document type name to retrieve document entry and associated presentation controller for
DocumentPresentationController getDocumentPresentationController(Document document)
DocumentPresentationController
configured on the document entry for the document type
associated with the document instance
document
- - document instance to retrieve document entry and associated presentation controller for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |