Class EDLFunctions


  • public class EDLFunctions
    extends java.lang.Object
    A collection of handy workflow queries to be used from style sheets.
    Author:
    Kuali Rice Team (rice.collab@kuali.org)
    • Constructor Detail

      • EDLFunctions

        public EDLFunctions()
    • Method Detail

      • isUserInitiator

        public static boolean isUserInitiator​(java.lang.String id)
                                       throws org.kuali.rice.kew.api.exception.WorkflowException
        Throws:
        org.kuali.rice.kew.api.exception.WorkflowException
      • isUserRouteLogAuthenticated

        public static boolean isUserRouteLogAuthenticated​(java.lang.String documentId)
      • isPrincipalIdAuthenticated

        public static boolean isPrincipalIdAuthenticated​(java.lang.String principalId)
      • isPrincipalNameAuthenticated

        public static boolean isPrincipalNameAuthenticated​(java.lang.String principalName)
      • isEmployeeIdAuthenticated

        public static boolean isEmployeeIdAuthenticated​(java.lang.String employeeId)
      • getAuthenticatedPerson

        public static org.kuali.rice.kim.api.identity.Person getAuthenticatedPerson()
      • getUserId

        public static java.lang.String getUserId()
      • getLastName

        public static java.lang.String getLastName()
      • getGivenName

        public static java.lang.String getGivenName()
      • getEmailAddress

        public static java.lang.String getEmailAddress()
      • getCampus

        public static java.lang.String getCampus()
      • getPrimaryDeptCd

        public static java.lang.String getPrimaryDeptCd()
      • getEmpTypCd

        public static java.lang.String getEmpTypCd()
      • getEmpPhoneNumber

        public static java.lang.String getEmpPhoneNumber()
      • getCurrentNodeName

        public static java.lang.String getCurrentNodeName​(java.lang.String documentId)
      • isNodeInPreviousNodeList

        public static boolean isNodeInPreviousNodeList​(java.lang.String nodeName,
                                                       java.lang.String id)
      • escapeJavascript

        public static java.lang.String escapeJavascript​(java.lang.String value)
      • isNodeBetween

        public static boolean isNodeBetween​(java.lang.String firstNodeName,
                                            java.lang.String lastNodeName,
                                            java.lang.String id)
      • isAtNode

        public static boolean isAtNode​(java.lang.String documentId,
                                       java.lang.String nodeName)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • hasActiveNode

        public static boolean hasActiveNode​(java.lang.String documentId)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAuthenticationId

        public static java.lang.String getAuthenticationId()
      • isUserInGroup

        public static boolean isUserInGroup​(java.lang.String namespace,
                                            java.lang.String groupName)
      • createDocumentLock

        public static java.lang.String createDocumentLock​(java.lang.String documentId)
      • removeDocumentLocksByUser

        public static void removeDocumentLocksByUser​(java.lang.String documentId)
      • isDocumentLocked

        public static java.lang.Boolean isDocumentLocked​(java.lang.String documentId)
      • getDocumentLockOwner

        public static java.lang.String getDocumentLockOwner​(java.lang.String documentId)