public class ChannelTreeResource extends Object
Constructor and Description |
---|
ChannelTreeResource() |
Modifier and Type | Method and Description |
---|---|
String |
getChannelChildren(String filterType,
String channelId)
Get all children from the referenced channel
|
String |
getChannelChildren(String filterType,
String channelId,
String channelIdToIgnoreOrServiceId)
Get all children from the referenced channel including his service instance but filtered by the referenced service id
|
String |
getInitialTree(String filterType,
HttpServletResponse response)
Returns the JSON string with a list of the first subchannel level from the Portal root channel.
|
String |
getInitialTree(String filterType,
String channelIdToIgnoreOrServiceId,
HttpServletResponse response)
Returns the JSON string with a list of the first subchannel level from the Portal root channel with only the desired service instances.
|
String |
getPartialInitialTree(String rootChannelId,
String filterType,
HttpServletResponse response) |
public String getInitialTree(String filterType, String channelIdToIgnoreOrServiceId, @Context HttpServletResponse response)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.serviceinstanceid
- public String getInitialTree(String filterType, @Context HttpServletResponse response)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.public String getPartialInitialTree(String rootChannelId, String filterType, @Context HttpServletResponse response)
public String getChannelChildren(String filterType, String channelId)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.channelId
- referenced channel idpublic String getChannelChildren(String filterType, String channelId, String channelIdToIgnoreOrServiceId)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.channelId
- referenced channel idchannelIdToIgnoreOrServiceId
- referenced service idLumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.