Package org.infoglue.cms.entities.management.impl.simple

Examples of org.infoglue.cms.entities.management.impl.simple.AccessRightGroupImpl


      Iterator accessRightGroupIterator = accessRight.getGroups().iterator();
      while(accessRightGroupIterator.hasNext())
      {
        AccessRightGroup accessRightGroup = (AccessRightGroup)accessRightGroupIterator.next();

        AccessRightGroupImpl argImpl = new AccessRightGroupImpl();
        argImpl.setAccessRight(arImpl);
        argImpl.setGroupName(accessRightGroup.getGroupName());
        arImpl.getGroups().add(argImpl);

        db.create(argImpl);
      }
View Full Code Here


   * @throws SystemException
   */
 
  public AccessRightGroup createAccessRightGroup(Database db, AccessRightGroupVO accessRightGroupVO, AccessRight accessRight) throws SystemException, Exception
  {
      AccessRightGroup accessRightGroup = new AccessRightGroupImpl();
      accessRightGroup.setValueObject(accessRightGroupVO);
      accessRightGroup.setAccessRight(accessRight);
     
      db.create(accessRightGroup);
     
        return accessRightGroup;
  }
View Full Code Here

    OQLQuery oql = db.getOQLQuery("CALL SQL select max(accessRightGroupId), groupName, max(accessRightId) from cmAccessRightGroup arr group by groupName AS org.infoglue.cms.entities.management.impl.simple.AccessRightGroupImpl");
    
      QueryResults results = oql.execute(Database.READONLY);
    while(results.hasMore())
        {
      AccessRightGroupImpl arr = (AccessRightGroupImpl)results.next();
      groups.add(arr.getGroupName());
    }

    results.close();
    oql.close();
   
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.impl.simple.AccessRightGroupImpl

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.