Class DataDictionarySearchableAttribute
java.lang.Object
org.kuali.rice.kns.workflow.attribute.DataDictionarySearchableAttribute
- All Implemented Interfaces:
org.kuali.rice.kew.framework.document.attribute.SearchableAttribute
@Deprecated
public class DataDictionarySearchableAttribute
extends Object
implements org.kuali.rice.kew.framework.document.attribute.SearchableAttribute
Deprecated.
Only used by KNS classes, no replacement.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFieldRowsForBusinessObject(Class<? extends BusinessObject> businessObjectClass) Deprecated.Creates a list of search fields, one for each primary key of the maintained business objectDeprecated.extractDocumentAttributes(ExtensionDefinition extensionDefinition, DocumentWithContent documentWithContent) Deprecated.protected List<DocumentAttribute> Deprecated.protected DocumentAttributegenerateSearchableAttributeFromChange(Object changeToPersist) Deprecated.generateSearchContent(ExtensionDefinition extensionDefinition, String documentTypeName, WorkflowAttributeDefinition attributeDefinition) Deprecated.protected Class<? extends PersistableBusinessObject> getBusinessObjectClass(String documentTypeName) Deprecated.Returns the class of the object being maintained by the given maintenance document type nameprotected Class<? extends Maintainable> getMaintainableClass(String documentTypeName) Deprecated.Returns the maintainable of the object being maintained by the given maintenance document type namegetSearchFields(ExtensionDefinition extensionDefinition, String documentTypeName) Deprecated.getSearchingRows(String documentTypeName) Deprecated.Produces legacy KNS rows to use for search attributes.protected List<DocumentAttribute> parsePrimaryKeyValuesFromDocument(Class<? extends BusinessObject> businessObjectClass, MaintenanceDocument document) Deprecated.protected DocumentAttributeparseSearchableAttributeValueForPrimaryKey(String propertyName, Class<? extends BusinessObject> businessObjectClass, MaintenanceDocument document) Deprecated.Creates a searchable attribute value for the given property name out of the document XMLprotected GlobalBusinessObjectretrieveGlobalBusinessObject(String documentNumber, Class<? extends PersistableBusinessObject> businessObjectClass) Deprecated.protected MaintenanceDocumentEntryretrieveMaintenanceDocumentEntry(String documentTypeName) Deprecated.Retrieves the maintenance document entry for the given document type nameprotected voidretrieveValidationErrorsFromGlobalVariables(List<RemotableAttributeError> validationErrors) Deprecated.Retrieves validation errors from GlobalVariables MessageMap and appends to the given list of RemotableAttributeErrorvalidateDocumentAttributeCriteria(ExtensionDefinition extensionDefinition, DocumentSearchCriteria documentSearchCriteria) Deprecated.
-
Field Details
-
DATA_TYPE_BOOLEAN
Deprecated.- See Also:
-
KEW_RUN_MODE_PROPERTY
Deprecated.- See Also:
-
-
Constructor Details
-
DataDictionarySearchableAttribute
public DataDictionarySearchableAttribute()Deprecated.
-
-
Method Details
-
generateSearchContent
public String generateSearchContent(ExtensionDefinition extensionDefinition, String documentTypeName, WorkflowAttributeDefinition attributeDefinition) Deprecated.- Specified by:
generateSearchContentin interfaceorg.kuali.rice.kew.framework.document.attribute.SearchableAttribute
-
extractDocumentAttributes
public List<DocumentAttribute> extractDocumentAttributes(ExtensionDefinition extensionDefinition, DocumentWithContent documentWithContent) Deprecated.- Specified by:
extractDocumentAttributesin interfaceorg.kuali.rice.kew.framework.document.attribute.SearchableAttribute
-
getSearchFields
public List<RemotableAttributeField> getSearchFields(ExtensionDefinition extensionDefinition, String documentTypeName) Deprecated.- Specified by:
getSearchFieldsin interfaceorg.kuali.rice.kew.framework.document.attribute.SearchableAttribute
-
getSearchingRows
Deprecated.Produces legacy KNS rows to use for search attributes. This method was left intact to help ease conversion until KNS is replaced with KRAD. -
validateDocumentAttributeCriteria
public List<RemotableAttributeError> validateDocumentAttributeCriteria(ExtensionDefinition extensionDefinition, DocumentSearchCriteria documentSearchCriteria) Deprecated.- Specified by:
validateDocumentAttributeCriteriain interfaceorg.kuali.rice.kew.framework.document.attribute.SearchableAttribute
-
retrieveValidationErrorsFromGlobalVariables
protected void retrieveValidationErrorsFromGlobalVariables(List<RemotableAttributeError> validationErrors) Deprecated.Retrieves validation errors from GlobalVariables MessageMap and appends to the given list of RemotableAttributeError- Parameters:
validationErrors- list to append validation errors
-
createFieldRowsForWorkflowAttributes
Deprecated. -
parsePrimaryKeyValuesFromDocument
protected List<DocumentAttribute> parsePrimaryKeyValuesFromDocument(Class<? extends BusinessObject> businessObjectClass, MaintenanceDocument document) Deprecated. -
parseSearchableAttributeValueForPrimaryKey
protected DocumentAttribute parseSearchableAttributeValueForPrimaryKey(String propertyName, Class<? extends BusinessObject> businessObjectClass, MaintenanceDocument document) Deprecated.Creates a searchable attribute value for the given property name out of the document XML- Parameters:
propertyName- the name of the property to returnbusinessObjectClass- the class of the business object maintaineddocument- the document XML- Returns:
- a generated SearchableAttributeValue, or null if a value could not be created
-
getBusinessObjectClass
protected Class<? extends PersistableBusinessObject> getBusinessObjectClass(String documentTypeName) Deprecated.Returns the class of the object being maintained by the given maintenance document type name- Parameters:
documentTypeName- the name of the document type to look up the maintained business object for- Returns:
- the class of the maintained business object
-
getMaintainableClass
Deprecated.Returns the maintainable of the object being maintained by the given maintenance document type name- Parameters:
documentTypeName- the name of the document type to look up the maintained business object for- Returns:
- the Maintainable of the maintained business object
-
retrieveMaintenanceDocumentEntry
Deprecated.Retrieves the maintenance document entry for the given document type name- Parameters:
documentTypeName- the document type name to look up the data dictionary document entry for- Returns:
- the corresponding data dictionary entry for a maintenance document
-
retrieveGlobalBusinessObject
protected GlobalBusinessObject retrieveGlobalBusinessObject(String documentNumber, Class<? extends PersistableBusinessObject> businessObjectClass) Deprecated. -
findAllDocumentAttributesForGlobalBusinessObject
protected List<DocumentAttribute> findAllDocumentAttributesForGlobalBusinessObject(GlobalBusinessObject globalBO) Deprecated. -
generateSearchableAttributeFromChange
Deprecated. -
createFieldRowsForBusinessObject
protected List<Row> createFieldRowsForBusinessObject(Class<? extends BusinessObject> businessObjectClass) Deprecated.Creates a list of search fields, one for each primary key of the maintained business object- Parameters:
businessObjectClass- the class of the maintained business object- Returns:
- a List of KEW search fields
-