Package org.jasig.portal

Examples of org.jasig.portal.ChannelCategory


     * if not found.
     */
    private ChannelCategory[] getDefaultCategory(boolean fNameAccessibleOnly)
        throws Exception
    {
        ChannelCategory rootCat = crs.getTopLevelChannelCategory();

        if (fNameAccessibleOnly)
            return new ChannelCategory[] { rootCat };

        ChannelCategory[] topCats = crs.getChildCategories(rootCat);
        ChannelCategory autoCat = null;

        for (int i = 0; i < topCats.length; i++)
        {
            if (topCats[i].getName().equals(Constants.AUTO_PUBLISH_CATEGORY))
            {
View Full Code Here


    // construct a new channel registry
    ChannelRegistryBean registry = new ChannelRegistryBean();
   
    // add the root category and all its children to the registry
    ChannelCategory rootCategory = channelRegistryStore.getTopLevelChannelCategory();
    registry.addCategory(addChildren(rootCategory, allChannels, user, type));

      /*
       * uPortal historically has provided for a convention that channels
       * not in any category may potentially be viewed by users but may not
View Full Code Here

//      (principal, IPermission.PORTAL_FRAMEWORK, IPermission.CHANNEL_PUBLISHER_ACTIVITY, null);
    String owner = IPermission.PORTAL_FRAMEWORK;
   
    // retrieve the indicated channel from the channel registry store and
    // determine its current lifecycle state
    ChannelCategory category = this.channelRegistryStore.getChannelCategory(categoryId);
    if (category == null){
//      return doesPrincipalHavePermission(principal, owner,
//        IPermission.CHANNEL_MANAGER_APPROVED_ACTIVITY, target);
      throw new AuthorizationException("Unable to locate category " + categoryId);
    }   
View Full Code Here

     * if not found.
     */
    private ChannelCategory[] getDefaultCategory(boolean fNameAccessibleOnly)
        throws Exception
    {
        ChannelCategory rootCat = crs.getTopLevelChannelCategory();

        if (fNameAccessibleOnly)
            return new ChannelCategory[] { rootCat };

        ChannelCategory[] topCats = crs.getChildCategories(rootCat);
        ChannelCategory autoCat = null;

        for (int i = 0; i < topCats.length; i++)
        {
            if (topCats[i].getName().equals(Constants.AUTO_PUBLISH_CATEGORY))
            {
View Full Code Here

TOP

Related Classes of org.jasig.portal.ChannelCategory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.