Package org.jasig.portal.groups

Examples of org.jasig.portal.groups.GroupsException


            case CONTAINS: {
                query = IPersonAttributeDao.WILDCARD + query + IPersonAttributeDao.WILDCARD;
                break;
            }
            default: {
                throw new GroupsException("Unknown search type");
            }
        }
       
        log.debug("Searching for a person directory account matching query string " + query);
       
View Full Code Here


            break;
            case CONTAINS:
                query = "%" + query + "%";
            break;
            default:
                throw new GroupsException("Unknown search type");
        }

        // get the list of matching portlet definitions
        final List<IPortletDefinition> definitions = this.portletDefinitionRegistry.searchForPortlets(query,
                allowPartial);
View Full Code Here

protected GroupServiceConfiguration getServiceConfiguration() throws GroupsException
{
    try
        { return GroupServiceConfiguration.getConfiguration(); }
    catch (Exception ex)
        { throw new GroupsException("Problem retrieving service configuration", ex);}
}
View Full Code Here

            final EntityIdentifier entityIdentifier = gm.getEntityIdentifier();
            EntityCachingService.getEntityCachingService().remove(entityIdentifier.getType(), entityIdentifier.getKey());
        }
        catch (CachingException ce)
        {
            throw new GroupsException("Problem removing group member " + gm.getKey() + " from cache", ce);
        }
    }
View Full Code Here

    {
        String key = getDistinguishedGroupKey(name);
        return compositeGroupService.findGroup(key);
    }
    catch (Exception ex){
      throw new GroupsException("GroupService.getDistinguishedGroup(): "
            +"could not find key for: " + name,ex);
    }
}
View Full Code Here

    protected IEntityGroup inewGroup(Class type, String serviceName) throws GroupsException
    {
        try
            { return compositeGroupService.newGroup(type, parseServiceName(serviceName)); }
        catch (InvalidNameException ine)
            { throw new GroupsException("GroupService.inewGroup(): invalid service name", ine);}
    }
View Full Code Here

      if ( factoryName == null )
      {
          eMsg = "GroupService.initialize(): No entry for org.jasig.portal.groups.GroupServiceFactory in portal.properties.";
          log.error( eMsg);
          throw new GroupsException(eMsg);
      }

      try
      {
          IGroupServiceFactory groupServiceFactory =
              (IGroupServiceFactory)Class.forName(factoryName).newInstance();
          groupService = groupServiceFactory.newGroupService();
      }
      catch (Exception e)
      {
          eMsg = "GroupService.initialize(): Problem creating groups service...";
          log.error( eMsg, e);
          throw new GroupsException(eMsg, e);
      }
    }
View Full Code Here

      throw new UnsupportedOperationException("PersonAttributesGroupStore: Method updateMembers() not supported.");
   }

   public IEntity newInstance(String key, Class type) throws GroupsException {
      if (EntityTypes.getEntityTypeID(type) == null) {
         throw new GroupsException("Invalid entity type: "+type.getName());
      }
      return new EntityImpl(key, type);
   }
View Full Code Here

   


    public IEntity newInstance(String key, Class type) throws GroupsException {
        if (EntityTypes.getEntityTypeID(type) == null) {
            throw new GroupsException("Invalid entity type: "+type.getName());
        }
        return new EntityImpl(key, type);
    }
View Full Code Here

TOP

Related Classes of org.jasig.portal.groups.GroupsException

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.