Interface IChannelChildProvider

    • Method Detail

      • getChannelsChildren

        List<IChannelChild> getChannelsChildren​(SessionConfig sessionConfig,
                                                String parentChannelIds,
                                                boolean hidePages,
                                                boolean hidePageTemplates,
                                                IResource resource,
                                                Locale locale,
                                                ITransaction transaction)
                                         throws PortalException
        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.
        Parameters:
        sessionConfig -
        parentChannelIds -
        hidePages -
        hidePageTemplates -
        resource -
        locale -
        transaction -
        Returns:
        Throws:
        PortalException
      • getChildrenData

        List<IChannelChild> getChildrenData​(SessionConfig sessionConfig,
                                            String channelId,
                                            int hideItems,
                                            int hideItemTemplates,
                                            IResource resource,
                                            Locale locale,
                                            ITransaction transaction)
                                     throws PortalException
        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.
        Parameters:
        sessionConfig -
        channelId -
        hideItems -
        hideItemTemplates -
        resource -
        locale -
        transaction -
        Returns:
        Throws:
        PortalException