org.kuali.rice.edl.framework.util
Class EDLFunctions
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDLFunctions
public EDLFunctions()
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-2013 The Kuali Foundation. All Rights Reserved.