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 Object implements fr.paris.lutece.portal.service.rbac.RBACResource
This class provides the object Profile
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description Profile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ProfileAction>getActions()StringgetDescription()Returns the profile's descriptionStringgetKey()Gets the profile keyStringgetResourceId()RBAC resource implementationStringgetResourceTypeCode()RBAC resource implementationvoidsetActions(List<ProfileAction> profileActions)set a list of action can be use for the directoryvoidsetDescription(String strDescription)Sets the profile's descriptionvoidsetKey(String strKey)Sets the profile key
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getKey
public String getKey()
Gets the profile key- Returns:
- Returns the Key.
-
setKey
public void setKey(String strKey)
Sets the profile key- Parameters:
strKey- The Key
-
getDescription
public String getDescription()
Returns the profile's description- Returns:
- Returns the Description.
-
setDescription
public void setDescription(String strDescription)
Sets the profile's description- Parameters:
strDescription- The profile's description
-
getResourceId
public String getResourceId()
RBAC resource implementation- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource type code
-
getResourceTypeCode
public String getResourceTypeCode()
RBAC resource implementation- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resourceId
-
getActions
public List<ProfileAction> getActions()
- Returns:
- a list of action can be use for the profile
-
setActions
public void setActions(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
-
-