Class Profile
- java.lang.Object
-
- fr.paris.lutece.plugins.profiles.business.Profile
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource
public class Profile extends java.lang.Object implements fr.paris.lutece.portal.service.rbac.RBACResourceThis class provides the object Profile
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description Profile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ProfileAction>getActions()java.lang.StringgetDescription()Returns the profile's descriptionjava.lang.StringgetKey()Gets the profile keyjava.lang.StringgetResourceId()RBAC resource implementationjava.lang.StringgetResourceTypeCode()RBAC resource implementationvoidsetActions(java.util.List<ProfileAction> profileActions)set a list of action can be use for the directoryvoidsetDescription(java.lang.String strDescription)Sets the profile's descriptionvoidsetKey(java.lang.String strKey)Sets the profile key
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Gets the profile key- Returns:
- Returns the Key.
-
setKey
public void setKey(java.lang.String strKey)
Sets the profile key- Parameters:
strKey- The Key
-
getDescription
public java.lang.String getDescription()
Returns the profile's description- Returns:
- Returns the Description.
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the profile's description- Parameters:
strDescription- The profile's description
-
getResourceId
public java.lang.String getResourceId()
RBAC resource implementation- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource type code
-
getResourceTypeCode
public java.lang.String getResourceTypeCode()
RBAC resource implementation- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resourceId
-
getActions
public java.util.List<ProfileAction> getActions()
- Returns:
- a list of action can be use for the profile
-
setActions
public void setActions(java.util.List<ProfileAction> profileActions)
set a list of action can be use for the directory- Parameters:
profileActions- a list of action must be use for the profile
-
-