Class ServiceInstanceProvider
- java.lang.Object
-
- lumis.doui.control.selectserviceinstance.ServiceInstanceProvider
-
- All Implemented Interfaces:
IChannelChildProvider
- Direct Known Subclasses:
CategorizationServiceInstanceProvider
,DocumentServiceInstanceProvider
,EmailTemplateServiceInstanceProvider
,MediaServiceInstanceProvider
,MFAServiceInstanceProvider
,PagePersonalizationServiceInstanceProvider
,PrivacyTermServiceInstanceProvider
,TagServiceInstanceProvider
public class ServiceInstanceProvider extends java.lang.Object implements IChannelChildProvider
Provides service instances that are children of a specified channel.- Since:
- 4.0.1
- Version:
- $Revision: 20895 $ $Date: 2018-01-18 17:58:18 -0200 (Thu, 18 Jan 2018) $
-
-
Field Summary
-
Fields inherited from interface lumis.portal.channel.tree.IChannelChildProvider
HIDE_TYPE_ALWAYS, HIDE_TYPE_IF_HIDDEN_SPECIFIED, HIDE_TYPE_NEVER
-
-
Constructor Summary
Constructors Constructor Description ServiceInstanceProvider()
ServiceInstanceProvider(java.lang.String serviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IChannelChild
getChannelChild(SessionConfig sessionConfig, java.lang.String childId, ITransaction transaction)
Given a child Id, this method returns a IChannelChild object that represents the child.java.util.List<IChannelChild>
getChannelsChildren(SessionConfig sessionConfig, java.lang.String parentChannelIds, boolean hidePages, boolean hidePageTemplates, IResource resource, java.util.Locale locale, ITransaction transaction)
Given a set of parentChannelIds, this method is responsible for returning a List of the children.java.util.List<IChannelChild>
getChildrenData(SessionConfig sessionConfig, java.lang.String channelId, int hideItems, int hideItemTemplates, IResource resource, java.util.Locale locale, ITransaction transaction)
Given a parentChannelId, this method is responsible for returning a List of the children.
-
-
-
Method Detail
-
getChannelChild
public IChannelChild getChannelChild(SessionConfig sessionConfig, java.lang.String childId, ITransaction transaction) throws PortalException
Description copied from interface:IChannelChildProvider
Given a child Id, this method returns a IChannelChild object that represents the child.- Specified by:
getChannelChild
in interfaceIChannelChildProvider
- Returns:
- Throws:
PortalException
-
getChannelsChildren
public java.util.List<IChannelChild> getChannelsChildren(SessionConfig sessionConfig, java.lang.String parentChannelIds, boolean hidePages, boolean hidePageTemplates, IResource resource, java.util.Locale locale, ITransaction transaction) throws PortalException
Description copied from interface:IChannelChildProvider
Given a set of parentChannelIds, this method is responsible for returning a List of the children. This method is responsible for verifying access and must return only those children that the given session has access to.- Specified by:
getChannelsChildren
in interfaceIChannelChildProvider
- Returns:
- Throws:
PortalException
-
getChildrenData
public java.util.List<IChannelChild> getChildrenData(SessionConfig sessionConfig, java.lang.String channelId, int hideItems, int hideItemTemplates, IResource resource, java.util.Locale locale, ITransaction transaction) throws PortalException
Description copied from interface:IChannelChildProvider
Given a parentChannelId, this method is responsible for returning a List of the children. This method is responsible for verifying access and must return only those children that the given session has access to.- Specified by:
getChildrenData
in interfaceIChannelChildProvider
- Returns:
- Throws:
PortalException
-
-