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 Details

  • Constructor Details

    • DataDictionarySearchableAttribute

      public DataDictionarySearchableAttribute()
      Deprecated.
  • Method Details

    • generateSearchContent

      public String generateSearchContent(ExtensionDefinition extensionDefinition, String documentTypeName, WorkflowAttributeDefinition attributeDefinition)
      Deprecated.
      Specified by:
      generateSearchContent in interface org.kuali.rice.kew.framework.document.attribute.SearchableAttribute
    • extractDocumentAttributes

      public List<DocumentAttribute> extractDocumentAttributes(ExtensionDefinition extensionDefinition, DocumentWithContent documentWithContent)
      Deprecated.
      Specified by:
      extractDocumentAttributes in interface org.kuali.rice.kew.framework.document.attribute.SearchableAttribute
    • getSearchFields

      public List<RemotableAttributeField> getSearchFields(ExtensionDefinition extensionDefinition, String documentTypeName)
      Deprecated.
      Specified by:
      getSearchFields in interface org.kuali.rice.kew.framework.document.attribute.SearchableAttribute
    • getSearchingRows

      protected List<Row> getSearchingRows(String documentTypeName)
      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:
      validateDocumentAttributeCriteria in interface org.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

      protected List<Row> createFieldRowsForWorkflowAttributes(WorkflowAttributes attrs)
      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 return
      businessObjectClass - the class of the business object maintained
      document - 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

      protected Class<? extends 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 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 GlobalBusinessObject retrieveGlobalBusinessObject(String documentNumber, Class<? extends PersistableBusinessObject> businessObjectClass)
      Deprecated.
    • findAllDocumentAttributesForGlobalBusinessObject

      protected List<DocumentAttribute> findAllDocumentAttributesForGlobalBusinessObject(GlobalBusinessObject globalBO)
      Deprecated.
    • generateSearchableAttributeFromChange

      protected DocumentAttribute generateSearchableAttributeFromChange(Object changeToPersist)
      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