Package com.redwood.scheduler.api.model
Interface SecurityPrivilege
-
- All Superinterfaces:
Serializable
public interface SecurityPrivilege extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Get the name of this privilege.PrivilegeTypegetPrivilegeType()Get the type of privilege that this is.StringgetTranslation()Get the translation-key that can be used to retrieve the locale-specific name of this privilege.
-
-
-
Method Detail
-
getName
String getName()
Get the name of this privilege.- Returns:
- the name of this privilege.
-
getTranslation
String getTranslation()
Get the translation-key that can be used to retrieve the locale-specific name of this privilege.- Returns:
- the key that can be passed to
SchedulerSession.translateField(String)to retrieve the translated name.
-
getPrivilegeType
PrivilegeType getPrivilegeType()
Get the type of privilege that this is.- Returns:
- the type of privilege that this privilege is.
-
-