Class WhatsNewResourceIdService

java.lang.Object
fr.paris.lutece.portal.service.rbac.ResourceIdService
fr.paris.lutece.plugins.whatsnew.service.WhatsNewResourceIdService

public class WhatsNewResourceIdService extends fr.paris.lutece.portal.service.rbac.ResourceIdService
WhatsNewResourceIdService
  • Field Details

    • PERMISSION_MANAGE_ADVANCED_PARAMETERS

      public static final String PERMISSION_MANAGE_ADVANCED_PARAMETERS
      Permission for managing advanced parameters
      See Also:
  • Constructor Details

    • WhatsNewResourceIdService

      public WhatsNewResourceIdService()
      Creates a new instance of WhatsNewResourceIdService
  • Method Details

    • 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 directory 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