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 TypeMethodDescriptionprotected List<org.kuali.rice.kns.web.ui.Row> createFieldRowsForBusinessObject(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass) Deprecated.Creates a list of search fields, one for each primary key of the maintained business objectprotected List<org.kuali.rice.kns.web.ui.Row> createFieldRowsForWorkflowAttributes(org.kuali.rice.krad.datadictionary.WorkflowAttributes attrs) Deprecated.List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> extractDocumentAttributes(org.kuali.rice.kew.api.extension.ExtensionDefinition extensionDefinition, org.kuali.rice.kew.api.document.DocumentWithContent documentWithContent) Deprecated.protected List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> findAllDocumentAttributesForGlobalBusinessObject(org.kuali.rice.kns.bo.GlobalBusinessObject globalBO) Deprecated.protected org.kuali.rice.kew.api.document.attribute.DocumentAttributegenerateSearchableAttributeFromChange(Object changeToPersist) Deprecated.generateSearchContent(org.kuali.rice.kew.api.extension.ExtensionDefinition extensionDefinition, String documentTypeName, org.kuali.rice.kew.api.document.attribute.WorkflowAttributeDefinition attributeDefinition) Deprecated.protected Class<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> getBusinessObjectClass(String documentTypeName) Deprecated.Returns the class of the object being maintained by the given maintenance document type nameprotected Class<? extends org.kuali.rice.kns.maintenance.Maintainable> getMaintainableClass(String documentTypeName) Deprecated.Returns the maintainable of the object being maintained by the given maintenance document type nameList<org.kuali.rice.core.api.uif.RemotableAttributeField> getSearchFields(org.kuali.rice.kew.api.extension.ExtensionDefinition extensionDefinition, String documentTypeName) Deprecated.protected List<org.kuali.rice.kns.web.ui.Row> getSearchingRows(String documentTypeName) Deprecated.Produces legacy KNS rows to use for search attributes.protected List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> parsePrimaryKeyValuesFromDocument(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, org.kuali.rice.kns.document.MaintenanceDocument document) Deprecated.protected org.kuali.rice.kew.api.document.attribute.DocumentAttributeparseSearchableAttributeValueForPrimaryKey(String propertyName, Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, org.kuali.rice.kns.document.MaintenanceDocument document) Deprecated.Creates a searchable attribute value for the given property name out of the document XMLprotected org.kuali.rice.kns.bo.GlobalBusinessObjectretrieveGlobalBusinessObject(String documentNumber, Class<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> businessObjectClass) Deprecated.protected org.kuali.rice.kns.datadictionary.MaintenanceDocumentEntryretrieveMaintenanceDocumentEntry(String documentTypeName) Deprecated.Retrieves the maintenance document entry for the given document type nameprotected voidretrieveValidationErrorsFromGlobalVariables(List<org.kuali.rice.core.api.uif.RemotableAttributeError> validationErrors) Deprecated.Retrieves validation errors from GlobalVariables MessageMap and appends to the given list of RemotableAttributeErrorList<org.kuali.rice.core.api.uif.RemotableAttributeError> validateDocumentAttributeCriteria(org.kuali.rice.kew.api.extension.ExtensionDefinition extensionDefinition, org.kuali.rice.kew.api.document.search.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(org.kuali.rice.kew.api.extension.ExtensionDefinition extensionDefinition, String documentTypeName, org.kuali.rice.kew.api.document.attribute.WorkflowAttributeDefinition attributeDefinition) Deprecated.- Specified by:
generateSearchContentin interfaceorg.kuali.rice.kew.framework.document.attribute.SearchableAttribute
-
extractDocumentAttributes
public List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> extractDocumentAttributes(org.kuali.rice.kew.api.extension.ExtensionDefinition extensionDefinition, org.kuali.rice.kew.api.document.DocumentWithContent documentWithContent) Deprecated.- Specified by:
extractDocumentAttributesin interfaceorg.kuali.rice.kew.framework.document.attribute.SearchableAttribute
-
getSearchFields
public List<org.kuali.rice.core.api.uif.RemotableAttributeField> getSearchFields(org.kuali.rice.kew.api.extension.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<org.kuali.rice.core.api.uif.RemotableAttributeError> validateDocumentAttributeCriteria(org.kuali.rice.kew.api.extension.ExtensionDefinition extensionDefinition, org.kuali.rice.kew.api.document.search.DocumentSearchCriteria documentSearchCriteria) Deprecated.- Specified by:
validateDocumentAttributeCriteriain interfaceorg.kuali.rice.kew.framework.document.attribute.SearchableAttribute
-
retrieveValidationErrorsFromGlobalVariables
protected void retrieveValidationErrorsFromGlobalVariables(List<org.kuali.rice.core.api.uif.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
protected List<org.kuali.rice.kns.web.ui.Row> createFieldRowsForWorkflowAttributes(org.kuali.rice.krad.datadictionary.WorkflowAttributes attrs) Deprecated. -
parsePrimaryKeyValuesFromDocument
protected List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> parsePrimaryKeyValuesFromDocument(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, org.kuali.rice.kns.document.MaintenanceDocument document) Deprecated. -
parseSearchableAttributeValueForPrimaryKey
protected org.kuali.rice.kew.api.document.attribute.DocumentAttribute parseSearchableAttributeValueForPrimaryKey(String propertyName, Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, org.kuali.rice.kns.document.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 org.kuali.rice.krad.bo.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
protected Class<? extends org.kuali.rice.kns.maintenance.Maintainable> getMaintainableClass(String documentTypeName) 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
protected org.kuali.rice.kns.datadictionary.MaintenanceDocumentEntry retrieveMaintenanceDocumentEntry(String documentTypeName) 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 org.kuali.rice.kns.bo.GlobalBusinessObject retrieveGlobalBusinessObject(String documentNumber, Class<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> businessObjectClass) Deprecated. -
findAllDocumentAttributesForGlobalBusinessObject
protected List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> findAllDocumentAttributesForGlobalBusinessObject(org.kuali.rice.kns.bo.GlobalBusinessObject globalBO) Deprecated. -
generateSearchableAttributeFromChange
protected org.kuali.rice.kew.api.document.attribute.DocumentAttribute generateSearchableAttributeFromChange(Object changeToPersist) Deprecated. -
createFieldRowsForBusinessObject
protected List<org.kuali.rice.kns.web.ui.Row> createFieldRowsForBusinessObject(Class<? extends org.kuali.rice.krad.bo.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
-