|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.routeheader.service.impl.RouteHeaderServiceImpl
public class RouteHeaderServiceImpl
| Constructor Summary | |
|---|---|
RouteHeaderServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
clearRouteHeaderSearchValues(Long routeHeaderId)
Removes all SearchableAttributeValues associated with the RouteHeader. |
void |
deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
|
Collection |
findByDocTypeAndAppId(String documentTypeName,
String appId)
|
Collection |
findPendingByResponsibilityIds(Set responsibilityIds)
|
String |
getAppDocId(Long documentId)
|
DocumentRouteHeaderValueContent |
getContent(Long routeHeaderId)
|
String |
getDocumentStatus(Long documentId)
|
Long |
getNextRouteHeaderId()
|
DocumentRouteHeaderValue |
getRouteHeader(Long routeHeaderId)
|
DocumentRouteHeaderValue |
getRouteHeader(Long routeHeaderId,
boolean clearCache)
|
DocumentRouteHeaderDAO |
getRouteHeaderDAO()
|
SearchableAttributeDAO |
getSearchableAttributeDAO()
|
List<Timestamp> |
getSearchableAttributeDateTimeValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
List<BigDecimal> |
getSearchableAttributeFloatValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
List<Long> |
getSearchableAttributeLongValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
List<String> |
getSearchableAttributeStringValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
String |
getServiceNamespaceByDocumentId(Long documentId)
Returns the Service Namespace of the DocumentType for the Document with the given ID. |
boolean |
hasSearchableAttributeValue(Long documentId,
String searchableAttributeKey,
String searchableAttributeValue)
|
void |
lockRouteHeader(Long routeHeaderId,
boolean wait)
|
void |
saveRouteHeader(DocumentRouteHeaderValue routeHeader)
|
void |
setRouteHeaderDAO(DocumentRouteHeaderDAO routeHeaderDAO)
|
void |
setSearchableAttributeDAO(SearchableAttributeDAO searchableAttributeDAO)
|
void |
updateRouteHeaderSearchValues(Long routeHeaderId,
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 |
| Constructor Detail |
|---|
public RouteHeaderServiceImpl()
| Method Detail |
|---|
public DocumentRouteHeaderValue getRouteHeader(Long routeHeaderId)
getRouteHeader in interface RouteHeaderService
public DocumentRouteHeaderValue getRouteHeader(Long routeHeaderId,
boolean clearCache)
getRouteHeader in interface RouteHeaderService
public void lockRouteHeader(Long routeHeaderId,
boolean wait)
lockRouteHeader in interface RouteHeaderServicepublic void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
saveRouteHeader in interface RouteHeaderServicepublic void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
deleteRouteHeader in interface RouteHeaderServicepublic Long getNextRouteHeaderId()
getNextRouteHeaderId in interface RouteHeaderServicepublic Collection findPendingByResponsibilityIds(Set responsibilityIds)
findPendingByResponsibilityIds in interface RouteHeaderServicepublic void clearRouteHeaderSearchValues(Long routeHeaderId)
RouteHeaderService
clearRouteHeaderSearchValues in interface RouteHeaderService
public void updateRouteHeaderSearchValues(Long routeHeaderId,
List<SearchableAttributeValue> searchAttributes)
RouteHeaderService
updateRouteHeaderSearchValues in interface RouteHeaderServicepublic void validateRouteHeader(DocumentRouteHeaderValue routeHeader)
validateRouteHeader in interface RouteHeaderServicepublic String getServiceNamespaceByDocumentId(Long documentId)
RouteHeaderServiceDocumentType for the Document with the given ID.
getServiceNamespaceByDocumentId in interface RouteHeaderServicepublic DocumentRouteHeaderValueContent getContent(Long routeHeaderId)
getContent in interface RouteHeaderService
public boolean hasSearchableAttributeValue(Long documentId,
String searchableAttributeKey,
String searchableAttributeValue)
hasSearchableAttributeValue in interface RouteHeaderServicepublic String getDocumentStatus(Long documentId)
getDocumentStatus in interface RouteHeaderServicepublic String getAppDocId(Long documentId)
getAppDocId in interface RouteHeaderServicepublic DocumentRouteHeaderDAO getRouteHeaderDAO()
public void setRouteHeaderDAO(DocumentRouteHeaderDAO routeHeaderDAO)
public List<Timestamp> getSearchableAttributeDateTimeValuesByKey(Long documentId,
String key)
RouteHeaderService
getSearchableAttributeDateTimeValuesByKey in interface RouteHeaderService
public List<BigDecimal> getSearchableAttributeFloatValuesByKey(Long documentId,
String key)
RouteHeaderService
getSearchableAttributeFloatValuesByKey in interface RouteHeaderService
public List<Long> getSearchableAttributeLongValuesByKey(Long documentId,
String key)
RouteHeaderService
getSearchableAttributeLongValuesByKey in interface RouteHeaderService
public List<String> getSearchableAttributeStringValuesByKey(Long documentId,
String key)
RouteHeaderService
getSearchableAttributeStringValuesByKey in interface RouteHeaderServicepublic void setSearchableAttributeDAO(SearchableAttributeDAO searchableAttributeDAO)
public SearchableAttributeDAO getSearchableAttributeDAO()
public Collection findByDocTypeAndAppId(String documentTypeName,
String appId)
findByDocTypeAndAppId in interface RouteHeaderService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||