fr.paris.lutece.plugins.jsr170.business
Interface IWorkspace

All Superinterfaces:
fr.paris.lutece.portal.service.rbac.RBACResource, fr.paris.lutece.portal.service.resource.Resource
All Known Implementing Classes:
JcrRepositoryWorkspaceImpl

public interface IWorkspace
extends fr.paris.lutece.portal.service.resource.Resource, fr.paris.lutece.portal.service.rbac.RBACResource

the interface for workspace


Field Summary
static java.lang.String[] AVAILABLE_ACCESS
          Array containing all access modes
static java.lang.String READ_ACCESS
          Constant for read access mode
static java.lang.String REMOVE_ACCESS
          Constant for remove access mode
static java.lang.String WRITE_ACCESS
          Constant for write access mode
 
Method Summary
 java.lang.String getId()
          Get the workspace id
 java.lang.String getName()
          Get the workspace name
 java.lang.String[] getRoles(java.lang.String strAccessType)
          Get the roles associated with the given access type
 void setId(java.lang.String strId)
          Set the workspace id
 void setName(java.lang.String strName)
          Set the workspace name
 void setRoles(java.lang.String strAccessType, java.lang.String[] roles)
          Set the roles associated with the given access type
 
Methods inherited from interface fr.paris.lutece.portal.service.rbac.RBACResource
getResourceId, getResourceTypeCode
 

Field Detail

READ_ACCESS

static final java.lang.String READ_ACCESS
Constant for read access mode

See Also:
Constant Field Values

WRITE_ACCESS

static final java.lang.String WRITE_ACCESS
Constant for write access mode

See Also:
Constant Field Values

REMOVE_ACCESS

static final java.lang.String REMOVE_ACCESS
Constant for remove access mode

See Also:
Constant Field Values

AVAILABLE_ACCESS

static final java.lang.String[] AVAILABLE_ACCESS
Array containing all access modes

Method Detail

getRoles

java.lang.String[] getRoles(java.lang.String strAccessType)
Get the roles associated with the given access type

Parameters:
strAccessType - the access type which must be in array AVAILABLE_ACCESS
Returns:
an array of roles

setRoles

void setRoles(java.lang.String strAccessType,
              java.lang.String[] roles)
Set the roles associated with the given access type

Parameters:
strAccessType - the access type which must be in array AVAILABLE_ACCESS
roles - an array of roles

getName

java.lang.String getName()
Get the workspace name

Returns:
the workspace name

setName

void setName(java.lang.String strName)
Set the workspace name

Parameters:
strName - the workspace name

getId

java.lang.String getId()
Get the workspace id

Returns:
the id

setId

void setId(java.lang.String strId)
Set the workspace id



Copyright © 2007 Mairie de Paris. All Rights Reserved.