|
||||||||||
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 RouteHeaderService
public void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
saveRouteHeader
in interface RouteHeaderService
public void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
deleteRouteHeader
in interface RouteHeaderService
public Long getNextRouteHeaderId()
getNextRouteHeaderId
in interface RouteHeaderService
public Collection findPendingByResponsibilityIds(Set responsibilityIds)
findPendingByResponsibilityIds
in interface RouteHeaderService
public void clearRouteHeaderSearchValues(Long routeHeaderId)
RouteHeaderService
clearRouteHeaderSearchValues
in interface RouteHeaderService
public void updateRouteHeaderSearchValues(Long routeHeaderId, List<SearchableAttributeValue> searchAttributes)
RouteHeaderService
updateRouteHeaderSearchValues
in interface RouteHeaderService
public void validateRouteHeader(DocumentRouteHeaderValue routeHeader)
validateRouteHeader
in interface RouteHeaderService
public String getServiceNamespaceByDocumentId(Long documentId)
RouteHeaderService
DocumentType
for the Document with the given ID.
getServiceNamespaceByDocumentId
in interface RouteHeaderService
public DocumentRouteHeaderValueContent getContent(Long routeHeaderId)
getContent
in interface RouteHeaderService
public boolean hasSearchableAttributeValue(Long documentId, String searchableAttributeKey, String searchableAttributeValue)
hasSearchableAttributeValue
in interface RouteHeaderService
public String getDocumentStatus(Long documentId)
getDocumentStatus
in interface RouteHeaderService
public String getAppDocId(Long documentId)
getAppDocId
in interface RouteHeaderService
public 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 RouteHeaderService
public 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 |