fr.paris.lutece.plugins.dila.service
Class DilaStyleSheetResourceIdService

java.lang.Object
  extended by fr.paris.lutece.portal.service.rbac.ResourceIdService
      extended by fr.paris.lutece.plugins.dila.service.DilaStyleSheetResourceIdService

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

class DilaStyleSheetResourceIdService


Field Summary
static String PERMISSION_CREATE_STYLESHEET
          Permission for creating a dila stylesheet
static String PERMISSION_DELETE_STYLESHEET
          Permission for deleting a dila stylesheet
static String PERMISSION_MODIFY_STYLESHEET
          Permission for modifying a dila stylesheet
static String PERMISSION_VIEW_STYLESHEET
          Permission for viewing a dila stylesheet
 
Constructor Summary
DilaStyleSheetResourceIdService()
          Creates a new instance of DilaStyleSheetResourceIdService
 
Method Summary
 fr.paris.lutece.util.ReferenceList getResourceIdList(Locale locale)
          Returns a list of dila stylesheet resource ids
 String getTitle(String strId, 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_CREATE_STYLESHEET

public static final String PERMISSION_CREATE_STYLESHEET
Permission for creating a dila stylesheet

See Also:
Constant Field Values

PERMISSION_DELETE_STYLESHEET

public static final String PERMISSION_DELETE_STYLESHEET
Permission for deleting a dila stylesheet

See Also:
Constant Field Values

PERMISSION_MODIFY_STYLESHEET

public static final String PERMISSION_MODIFY_STYLESHEET
Permission for modifying a dila stylesheet

See Also:
Constant Field Values

PERMISSION_VIEW_STYLESHEET

public static final String PERMISSION_VIEW_STYLESHEET
Permission for viewing a dila stylesheet

See Also:
Constant Field Values
Constructor Detail

DilaStyleSheetResourceIdService

public DilaStyleSheetResourceIdService()
Creates a new instance of DilaStyleSheetResourceIdService

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(Locale locale)
Returns a list of dila stylesheet 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 String getTitle(String strId,
                       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 © 2013 Mairie de Paris. All Rights Reserved.