Package org.kuali.rice.kew.impl.doctype
Class DocumentTypeServiceImpl
java.lang.Object
org.kuali.rice.kew.impl.doctype.DocumentTypeServiceImpl
- All Implemented Interfaces:
org.kuali.rice.kew.api.doctype.DocumentTypeService
public class DocumentTypeServiceImpl
extends Object
implements org.kuali.rice.kew.api.doctype.DocumentTypeService
Reference implementation of the
DocumentTypeService.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSuperUserApproveDocument(String principalId, String documentTypeName, List<org.kuali.rice.kew.api.document.node.RouteNodeInstance> routeNodeInstances, String routeStatusCode) booleancanSuperUserApproveSingleActionRequest(String principalId, String documentTypeName, List<org.kuali.rice.kew.api.document.node.RouteNodeInstance> routeNodeInstances, String routeStatusCode) booleancanSuperUserDisapproveDocument(String principalId, String documentTypeName, List<org.kuali.rice.kew.api.document.node.RouteNodeInstance> routeNodeInstances, String routeStatusCode) List<org.kuali.rice.kew.api.doctype.DocumentType> org.kuali.rice.krad.data.DataObjectServiceorg.kuali.rice.kew.api.doctype.DocumentTypegetDocumentTypeById(String documentTypeId) org.kuali.rice.kew.api.doctype.DocumentTypegetDocumentTypeByName(String documentTypeName) getIdByName(String documentTypeName) getNameById(String documentTypeId) org.kuali.rice.kew.api.doctype.RoutePathgetRoutePathForDocumentTypeId(String documentTypeId) org.kuali.rice.kew.api.doctype.RoutePathgetRoutePathForDocumentTypeName(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) voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) voidsetDocumentTypeDao(DocumentTypeDAO documentTypeDao)
-
Constructor Details
-
DocumentTypeServiceImpl
public DocumentTypeServiceImpl()
-
-
Method Details
-
getIdByName
- Specified by:
getIdByNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
getNameById
- Specified by:
getNameByIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
getDocumentTypeById
- Specified by:
getDocumentTypeByIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
getDocumentTypeByName
- Specified by:
getDocumentTypeByNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
findAllDocumentTypes
- Specified by:
findAllDocumentTypesin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
isSuperUserForDocumentTypeId
- Specified by:
isSuperUserForDocumentTypeIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
isSuperUserForDocumentTypeName
- Specified by:
isSuperUserForDocumentTypeNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
canSuperUserApproveSingleActionRequest
public boolean canSuperUserApproveSingleActionRequest(String principalId, String documentTypeName, List<org.kuali.rice.kew.api.document.node.RouteNodeInstance> routeNodeInstances, String routeStatusCode) - Specified by:
canSuperUserApproveSingleActionRequestin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
canSuperUserApproveDocument
public boolean canSuperUserApproveDocument(String principalId, String documentTypeName, List<org.kuali.rice.kew.api.document.node.RouteNodeInstance> routeNodeInstances, String routeStatusCode) - Specified by:
canSuperUserApproveDocumentin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
canSuperUserDisapproveDocument
public boolean canSuperUserDisapproveDocument(String principalId, String documentTypeName, List<org.kuali.rice.kew.api.document.node.RouteNodeInstance> routeNodeInstances, String routeStatusCode) - Specified by:
canSuperUserDisapproveDocumentin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
hasRouteNodeForDocumentTypeName
public boolean hasRouteNodeForDocumentTypeName(String routeNodeName, String documentTypeName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
hasRouteNodeForDocumentTypeNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
hasRouteNodeForDocumentTypeId
public boolean hasRouteNodeForDocumentTypeId(String routeNodeName, String documentTypeId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException - Specified by:
hasRouteNodeForDocumentTypeIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-
isActiveById
- Specified by:
isActiveByIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
isActiveByName
- Specified by:
isActiveByNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
getRoutePathForDocumentTypeId
public org.kuali.rice.kew.api.doctype.RoutePath getRoutePathForDocumentTypeId(String documentTypeId) - Specified by:
getRoutePathForDocumentTypeIdin interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
getRoutePathForDocumentTypeName
public org.kuali.rice.kew.api.doctype.RoutePath getRoutePathForDocumentTypeName(String documentTypeName) - Specified by:
getRoutePathForDocumentTypeNamein interfaceorg.kuali.rice.kew.api.doctype.DocumentTypeService
-
setDocumentTypeDao
-
getDataObjectService
public org.kuali.rice.krad.data.DataObjectService getDataObjectService() -
setDataObjectService
public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
-