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 Details

    • DocumentTypeServiceImpl

      public DocumentTypeServiceImpl()
  • Method Details

    • getIdByName

      public String getIdByName(String documentTypeName)
      Specified by:
      getIdByName in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • getNameById

      public String getNameById(String documentTypeId)
      Specified by:
      getNameById in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • getDocumentTypeById

      public org.kuali.rice.kew.api.doctype.DocumentType getDocumentTypeById(String documentTypeId)
      Specified by:
      getDocumentTypeById in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • getDocumentTypeByName

      public org.kuali.rice.kew.api.doctype.DocumentType getDocumentTypeByName(String documentTypeName)
      Specified by:
      getDocumentTypeByName in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • findAllDocumentTypes

      public List<org.kuali.rice.kew.api.doctype.DocumentType> findAllDocumentTypes()
      Specified by:
      findAllDocumentTypes in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • isSuperUserForDocumentTypeId

      public boolean isSuperUserForDocumentTypeId(String principalId, String documentTypeId)
      Specified by:
      isSuperUserForDocumentTypeId in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • isSuperUserForDocumentTypeName

      public boolean isSuperUserForDocumentTypeName(String principalId, String documentTypeName)
      Specified by:
      isSuperUserForDocumentTypeName in interface org.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:
      canSuperUserApproveSingleActionRequest in interface org.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:
      canSuperUserApproveDocument in interface org.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:
      canSuperUserDisapproveDocument in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • hasRouteNodeForDocumentTypeName

      public boolean hasRouteNodeForDocumentTypeName(String routeNodeName, String documentTypeName) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Specified by:
      hasRouteNodeForDocumentTypeName in interface org.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:
      hasRouteNodeForDocumentTypeId in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
      Throws:
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException
    • isActiveById

      public boolean isActiveById(String documentTypeId)
      Specified by:
      isActiveById in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • isActiveByName

      public boolean isActiveByName(String documentTypeName)
      Specified by:
      isActiveByName in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • getRoutePathForDocumentTypeId

      public org.kuali.rice.kew.api.doctype.RoutePath getRoutePathForDocumentTypeId(String documentTypeId)
      Specified by:
      getRoutePathForDocumentTypeId in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • getRoutePathForDocumentTypeName

      public org.kuali.rice.kew.api.doctype.RoutePath getRoutePathForDocumentTypeName(String documentTypeName)
      Specified by:
      getRoutePathForDocumentTypeName in interface org.kuali.rice.kew.api.doctype.DocumentTypeService
    • setDocumentTypeDao

      public void setDocumentTypeDao(DocumentTypeDAO documentTypeDao)
    • getDataObjectService

      public org.kuali.rice.krad.data.DataObjectService getDataObjectService()
    • setDataObjectService

      public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)