|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.service.impl.MaintenanceDocumentDictionaryServiceImpl
@Deprecated public class MaintenanceDocumentDictionaryServiceImpl
This class is the service implementation for the MaintenanceDocumentDictionary structure. Defines the API for the interacting with Document-related entries in the data dictionary. This is the default implementation, that is delivered with Kuali.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
Deprecated. |
Constructor Summary | |
---|---|
MaintenanceDocumentDictionaryServiceImpl()
Deprecated. |
Method Summary | |
---|---|
Boolean |
getAllowsCopy(MaintenanceDocument document)
Deprecated. Returns whether or not this document's data dictionary file has flagged it to allow document copies |
Boolean |
getAllowsNewOrCopy(String docTypeName)
Deprecated. Returns whether or not this document's data dictionary file has flagged it to allow maintenance new or copy actions |
Boolean |
getAllowsRecordDeletion(Class businessObjectClass)
Deprecated. for isue KULRice 3070 |
Boolean |
getAllowsRecordDeletion(MaintenanceDocument document)
Deprecated. for issue KULRice3070, see if need delete button |
Class |
getCollectionBusinessObjectClass(String docTypeName,
String collectionName)
Deprecated. Returns the business object used to store the values for the given collection. |
String |
getCollectionFieldDefaultValue(String docTypeName,
String collectionName,
String fieldName)
Deprecated. This method returns the defaultValue as it would appear in the UI on a maintenance document for a collection. |
DataDictionary |
getDataDictionary()
Deprecated. |
Class |
getDataObjectClass(String docTypeName)
Deprecated. The instance of the business object class associated with this document type name |
Collection |
getDefaultExistenceChecks(Class businessObjectClass)
Deprecated. The collection of ReferenceDefinition objects defined as DefaultExistenceChecks for the MaintenanceDocument |
Collection |
getDefaultExistenceChecks(String docTypeName)
Deprecated. The collection of ReferenceDefinition objects defined as DefaultExistenceChecks for the MaintenanceDocument |
protected DocumentType |
getDocumentType(String documentTypeName)
Deprecated. Gets the workflow document type for the given documentTypeName |
String |
getDocumentTypeName(Class businessObjectClass)
Deprecated. The document type name for a class instance |
String |
getFieldDefaultValue(Class boClass,
String fieldName)
Deprecated. This method returns the defaultValue as it would appear in the UI on a maintenance document. |
String |
getFieldDefaultValue(String docTypeName,
String fieldName)
Deprecated. This method returns the defaultValue as it would appear in the UI on a maintenance document. |
List |
getLockingKeys(String docTypeName)
Deprecated. A List of field names used as locking keys |
Class |
getMaintainableClass(String docTypeName)
Deprecated. |
MaintainableCollectionDefinition |
getMaintainableCollection(String docTypeName,
String collectionName)
Deprecated. Returns the definition for the maintainable collection identified by "collectionName". |
List<MaintainableCollectionDefinition> |
getMaintainableCollections(MaintainableCollectionDefinition parentCollection)
Deprecated. Returns a list of all collections within the given collection |
List<MaintainableCollectionDefinition> |
getMaintainableCollections(String docTypeName)
Deprecated. Gets a list of all top-level maintainable collections on the document |
MaintainableFieldDefinition |
getMaintainableField(String docTypeName,
String fieldName)
Deprecated. Returns the definition for the maintainable field identified by "fieldName". |
MaintainableItemDefinition |
getMaintainableItem(String docTypeName,
String itemName)
Deprecated. Returns the definition for the maintainable item identified by "itemName". |
List |
getMaintainableSections(String docTypeName)
Deprecated. |
String |
getMaintenanceDescription(String docTypeName)
Deprecated. Retrieves the description of the maintenance document |
MaintenanceDocumentEntry |
getMaintenanceDocumentEntry(String docTypeName)
Deprecated. |
String |
getMaintenanceLabel(String docTypeName)
Deprecated. Retrieves the label for a maintenance document type |
boolean |
getPreserveLockingKeysOnCopy(Class businessObjectClass)
Deprecated. for issue KULRice 3072 |
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService)
Deprecated. |
Boolean |
translateCodes(Class businessObjectClass)
Deprecated. |
void |
validateMaintainableCollectionsAddLineRequiredFields(MaintenanceDocument document,
PersistableBusinessObject businessObject,
String collectionName)
Deprecated. |
void |
validateMaintainableCollectionsForDuplicateEntries(MaintenanceDocument document)
Deprecated. default implementation checks for duplicats based on keys of objects only |
void |
validateMaintenanceRequiredFields(MaintenanceDocument document)
Deprecated. Validates the maintenance document contains values for the fields declared as required in the maintenance document data dictionary file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
Constructor Detail |
---|
public MaintenanceDocumentDictionaryServiceImpl()
Method Detail |
---|
protected DocumentType getDocumentType(String documentTypeName)
documentTypeName
-
public String getMaintenanceLabel(String docTypeName)
MaintenanceDocumentDictionaryService
getMaintenanceLabel
in interface MaintenanceDocumentDictionaryService
docTypeName
- - doc type to retrieve label for
MaintenanceDocumentDictionaryService.getMaintenanceLabel(java.lang.String)
public String getMaintenanceDescription(String docTypeName)
MaintenanceDocumentDictionaryService
getMaintenanceDescription
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getMaintenanceDescription(java.lang.String)
@Deprecated public Class getMaintainableClass(String docTypeName)
MaintenanceDocumentDictionaryService
getMaintainableClass
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getMaintainableClass(java.lang.String)
public Class getDataObjectClass(String docTypeName)
MaintenanceDocumentDictionaryService
getDataObjectClass
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getDataObjectClass(java.lang.String)
public String getDocumentTypeName(Class businessObjectClass)
MaintenanceDocumentDictionaryService
getDocumentTypeName
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getDocumentTypeName(java.lang.Class)
@Deprecated public List getMaintainableSections(String docTypeName)
MaintenanceDocumentDictionaryService
getMaintainableSections
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getMaintainableSections(java.lang.String)
public Collection getDefaultExistenceChecks(Class businessObjectClass)
MaintenanceDocumentDictionaryService
getDefaultExistenceChecks
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getDefaultExistenceChecks(java.lang.Class)
public Collection getDefaultExistenceChecks(String docTypeName)
MaintenanceDocumentDictionaryService
getDefaultExistenceChecks
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getDefaultExistenceChecks(java.lang.String)
public List getLockingKeys(String docTypeName)
MaintenanceDocumentDictionaryService
getLockingKeys
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getLockingKeys(java.lang.String)
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
dataDictionaryService
- public DataDictionary getDataDictionary()
public MaintenanceDocumentEntry getMaintenanceDocumentEntry(String docTypeName)
getMaintenanceDocumentEntry
in interface MaintenanceDocumentDictionaryService
docTypeName
-
public String getFieldDefaultValue(Class boClass, String fieldName)
MaintenanceDocumentDictionaryService
getFieldDefaultValue
in interface MaintenanceDocumentDictionaryService
boClass
- - the class of BO being maintainedfieldName
- - the fieldName of the attribute for which the default is desired
MaintenanceDocumentDictionaryService.getFieldDefaultValue(java.lang.Class, java.lang.String)
public String getFieldDefaultValue(String docTypeName, String fieldName)
MaintenanceDocumentDictionaryService
getFieldDefaultValue
in interface MaintenanceDocumentDictionaryService
docTypeName
- - the document type name of the maintainablefieldName
- - the fieldName of the attribute for which the default is desired
MaintenanceDocumentDictionaryService.getFieldDefaultValue(java.lang.String, java.lang.String)
public String getCollectionFieldDefaultValue(String docTypeName, String collectionName, String fieldName)
MaintenanceDocumentDictionaryService
getCollectionFieldDefaultValue
in interface MaintenanceDocumentDictionaryService
docTypeName
- - the document type name of the maintainablecollectionName
- - the name attribute of the collection to which the field belongsfieldName
- - the fieldName of the attribute for which the default is desired
MaintenanceDocumentDictionaryService.getCollectionFieldDefaultValue(java.lang.String,
java.lang.String, java.lang.String)
public Boolean getAllowsCopy(MaintenanceDocument document)
MaintenanceDocumentDictionaryService
getAllowsCopy
in interface MaintenanceDocumentDictionaryService
document
- - maintenance document instance to check copy flag for
MaintenanceDocumentDictionaryService.getAllowsCopy(MaintenanceDocument)
public Boolean getAllowsNewOrCopy(String docTypeName)
MaintenanceDocumentDictionaryService
getAllowsNewOrCopy
in interface MaintenanceDocumentDictionaryService
MaintenanceDocumentDictionaryService.getAllowsNewOrCopy(java.lang.String)
public MaintainableItemDefinition getMaintainableItem(String docTypeName, String itemName)
MaintenanceDocumentDictionaryService
getMaintainableItem
in interface MaintenanceDocumentDictionaryService
public MaintainableFieldDefinition getMaintainableField(String docTypeName, String fieldName)
MaintenanceDocumentDictionaryService
getMaintainableField
in interface MaintenanceDocumentDictionaryService
public MaintainableCollectionDefinition getMaintainableCollection(String docTypeName, String collectionName)
MaintenanceDocumentDictionaryService
getMaintainableCollection
in interface MaintenanceDocumentDictionaryService
public Class getCollectionBusinessObjectClass(String docTypeName, String collectionName)
MaintenanceDocumentDictionaryService
getCollectionBusinessObjectClass
in interface MaintenanceDocumentDictionaryService
public List<MaintainableCollectionDefinition> getMaintainableCollections(String docTypeName)
MaintenanceDocumentDictionaryService
getMaintainableCollections
in interface MaintenanceDocumentDictionaryService
public List<MaintainableCollectionDefinition> getMaintainableCollections(MaintainableCollectionDefinition parentCollection)
MaintenanceDocumentDictionaryService
getMaintainableCollections
in interface MaintenanceDocumentDictionaryService
public void validateMaintenanceRequiredFields(MaintenanceDocument document)
MaintenanceDocumentDictionaryService
validateMaintenanceRequiredFields
in interface MaintenanceDocumentDictionaryService
org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService#validateMaintenanceRequiredFields(org.kuali.rice.krad.maintenance.MaintenanceDocument)
public void validateMaintainableCollectionsAddLineRequiredFields(MaintenanceDocument document, PersistableBusinessObject businessObject, String collectionName)
validateMaintainableCollectionsAddLineRequiredFields
in interface MaintenanceDocumentDictionaryService
public void validateMaintainableCollectionsForDuplicateEntries(MaintenanceDocument document)
validateMaintainableCollectionsForDuplicateEntries
in interface MaintenanceDocumentDictionaryService
org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService#validateMaintainableCollectionsForDuplicateEntries(org.kuali.rice.krad.maintenance.MaintenanceDocument)
public boolean getPreserveLockingKeysOnCopy(Class businessObjectClass)
getPreserveLockingKeysOnCopy
in interface MaintenanceDocumentDictionaryService
businessObjectClass
- - class for the data object to check
org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService#getgetPreserveLockingKeysOnCopy(java.lang.Class)
public Boolean getAllowsRecordDeletion(Class businessObjectClass)
getAllowsRecordDeletion
in interface MaintenanceDocumentDictionaryService
businessObjectClass
- - class for the data object to check
MaintenanceDocumentDictionaryService.getAllowsRecordDeletion(java.lang.Class)
public Boolean getAllowsRecordDeletion(MaintenanceDocument document)
getAllowsRecordDeletion
in interface MaintenanceDocumentDictionaryService
document
- - maintenance document instance to check
org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService#getAllowsRecordDeletion(org.kuali.rice.krad.maintenance.MaintenanceDocument)
public Boolean translateCodes(Class businessObjectClass)
translateCodes
in interface MaintenanceDocumentDictionaryService
businessObjectClass
- - business object class for maintenance definition
MaintenanceDocumentDictionaryService.translateCodes(java.lang.Class)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |