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,
boolean localizeNames)
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,
boolean localizeNames)
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,
boolean localizeNames) |
@GET @Path(value="/getinitialtree/{filtertype}/{channelIdToIgnoreOrServiceId}") @Produces(value="application/json") public String getInitialTree(@PathParam(value="filtertype") String filterType, @PathParam(value="channelIdToIgnoreOrServiceId") String channelIdToIgnoreOrServiceId, @Context HttpServletResponse response, @QueryParam(value="localizeNames") @DefaultValue(value="true") boolean localizeNames)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.serviceinstanceid
- @GET @Path(value="/getinitialtree/{filtertype}") @Produces(value="application/json") public String getInitialTree(@PathParam(value="filtertype") String filterType, @Context HttpServletResponse response, @QueryParam(value="localizeNames") @DefaultValue(value="true") boolean localizeNames)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.@GET @Path(value="/getpartialinitialtree/{rootChannelId}/{filtertype}") @Produces(value="application/json") public String getPartialInitialTree(@PathParam(value="rootChannelId") String rootChannelId, @PathParam(value="filtertype") String filterType, @Context HttpServletResponse response, @QueryParam(value="localizeNames") @DefaultValue(value="true") boolean localizeNames)
@GET @Path(value="/getchannelchildren/{filtertype}/{channelId}") @Produces(value="application/json") public String getChannelChildren(@PathParam(value="filtertype") String filterType, @PathParam(value="channelId") String channelId)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.channelId
- referenced channel id@GET @Path(value="/getchannelchildren/{filtertype}/{channelId}/{channelIdToIgnoreOrServiceId}") @Produces(value="application/json") public String getChannelChildren(@PathParam(value="filtertype") String filterType, @PathParam(value="channelId") String channelId, @PathParam(value="channelIdToIgnoreOrServiceId") String channelIdToIgnoreOrServiceId)
filterType
- filter type that can be page, page-template, channel, channel-template and service-instance.channelId
- referenced channel idchannelIdToIgnoreOrServiceId
- referenced service idLumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.