fr.paris.lutece.plugins.workflow.service
Class ActionResourceIdService

java.lang.Object
  extended by fr.paris.lutece.portal.service.rbac.ResourceIdService
      extended by fr.paris.lutece.plugins.workflow.service.ActionResourceIdService

public class ActionResourceIdService
extends fr.paris.lutece.portal.service.rbac.ResourceIdService

class ActionResourceIdService


Field Summary
static java.lang.String PERMISSION_MANAGE_ADVANCED_PARAMETERS
          Permission for managing advanced parameters
static java.lang.String PERMISSION_VIEW
          Permission for viewing a action
 
Constructor Summary
ActionResourceIdService()
          Creates a new instance of DocumentTypeResourceIdService
 
Method Summary
 fr.paris.lutece.util.ReferenceList getResourceIdList(java.util.Locale locale)
          Returns a list of action resource ids
 java.lang.String getTitle(java.lang.String strId, java.util.Locale locale)
          Returns the Title of a given resource
 void register()
          Initializes the service
 
Methods inherited from class fr.paris.lutece.portal.service.rbac.ResourceIdService
getPluginName, setPluginName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERMISSION_VIEW

public static final java.lang.String PERMISSION_VIEW
Permission for viewing a action

See Also:
Constant Field Values

PERMISSION_MANAGE_ADVANCED_PARAMETERS

public static final java.lang.String PERMISSION_MANAGE_ADVANCED_PARAMETERS
Permission for managing advanced parameters

See Also:
Constant Field Values
Constructor Detail

ActionResourceIdService

public ActionResourceIdService()
Creates a new instance of DocumentTypeResourceIdService

Method Detail

register

public void register()
Initializes the service

Specified by:
register in class fr.paris.lutece.portal.service.rbac.ResourceIdService

getResourceIdList

public fr.paris.lutece.util.ReferenceList getResourceIdList(java.util.Locale locale)
Returns a list of action resource ids

Specified by:
getResourceIdList in class fr.paris.lutece.portal.service.rbac.ResourceIdService
Parameters:
locale - The current locale
Returns:
A list of resource ids

getTitle

public java.lang.String getTitle(java.lang.String strId,
                                 java.util.Locale locale)
Returns the Title of a given resource

Specified by:
getTitle in class fr.paris.lutece.portal.service.rbac.ResourceIdService
Parameters:
strId - The Id of the resource
locale - The current locale
Returns:
The Title of a given resource


Copyright © 2012 Mairie de Paris. All Rights Reserved.