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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) void
boolean
isCacheable
(Site site, Page currentPage) Returns true if thisInputData
is cacheable for the current site and if possible page.void
service
(ServiceManager manager) void
toSAX
(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 Details
-
_currentUserProvider
The current user provider
-
-
Constructor Details
-
LinkDirectoryInputData
public LinkDirectoryInputData()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
isCacheable
Description copied from interface:InputData
Returns true if thisInputData
is cacheable for the current site and if possible page.- Specified by:
isCacheable
in interfaceInputData
- Parameters:
site
- the currentSite
.currentPage
- the currentPage
. Can be null.- Returns:
- true if this
InputData
is cacheable for the current site or page.
-
toSAX
Description copied from interface:InputData
Generates SAX events for providing data.- Specified by:
toSAX
in interfaceInputData
- Parameters:
contentHandler
- the content handler to SAX into.- Throws:
ProcessingException
- if an error occurs during processing.
-