fr.paris.lutece.plugins.profiles.business
Class Profile

java.lang.Object
  extended by 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.RBACResource

This class provides the object Profile


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
Profile()
           
 
Method Summary
 java.util.List<ProfileAction> getActions()
           
 java.lang.String getDescription()
          Returns the profile's description
 java.lang.String getKey()
          Gets the profile key
 java.lang.String getResourceId()
          RBAC resource implementation
 java.lang.String getResourceTypeCode()
          RBAC resource implementation
 void setActions(java.util.List<ProfileAction> profileActions)
          set a list of action can be use for the directory
 void setDescription(java.lang.String strDescription)
          Sets the profile's description
 void setKey(java.lang.String strKey)
          Sets the profile key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

Profile

public Profile()
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:
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resource type code

getResourceTypeCode

public java.lang.String getResourceTypeCode()
RBAC resource implementation

Specified by:
getResourceTypeCode in interface fr.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


Copyright © 2011 Mairie de Paris. All Rights Reserved.