Interface PermissionInfo
-
- All Known Implementing Classes:
DefaultPermissionInfo
public interface PermissionInfoGetting information of permissions
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPermissionInfo.PermissionInfoType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLabel()Returns the permissionInfoType which could be type, user or field.PermissiongetPermission(java.lang.String permissionName)Returns permission by given name.PermissionInfo.PermissionInfoTypegetPermissionInfoType()java.util.List<Permission>getPermissions()Returns a list of permissionsjava.lang.StringgetPrincipal()java.lang.StringgetTypeCode()booleanisPersisted()voidsetLabel(java.lang.String label)
-
-
-
Method Detail
-
getPermissions
java.util.List<Permission> getPermissions()
Returns a list of permissions- Returns:
- List
-
getPermission
Permission getPermission(java.lang.String permissionName)
Returns permission by given name.- Parameters:
permissionName- - permission name- Returns:
- Permission
-
getLabel
java.lang.String getLabel()
Returns the permissionInfoType which could be type, user or field.- Returns:
- String
-
setLabel
void setLabel(java.lang.String label)
-
getTypeCode
java.lang.String getTypeCode()
-
getPermissionInfoType
PermissionInfo.PermissionInfoType getPermissionInfoType()
-
getPrincipal
java.lang.String getPrincipal()
-
isPersisted
boolean isPersisted()
-
-