org.kuali.rice.kew.routeheader.service.impl
Class RouteHeaderServiceImpl
java.lang.Object
   org.kuali.rice.kew.routeheader.service.impl.RouteHeaderServiceImpl
org.kuali.rice.kew.routeheader.service.impl.RouteHeaderServiceImpl
- All Implemented Interfaces: 
- RouteHeaderService
- public class RouteHeaderServiceImpl 
- extends Object- implements RouteHeaderService
 
| Method Summary | 
|  void | clearRouteHeaderSearchValues(String documentId)Removes all SearchableAttributeValues associated with the RouteHeader.
 | 
|  void | deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
 | 
|  Collection | findByDocTypeAndAppId(String documentTypeName,
                                           String appId)
 | 
|  Collection | findPendingByResponsibilityIds(Set responsibilityIds)
 | 
|  String | getAppDocId(String documentId)
 | 
|  String | getApplicationIdByDocumentId(String documentId)Returns the application id of the
 DocumentTypefor the Document with the given ID. | 
|  DocumentRouteHeaderValueContent | getContent(String documentId)
 | 
|  String | getDocumentStatus(String documentId)
 | 
|  String | getNextDocumentId()
 | 
|  DocumentRouteHeaderValue | getRouteHeader(String documentId)
 | 
|  DocumentRouteHeaderValue | getRouteHeader(String documentId,
                             boolean clearCache)
 | 
|  DocumentRouteHeaderDAO | getRouteHeaderDAO()
 | 
|  Collection<DocumentRouteHeaderValue> | getRouteHeaders(Collection<String> documentIds)
 | 
|  Collection<DocumentRouteHeaderValue> | getRouteHeaders(Collection<String> documentIds,
                               boolean clearCache)
 | 
|  Map<String,DocumentRouteHeaderValue> | getRouteHeadersForActionItems(Collection<ActionItem> actionItems)
 | 
|  SearchableAttributeDAO | getSearchableAttributeDAO()
 | 
|  List<Timestamp> | getSearchableAttributeDateTimeValuesByKey(String documentId,
                                                                                   String key)This method is a more direct way to get the searchable attribute values
 | 
|  List<BigDecimal> | getSearchableAttributeFloatValuesByKey(String documentId,
                                                                             String key)This method is a more direct way to get the searchable attribute values
 | 
|  List<Long> | getSearchableAttributeLongValuesByKey(String documentId,
                                                                           String key)This method is a more direct way to get the searchable attribute values
 | 
|  List<String> | getSearchableAttributeStringValuesByKey(String documentId,
                                                                               String key)This method is a more direct way to get the searchable attribute values
 | 
|  boolean | hasSearchableAttributeValue(String documentId,
                                                       String searchableAttributeKey,
                                                       String searchableAttributeValue)
 | 
|  void | lockRouteHeader(String documentId,
                               boolean wait)
 | 
|  void | saveRouteHeader(DocumentRouteHeaderValue routeHeader)
 | 
|  void | setRouteHeaderDAO(DocumentRouteHeaderDAO routeHeaderDAO)
 | 
|  void | setSearchableAttributeDAO(SearchableAttributeDAO searchableAttributeDAO)
 | 
|  void | updateRouteHeaderSearchValues(String documentId,
                                                           List<SearchableAttributeValue> searchAttributes)Updates the searchable attribute values for the document with the given id to the given values.
 | 
|  void | validateRouteHeader(DocumentRouteHeaderValue routeHeader)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RouteHeaderServiceImpl
public RouteHeaderServiceImpl()
getRouteHeader
public DocumentRouteHeaderValue getRouteHeader(String documentId)
- 
- Specified by:
- getRouteHeaderin interface- RouteHeaderService
 
- 
 
getRouteHeader
public DocumentRouteHeaderValue getRouteHeader(String documentId,
                                               boolean clearCache)
- 
- Specified by:
- getRouteHeaderin interface- RouteHeaderService
 
- 
 
getRouteHeaders
public Collection<DocumentRouteHeaderValue> getRouteHeaders(Collection<String> documentIds)
- 
- Specified by:
- getRouteHeadersin interface- RouteHeaderService
 
- 
 
getRouteHeaders
public Collection<DocumentRouteHeaderValue> getRouteHeaders(Collection<String> documentIds,
                                                            boolean clearCache)
- 
- Specified by:
- getRouteHeadersin interface- RouteHeaderService
 
- 
 
getRouteHeadersForActionItems
public Map<String,DocumentRouteHeaderValue> getRouteHeadersForActionItems(Collection<ActionItem> actionItems)
- 
- Specified by:
- getRouteHeadersForActionItemsin interface- RouteHeaderService
 
- 
 
lockRouteHeader
public void lockRouteHeader(String documentId,
                            boolean wait)
- 
- Specified by:
- lockRouteHeaderin interface- RouteHeaderService
 
- 
 
saveRouteHeader
public void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
- 
- Specified by:
- saveRouteHeaderin interface- RouteHeaderService
 
