public class ExpressionFunctions extends Object
| Constructor and Description | 
|---|
| ExpressionFunctions() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | empty(Object value)Checks whether the given value is null or blank string | 
| static String | getName(Class<?> clazz)Returns the name for the given class | 
| static String | getParm(String namespaceCode,
              String componentCode,
              String parameterName)Retrieves the value of the parameter identified with the given namespace, component, and name | 
| static Boolean | getParmInd(String namespaceCode,
                    String componentCode,
                    String parameterName)Retrieves the value of the parameter identified with the given namespace, component, and name and converts
 to a Boolean | 
| static boolean | hasPerm(String namespaceCode,
              String permissionName)Indicates whether the current user has the permission identified by the given namespace and permission name | 
| static boolean | hasPermDtls(String namespaceCode,
                      String permissionName,
                      Map<String,String> permissionDetails,
                      Map<String,String> roleQualifiers)Indicates whether the current user has the permission identified by the given namespace and permission name
 and with the given details and role qualification | 
| static boolean | hasPermTmpl(String namespaceCode,
                      String templateName,
                      Map<String,String> permissionDetails,
                      Map<String,String> roleQualifiers)Indicates whether the current user has the permission identified by the given namespace and template name
 and with the given details and role qualification | 
| static boolean | isAssignableFrom(Class<?> assignableClass,
                                Class<?> objectClass)Checks whether the given class parameter is assignable from the given object class
 parameter | 
public ExpressionFunctions()
public static boolean isAssignableFrom(Class<?> assignableClass, Class<?> objectClass)
assignableClass - - class to use for assignable toobjectClass - - class to use for assignable frompublic static boolean empty(Object value)
value - - property value to checkpublic static String getName(Class<?> clazz)
clazz - - class object to return name forpublic static String getParm(String namespaceCode, String componentCode, String parameterName)
namespaceCode - - namespace code for the parameter to retrievecomponentCode - - component code for the parameter to retrieveparameterName - - name of the parameter to retrievepublic static Boolean getParmInd(String namespaceCode, String componentCode, String parameterName)
namespaceCode - - namespace code for the parameter to retrievecomponentCode - - component code for the parameter to retrieveparameterName - - name of the parameter to retrievepublic static boolean hasPerm(String namespaceCode, String permissionName)
namespaceCode - - namespace code for the permission to checkpermissionName - - name of the permission to checkpublic static boolean hasPermDtls(String namespaceCode, String permissionName, Map<String,String> permissionDetails, Map<String,String> roleQualifiers)
namespaceCode - - namespace code for the permission to checkpermissionName - - name of the permission to checkpermissionDetails - - details for the permission checkroleQualifiers - - qualification for assigned rolespublic static boolean hasPermTmpl(String namespaceCode, String templateName, Map<String,String> permissionDetails, Map<String,String> roleQualifiers)
namespaceCode - - namespace code for the permission to checktemplateName - - name of the permission template to find permissions forpermissionDetails - - details for the permission checkroleQualifiers - - qualification for assigned rolesCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.