fr.paris.lutece.portal.business.role
Class Role

java.lang.Object
  extended by fr.paris.lutece.portal.business.role.Role
All Implemented Interfaces:
RBACResource, AdminWorkgroupResource

public class Role
extends java.lang.Object
implements RBACResource, AdminWorkgroupResource

This class represents business objects role


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
Role()
           
 
Method Summary
 java.lang.String getResourceId()
          RBAC resource implmentation
 java.lang.String getResourceTypeCode()
          RBAC resource implmentation
 java.lang.String getRole()
          Gets the role name
 java.lang.String getRoleDescription()
          Gets the role description
 java.lang.String getWorkgroup()
          Get workgroup key
 void setRole(java.lang.String strRole)
          Sets the role name
 void setRoleDescription(java.lang.String strRoleDescription)
          Sets the role description
 void setWorkgroup(java.lang.String strWorkgroupKey)
          Set workgroup 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

Role

public Role()
Method Detail

getRole

public java.lang.String getRole()
Gets the role name

Returns:
the role name

setRole

public void setRole(java.lang.String strRole)
Sets the role name

Parameters:
strRole - the role name

getRoleDescription

public java.lang.String getRoleDescription()
Gets the role description

Returns:
the role description

setRoleDescription

public void setRoleDescription(java.lang.String strRoleDescription)
Sets the role description

Parameters:
strRoleDescription - the role description

getResourceTypeCode

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

Specified by:
getResourceTypeCode in interface RBACResource
Returns:
The resource type code

getResourceId

public java.lang.String getResourceId()
RBAC resource implmentation

Specified by:
getResourceId in interface RBACResource
Returns:
The resourceId

getWorkgroup

public java.lang.String getWorkgroup()
Get workgroup key

Specified by:
getWorkgroup in interface AdminWorkgroupResource
Returns:
workgroup key

setWorkgroup

public void setWorkgroup(java.lang.String strWorkgroupKey)
Set workgroup key

Parameters:
strWorkgroupKey - workgroup key


Copyright © 2011 Mairie de Paris. All Rights Reserved.