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
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
     
    static final String
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    protected 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.DocumentAttribute
    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 name
    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
    List<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.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
    protected org.kuali.rice.kns.bo.GlobalBusinessObject
    retrieveGlobalBusinessObject(String documentNumber, Class<? extends org.kuali.rice.krad.bo.PersistableBusinessObject> businessObjectClass)
    Deprecated.
     
    protected org.kuali.rice.kns.datadictionary.MaintenanceDocumentEntry
    Deprecated.
    Retrieves the maintenance document entry for the given document type name
    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
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      generateSearchContent in interface org.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:
      extractDocumentAttributes in interface org.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:
      getSearchFields in interface org.kuali.rice.kew.framework.document.attribute.SearchableAttribute
    • getSearchingRows

      protected List<org.kuali.rice.kns.web.ui.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<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:
      validateDocumentAttributeCriteria in interface org.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 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 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