Class WorkflowAttributePropertyResolutionServiceImpl
java.lang.Object
org.kuali.rice.kns.workflow.service.impl.WorkflowAttributePropertyResolutionServiceImpl
- All Implemented Interfaces:
org.kuali.rice.kns.service.WorkflowAttributePropertyResolutionService
@Deprecated
public class WorkflowAttributePropertyResolutionServiceImpl
extends Object
implements org.kuali.rice.kns.service.WorkflowAttributePropertyResolutionService
Deprecated.
Only used by KNS classes, no replacement.
The default implementation of the WorkflowAttributePropertyResolutionServiceImpl
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaardvarkSearchValuesForPaths(org.kuali.rice.krad.document.Document document, List<String> paths) Deprecated.Pulls values as objects from the document for the given pathsprotected List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> aardvarkValuesForSearchingTypeDefinition(org.kuali.rice.krad.document.Document document, org.kuali.rice.krad.datadictionary.SearchingTypeDefinition searchingTypeDefinition) Deprecated.Pulls SearchableAttributeValue values from the given document for the given searchingTypeDefinitionprotected voidaddPathValuesToQualifier(Object businessObject, List<String> paths, org.kuali.rice.kns.workflow.service.impl.WorkflowAttributePropertyResolutionServiceImpl.RoutingAttributeTracker routingAttributes, Map<String, String> qualifier) Deprecated.Aardvarks values out of a business object and puts them into an Mapinvalid input: '<'String, String>, based on a List of pathsorg.kuali.rice.kew.api.document.attribute.DocumentAttributebuildSearchableAttribute(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, String attributeKey, Object value) Deprecated.Using the type of the sent in value, determines what kind of SearchableAttributeValue implementation should be passed backprotected org.kuali.rice.kew.api.document.attribute.DocumentAttributeDateTimebuildSearchableDateTimeAttribute(String attributeKey, Object value) Deprecated.Builds a date time SearchableAttributeValue for the given key and valueprotected org.kuali.rice.kew.api.document.attribute.DocumentAttributeIntegerbuildSearchableFixnumAttribute(String attributeKey, Object value) Deprecated.Builds a "integer" SearchableAttributeValue for the given key and valueprotected org.kuali.rice.kew.api.document.attribute.DocumentAttributeDecimalbuildSearchableRealAttribute(String attributeKey, Object value) Deprecated.Builds a "float" SearchableAttributeValue for the given key and valueprotected org.kuali.rice.kew.api.document.attribute.DocumentAttributeStringbuildSearchableStringAttribute(String attributeKey, Object value) Deprecated.Our last ditch attempt, this builds a String SearchableAttributeValue for the given key and valueprotected org.kuali.rice.kew.api.document.attribute.DocumentAttributeStringbuildSearchableYesNoAttribute(String attributeKey, Object value) Deprecated.This builds a String SearchableAttributeValue for the given key and value, correctly correlating booleanscleanCollectionQualifiers(List<Map<String, String>> qualifiers) Deprecated.Removes empty Mapinvalid input: '<'String, String>s from the given List of qualifiersprotected voidDeprecated.Copies all the values from one qualifier to anotherdetermineFieldDataType(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, String attributeName) Deprecated.protected voidflatAdd(Collection c, Object o) Deprecated.Convenience method which makes sure that if the given object is a collection, it is added to the given collection flatlyprotected org.kuali.rice.kns.service.BusinessObjectMetaDataServiceDeprecated.protected CollectiongetCollectionByPath(Object businessObject, String collectionPath) Deprecated.Returns a collection from a path on a business objectorg.kuali.rice.krad.service.PersistenceStructureServiceDeprecated.Gets the persistenceStructureService attribute.getPropertyByPath(Object object, String path) Deprecated.getPropertyOfCollectionByPath(Collection collection, String path) Deprecated.Finds a child object, specified by the given path, on each object of the given collectionprotected String[]headAndTailPath(String path) Deprecated.Splits the first property off from a path, leaving the tailmakeNewCollectionOfSameType(Collection collection) Deprecated.Makes a new collection of exactly the same type of the collection that was handed to itresolveDocumentCollectionPath(Object businessObject, org.kuali.rice.krad.datadictionary.DocumentCollectionPath collectionPath, org.kuali.rice.kns.workflow.service.impl.WorkflowAttributePropertyResolutionServiceImpl.RoutingAttributeTracker routingAttributeTracker) Deprecated.Resolves document values from a collection path on a given business objectresolveDocumentValuePath(Object businessObject, org.kuali.rice.krad.datadictionary.DocumentValuePathGroup group, org.kuali.rice.kns.workflow.service.impl.WorkflowAttributePropertyResolutionServiceImpl.RoutingAttributeTracker routingAttributeTracker) Deprecated.Resolves all of the values in the given DocumentValuePathGroup from the given BusinessObjectresolveRoutingTypeQualifiers(org.kuali.rice.krad.document.Document document, org.kuali.rice.krad.datadictionary.RoutingTypeDefinition routingTypeDefinition) Deprecated.Using the proper RoutingTypeDefinition for the current routing node of the document, aardvarks out the proper routing type qualifiersList<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> resolveSearchableAttributeValues(org.kuali.rice.krad.document.Document document, org.kuali.rice.krad.datadictionary.WorkflowAttributes workflowAttributes) Deprecated.Resolves all of the searching values to index for the given document, returning a list of SearchableAttributeValue implementationsvoidsetPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService) Deprecated.Sets the persistenceStructureService attribute value.
-
Constructor Details
-
WorkflowAttributePropertyResolutionServiceImpl
public WorkflowAttributePropertyResolutionServiceImpl()Deprecated.
-
-
Method Details
-
resolveRoutingTypeQualifiers
public List<Map<String,String>> resolveRoutingTypeQualifiers(org.kuali.rice.krad.document.Document document, org.kuali.rice.krad.datadictionary.RoutingTypeDefinition routingTypeDefinition) Deprecated.Using the proper RoutingTypeDefinition for the current routing node of the document, aardvarks out the proper routing type qualifiers- Specified by:
resolveRoutingTypeQualifiersin interfaceorg.kuali.rice.kns.service.WorkflowAttributePropertyResolutionService
-
resolveDocumentValuePath
protected List<Map<String,String>> resolveDocumentValuePath(Object businessObject, org.kuali.rice.krad.datadictionary.DocumentValuePathGroup group, org.kuali.rice.kns.workflow.service.impl.WorkflowAttributePropertyResolutionServiceImpl.RoutingAttributeTracker routingAttributeTracker) Deprecated.Resolves all of the values in the given DocumentValuePathGroup from the given BusinessObject- Parameters:
businessObject- the business object which is the source of valuesgroup- the DocumentValuePathGroup which tells us which values we want- Returns:
- a List of Mapinvalid input: '<'String, String>s
-
resolveDocumentCollectionPath
protected List<Map<String,String>> resolveDocumentCollectionPath(Object businessObject, org.kuali.rice.krad.datadictionary.DocumentCollectionPath collectionPath, org.kuali.rice.kns.workflow.service.impl.WorkflowAttributePropertyResolutionServiceImpl.RoutingAttributeTracker routingAttributeTracker) Deprecated.Resolves document values from a collection path on a given business object- Parameters:
businessObject- the business object which has a collection, each element of which is a source of valuescollectionPath- the information about what values to pull from each element of the collection- Returns:
- a List of Mapinvalid input: '<'String, String>s
-
getCollectionByPath
Deprecated.Returns a collection from a path on a business object- Parameters:
businessObject- the business object to get values fromcollectionPath- the path to that collection- Returns:
- hopefully, a collection of objects
-
addPathValuesToQualifier
protected void addPathValuesToQualifier(Object businessObject, List<String> paths, org.kuali.rice.kns.workflow.service.impl.WorkflowAttributePropertyResolutionServiceImpl.RoutingAttributeTracker routingAttributes, Map<String, String> qualifier) Deprecated.Aardvarks values out of a business object and puts them into an Mapinvalid input: '<'String, String>, based on a List of paths- Parameters:
businessObject- the business object to get values frompaths- the paths of values to get from the qualifierroutingAttributes- the RoutingAttribute associated with this qualifier's document valuequalifier- the qualifier to put values into
-
copyQualifications
Deprecated.Copies all the values from one qualifier to another- Parameters:
source- the source of valuestarget- the place to write all the values to
-
resolveSearchableAttributeValues
public List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> resolveSearchableAttributeValues(org.kuali.rice.krad.document.Document document, org.kuali.rice.krad.datadictionary.WorkflowAttributes workflowAttributes) Deprecated.Resolves all of the searching values to index for the given document, returning a list of SearchableAttributeValue implementations- Specified by:
resolveSearchableAttributeValuesin interfaceorg.kuali.rice.kns.service.WorkflowAttributePropertyResolutionService
-
aardvarkValuesForSearchingTypeDefinition
protected List<org.kuali.rice.kew.api.document.attribute.DocumentAttribute> aardvarkValuesForSearchingTypeDefinition(org.kuali.rice.krad.document.Document document, org.kuali.rice.krad.datadictionary.SearchingTypeDefinition searchingTypeDefinition) Deprecated.Pulls SearchableAttributeValue values from the given document for the given searchingTypeDefinition- Parameters:
document- the document to get search values fromsearchingTypeDefinition- the current SearchingTypeDefinition to find values for- Returns:
- a List of SearchableAttributeValue implementations
-
aardvarkSearchValuesForPaths
protected List<Object> aardvarkSearchValuesForPaths(org.kuali.rice.krad.document.Document document, List<String> paths) Deprecated.Pulls values as objects from the document for the given paths- Parameters:
document- the document to pull values frompaths- the property paths to pull values- Returns:
- a List of values as Objects
-
cleanCollectionQualifiers
Deprecated.Removes empty Mapinvalid input: '<'String, String>s from the given List of qualifiers- Parameters:
qualifiers- a List of Mapinvalid input: '<'String, String>s holding qualifiers for responsibilities- Returns:
- a cleaned up list of qualifiers
-
determineFieldDataType
public String determineFieldDataType(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, String attributeName) Deprecated.- Specified by:
determineFieldDataTypein interfaceorg.kuali.rice.kns.service.WorkflowAttributePropertyResolutionService
-
buildSearchableAttribute
public org.kuali.rice.kew.api.document.attribute.DocumentAttribute buildSearchableAttribute(Class<? extends org.kuali.rice.krad.bo.BusinessObject> businessObjectClass, String attributeKey, Object value) Deprecated.Using the type of the sent in value, determines what kind of SearchableAttributeValue implementation should be passed back- Specified by:
buildSearchableAttributein interfaceorg.kuali.rice.kns.service.WorkflowAttributePropertyResolutionService- Parameters:
attributeKey-value-- Returns:
-
buildSearchableDateTimeAttribute
protected org.kuali.rice.kew.api.document.attribute.DocumentAttributeDateTime buildSearchableDateTimeAttribute(String attributeKey, Object value) Deprecated.Builds a date time SearchableAttributeValue for the given key and value- Parameters:
attributeKey- the key for the searchable attributevalue- the value that will be coerced to date/time data- Returns:
- the generated SearchableAttributeDateTimeValue
-
buildSearchableRealAttribute
protected org.kuali.rice.kew.api.document.attribute.DocumentAttributeDecimal buildSearchableRealAttribute(String attributeKey, Object value) Deprecated.Builds a "float" SearchableAttributeValue for the given key and value- Parameters:
attributeKey- the key for the searchable attributevalue- the value that will be coerced to "float" data- Returns:
- the generated SearchableAttributeFloatValue
-
buildSearchableFixnumAttribute
protected org.kuali.rice.kew.api.document.attribute.DocumentAttributeInteger buildSearchableFixnumAttribute(String attributeKey, Object value) Deprecated.Builds a "integer" SearchableAttributeValue for the given key and value- Parameters:
attributeKey- the key for the searchable attributevalue- the value that will be coerced to "integer" type data- Returns:
- the generated SearchableAttributeLongValue
-
buildSearchableStringAttribute
protected org.kuali.rice.kew.api.document.attribute.DocumentAttributeString buildSearchableStringAttribute(String attributeKey, Object value) Deprecated.Our last ditch attempt, this builds a String SearchableAttributeValue for the given key and value- Parameters:
attributeKey- the key for the searchable attributevalue- the value that will be coerced to a String- Returns:
- the generated SearchableAttributeStringValue
-
buildSearchableYesNoAttribute
protected org.kuali.rice.kew.api.document.attribute.DocumentAttributeString buildSearchableYesNoAttribute(String attributeKey, Object value) Deprecated.This builds a String SearchableAttributeValue for the given key and value, correctly correlating booleans- Parameters:
attributeKey- the key for the searchable attributevalue- the value that will be coerced to a String- Returns:
- the generated SearchableAttributeStringValue
-
getPropertyByPath
Deprecated.- Specified by:
getPropertyByPathin interfaceorg.kuali.rice.kns.service.WorkflowAttributePropertyResolutionService
-
getPropertyOfCollectionByPath
Deprecated.Finds a child object, specified by the given path, on each object of the given collection- Parameters:
collection- the collection of objectspath- the path of the property to retrieve- Returns:
- a Collection of the values culled from each child
-
makeNewCollectionOfSameType
Deprecated.Makes a new collection of exactly the same type of the collection that was handed to it- Parameters:
collection- the collection to make a new collection of the same type as- Returns:
- a new collection. Of the same type.
-
headAndTailPath
Deprecated.Splits the first property off from a path, leaving the tail- Parameters:
path- the path to split- Returns:
- an array; if the path is nested, the first element will be the first part of the path up to a "." and second element is the rest of the path while if the path is simple, returns the path as the first element and a null as the second element
-
flatAdd
Deprecated.Convenience method which makes sure that if the given object is a collection, it is added to the given collection flatly- Parameters:
c- a collection, ready to be added too- an object of dubious type
-
getPersistenceStructureService
public org.kuali.rice.krad.service.PersistenceStructureService getPersistenceStructureService()Deprecated.Gets the persistenceStructureService attribute.- Returns:
- Returns the persistenceStructureService.
-
setPersistenceStructureService
public void setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService) Deprecated.Sets the persistenceStructureService attribute value.- Parameters:
persistenceStructureService- The persistenceStructureService to set.
-
getBusinessObjectMetaDataService
protected org.kuali.rice.kns.service.BusinessObjectMetaDataService getBusinessObjectMetaDataService()Deprecated.
-