Package org.kuali.rice.kew.api.doctype
Interface DocumentTypeService
public interface DocumentTypeService
TODO ...
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanSuperUserApproveDocument(String principalId, String documentTypeName, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode) booleancanSuperUserApproveSingleActionRequest(String principalId, String documentTypeName, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode) booleancanSuperUserDisapproveDocument(String principalId, String documentTypeName, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode) getDocumentTypeById(String documentTypeId) getDocumentTypeByName(String documentTypeName) getIdByName(String documentTypeName) getNameById(String documentTypeId) getRoutePathForDocumentTypeId(String documentTypeId) getRoutePathForDocumentTypeName(String documentTypeName) booleanhasRouteNodeForDocumentTypeId(String routeNodeName, String documentTypeId) booleanhasRouteNodeForDocumentTypeName(String routeNodeName, String documentTypeName) booleanisActiveById(String documentTypeId) booleanisActiveByName(String documentTypeName) booleanisSuperUserForDocumentTypeId(String principalId, String documentTypeId) booleanisSuperUserForDocumentTypeName(String principalId, String documentTypeName)
-
Method Details
-
getIdByName
- Throws:
RiceIllegalArgumentException
-
getNameById
- Throws:
RiceIllegalArgumentException
-
getDocumentTypeById
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType", key="\'documentTypeId=\' + #p0") DocumentType getDocumentTypeById(String documentTypeId) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
getDocumentTypeByName
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType", key="\'documentTypeName=\' + #p0") DocumentType getDocumentTypeByName(String documentTypeName) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
findAllDocumentTypes
@Cacheable(value="http://rice.kuali.org/kew/v2_0/DocumentTypeType", key="\'all\'") List<DocumentType> findAllDocumentTypes() -
isSuperUserForDocumentTypeId
boolean isSuperUserForDocumentTypeId(String principalId, String documentTypeId) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
isSuperUserForDocumentTypeName
boolean isSuperUserForDocumentTypeName(String principalId, String documentTypeName) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
canSuperUserApproveSingleActionRequest
boolean canSuperUserApproveSingleActionRequest(String principalId, String documentTypeName, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
canSuperUserApproveDocument
boolean canSuperUserApproveDocument(String principalId, String documentTypeName, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
canSuperUserDisapproveDocument
boolean canSuperUserDisapproveDocument(String principalId, String documentTypeName, List<RouteNodeInstance> routeNodeInstances, String routeStatusCode) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
hasRouteNodeForDocumentTypeName
boolean hasRouteNodeForDocumentTypeName(String routeNodeName, String documentTypeName) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
hasRouteNodeForDocumentTypeId
boolean hasRouteNodeForDocumentTypeId(String routeNodeName, String documentTypeId) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
isActiveById
- Throws:
RiceIllegalArgumentException
-
isActiveByName
- Throws:
RiceIllegalArgumentException
-
getRoutePathForDocumentTypeId
@Cacheable(value="http://rice.kuali.org/kew/v2_0/RoutePathType", key="\'documentTypeId=\' + #p0") RoutePath getRoutePathForDocumentTypeId(String documentTypeId) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-
getRoutePathForDocumentTypeName
@Cacheable(value="http://rice.kuali.org/kew/v2_0/RoutePathType", key="\'documentTypeName=\' + #p0") RoutePath getRoutePathForDocumentTypeName(String documentTypeName) throws RiceIllegalArgumentException - Throws:
RiceIllegalArgumentException
-