Package org.ametys.plugins.linkdirectory
Class LinkDirectoryInputData
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.plugins.linkdirectory.LinkDirectoryInputData
-
- All Implemented Interfaces:
InputData,Initializable,Contextualizable,LogEnabled,Serviceable
public class LinkDirectoryInputData extends AbstractLogEnabled implements Contextualizable, InputData, Initializable, Serviceable
Input data for the link directory user preferences in thumbnails mode
-
-
Field Summary
Fields Modifier and Type Field Description protected CurrentUserProvider_currentUserProviderThe current user provider
-
Constructor Summary
Constructors Constructor Description LinkDirectoryInputData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextualize(Context context)voidinitialize()booleanisCacheable(Site site, Page currentPage)Returns true if thisInputDatais cacheable for the current site and if possible page.voidservice(ServiceManager manager)voidtoSAX(ContentHandler contentHandler)Generates SAX events for providing data.-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.web.inputdata.InputData
shouldBeCached
-
-
-
-
Field Detail
-
_currentUserProvider
protected CurrentUserProvider _currentUserProvider
The current user provider
-
-
Constructor Detail
-
LinkDirectoryInputData
public LinkDirectoryInputData()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
initialize
public void initialize() throws Exception
- Specified by:
initializein interfaceInitializable- Throws:
Exception
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
isCacheable
public boolean isCacheable(Site site, Page currentPage)
Description copied from interface:InputDataReturns true if thisInputDatais cacheable for the current site and if possible page.- Specified by:
isCacheablein interfaceInputData- Parameters:
site- the currentSite.currentPage- the currentPage. Can be null.- Returns:
- true if this
InputDatais cacheable for the current site or page.
-
toSAX
public void toSAX(ContentHandler contentHandler) throws ProcessingException
Description copied from interface:InputDataGenerates SAX events for providing data.- Specified by:
toSAXin interfaceInputData- Parameters:
contentHandler- the content handler to SAX into.- Throws:
ProcessingException- if an error occurs during processing.
-
-