org.kuali.rice.edl.framework.util
Class EDLFunctions

java.lang.Object
  extended by org.kuali.rice.edl.framework.util.EDLFunctions

public class EDLFunctions
extends Object

A collection of handy workflow queries to be used from style sheets.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
EDLFunctions()
           
 
Method Summary
static String createDocumentLock(String documentId)
           
static String escapeJavascript(String value)
           
static Person getAuthenticatedPerson()
           
static String getAuthenticationId()
           
static String getCampus()
           
static String getCurrentNodeName(String documentId)
           
static String getDocumentLockOwner(String documentId)
           
static String getEmailAddress()
           
static String getEmpPhoneNumber()
           
static String getEmpTypCd()
           
static String getGivenName()
           
static String getLastName()
           
static String getPrimaryDeptCd()
           
static String getUserId()
           
static boolean hasActiveNode(String documentId)
           
static boolean isAtNode(String documentId, String nodeName)
           
static Boolean isDocumentLocked(String documentId)
           
static boolean isEmployeeIdAuthenticated(String employeeId)
           
static boolean isNodeBetween(String firstNodeName, String lastNodeName, String id)
           
static boolean isNodeInPreviousNodeList(String nodeName, String id)
           
static boolean isPrincipalIdAuthenticated(String principalId)
           
static boolean isPrincipalNameAuthenticated(String principalName)
           
static boolean isUserInGroup(String namespace, String groupName)
           
static boolean isUserInitiator(String id)
           
static boolean isUserRouteLogAuthenticated(String documentId)
           
static void removeDocumentLocksByUser(String documentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDLFunctions

public EDLFunctions()
Method Detail

isUserInitiator

public static boolean isUserInitiator(String id)
                               throws WorkflowException
Throws:
WorkflowException

isUserRouteLogAuthenticated

public static boolean isUserRouteLogAuthenticated(String documentId)

isPrincipalIdAuthenticated

public static boolean isPrincipalIdAuthenticated(String principalId)

isPrincipalNameAuthenticated

public static boolean isPrincipalNameAuthenticated(String principalName)

isEmployeeIdAuthenticated

public static boolean isEmployeeIdAuthenticated(String employeeId)

getAuthenticatedPerson

public static Person getAuthenticatedPerson()

getUserId

public static String getUserId()

getLastName

public static String getLastName()

getGivenName

public static String getGivenName()

getEmailAddress

public static String getEmailAddress()

getCampus

public static String getCampus()

getPrimaryDeptCd

public static String getPrimaryDeptCd()

getEmpTypCd

public static String getEmpTypCd()

getEmpPhoneNumber

public static String getEmpPhoneNumber()

getCurrentNodeName

public static String getCurrentNodeName(String documentId)

isNodeInPreviousNodeList

public static boolean isNodeInPreviousNodeList(String nodeName,
                                               String id)

escapeJavascript

public static String escapeJavascript(String value)

isNodeBetween

public static boolean isNodeBetween(String firstNodeName,
                                    String lastNodeName,
                                    String id)

isAtNode

public static boolean isAtNode(String documentId,
                               String nodeName)
                        throws Exception
Throws:
Exception

hasActiveNode

public static boolean hasActiveNode(String documentId)
                             throws Exception
Throws:
Exception

getAuthenticationId

public static String getAuthenticationId()

isUserInGroup

public static boolean isUserInGroup(String namespace,
                                    String groupName)

createDocumentLock

public static String createDocumentLock(String documentId)

removeDocumentLocksByUser

public static void removeDocumentLocksByUser(String documentId)

isDocumentLocked

public static Boolean isDocumentLocked(String documentId)

getDocumentLockOwner

public static String getDocumentLockOwner(String documentId)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.