fr.paris.lutece.plugins.folderlisting.service
Class FolderService

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.portal.service.resource.ResourceService
          extended by fr.paris.lutece.plugins.folderlisting.service.FolderService
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, Cloneable, net.sf.ehcache.event.CacheEventListener

public class FolderService
extends fr.paris.lutece.portal.service.resource.ResourceService


Method Summary
 Folder getFolder(String strFolderName)
          Returns the Folder
 List<Folder> getFoldersCollection()
          Returns a Collection of all folders
 fr.paris.lutece.util.ReferenceList getFoldersList()
          Returns a list of all folders
static FolderService getInstance()
          Returns the instance of the singleton
protected  String getLoadersProperty()
          Returns the property key that contains the loaders list
 void init()
          Initialize the Folder service
 
Methods inherited from class fr.paris.lutece.portal.service.resource.ResourceService
addLoader, getName, getResource, getResources, initLoaders, setCacheKey, setName, setNameKey
 
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init()
Initialize the Folder service


getInstance

public static FolderService getInstance()
Returns the instance of the singleton

Returns:
The instance of the singleton

getFolder

public Folder getFolder(String strFolderName)
Returns the Folder

Parameters:
strFolderName - The name of the folder
Returns:
the Folder

getFoldersList

public fr.paris.lutece.util.ReferenceList getFoldersList()
Returns a list of all folders

Returns:
The list of all folders

getFoldersCollection

public List<Folder> getFoldersCollection()
Returns a Collection of all folders

Returns:
The list of all folders

getLoadersProperty

protected String getLoadersProperty()
Returns the property key that contains the loaders list

Specified by:
getLoadersProperty in class fr.paris.lutece.portal.service.resource.ResourceService
Returns:
A property key


Copyright © 2013 Mairie de Paris. All Rights Reserved.