- 
 
deleteRouteHeader
public void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
- 
- Specified by:
- deleteRouteHeaderin interface- RouteHeaderService
 
- 
 
getNextDocumentId
public String getNextDocumentId()
- 
- Specified by:
- getNextDocumentIdin interface- RouteHeaderService
 
- 
 
findPendingByResponsibilityIds
public Collection findPendingByResponsibilityIds(Set responsibilityIds)
- 
- Specified by:
- findPendingByResponsibilityIdsin interface- RouteHeaderService
 
- 
 
clearRouteHeaderSearchValues
public void clearRouteHeaderSearchValues(String documentId)
- Description copied from interface: RouteHeaderService
- Removes all SearchableAttributeValues associated with the RouteHeader.
 
- 
- Specified by:
- clearRouteHeaderSearchValuesin interface- RouteHeaderService
 
- 
 
updateRouteHeaderSearchValues
public void updateRouteHeaderSearchValues(String documentId,
                                          List<SearchableAttributeValue> searchAttributes)
- Description copied from interface: RouteHeaderService
- Updates the searchable attribute values for the document with the given id to the given values.
 This method will clear existing search attribute values and replace with the ones given.
 
- 
- Specified by:
- updateRouteHeaderSearchValuesin interface- RouteHeaderService
 
- 
 
validateRouteHeader
public void validateRouteHeader(DocumentRouteHeaderValue routeHeader)
- 
- Specified by:
- validateRouteHeaderin interface- RouteHeaderService
 
- 
 
getApplicationIdByDocumentId
public String getApplicationIdByDocumentId(String documentId)
- Description copied from interface: RouteHeaderService
- Returns the application id of the DocumentTypefor the Document with the given ID.
 
- 
- Specified by:
- getApplicationIdByDocumentIdin interface- RouteHeaderService
 
- 
 
getContent
public DocumentRouteHeaderValueContent getContent(String documentId)
- 
- Specified by:
- getContentin interface- RouteHeaderService
 
- 
 
hasSearchableAttributeValue
public boolean hasSearchableAttributeValue(String documentId,
                                           String searchableAttributeKey,
                                           String searchableAttributeValue)
- 
- Specified by:
- hasSearchableAttributeValuein interface- RouteHeaderService
 
- 
 
getDocumentStatus
public String getDocumentStatus(String documentId)
- 
- Specified by:
- getDocumentStatusin interface- RouteHeaderService
 
- 
 
getAppDocId
public String getAppDocId(String documentId)
- 
- Specified by:
- getAppDocIdin interface- RouteHeaderService
 
- 
 
getRouteHeaderDAO
public DocumentRouteHeaderDAO getRouteHeaderDAO()
- 
 
- 
 
setRouteHeaderDAO
public void setRouteHeaderDAO(DocumentRouteHeaderDAO routeHeaderDAO)
- 
 
- 
 
getSearchableAttributeDateTimeValuesByKey
public List<Timestamp> getSearchableAttributeDateTimeValuesByKey(String documentId,
                                                                 String key)
- Description copied from interface: RouteHeaderService
- This method is a more direct way to get the searchable attribute values
 
- 
- Specified by:
- getSearchableAttributeDateTimeValuesByKeyin interface- RouteHeaderService
 
- 
- Returns:
 
getSearchableAttributeFloatValuesByKey
public List<BigDecimal> getSearchableAttributeFloatValuesByKey(String documentId,
                                                               String key)
- Description copied from interface: RouteHeaderService
- This method is a more direct way to get the searchable attribute values
 
- 
- Specified by:
- getSearchableAttributeFloatValuesByKeyin interface- RouteHeaderService
 
- 
- Returns:
 
getSearchableAttributeLongValuesByKey
public List<Long> getSearchableAttributeLongValuesByKey(String documentId,
                                                        String key)
- Description copied from interface: RouteHeaderService
- This method is a more direct way to get the searchable attribute values
 
- 
- Specified by:
- getSearchableAttributeLongValuesByKeyin interface- RouteHeaderService
 
- 
- Returns:
 
getSearchableAttributeStringValuesByKey
public List<String> getSearchableAttributeStringValuesByKey(String documentId,
                                                            String key)
- Description copied from interface: RouteHeaderService
- This method is a more direct way to get the searchable attribute values
 
- 
- Specified by:
- getSearchableAttributeStringValuesByKeyin interface- RouteHeaderService
 
- 
- Returns:
 
setSearchableAttributeDAO
public void setSearchableAttributeDAO(SearchableAttributeDAO searchableAttributeDAO)
- 
 
- 
 
getSearchableAttributeDAO
public SearchableAttributeDAO getSearchableAttributeDAO()
- 
 
- 
 
findByDocTypeAndAppId
public Collection findByDocTypeAndAppId(String documentTypeName,
                                        String appId)
- 
- Specified by:
- findByDocTypeAndAppIdin interface- RouteHeaderService
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.