Package de.iritgo.aktera.usergroupmgr

Examples of de.iritgo.aktera.usergroupmgr.UserMgrException


      gm.setField(FLD_UID, user.get(User.Property.UID));
      gm.add();
    }
    catch (PersistenceException e)
    {
      throw new UserMgrException("Error adding user to group", e);
    }

    return true;
  }
View Full Code Here


      gm.setField(FLD_UID, user.get(User.Property.UID));
      gm.delete();
    }
    catch (PersistenceException e)
    {
      throw new UserMgrException("Error deleting user from group", e);
    }

    return true;
  }
View Full Code Here

        }
      }
    }
    catch (PersistenceException e)
    {
      throw new UserMgrException("Error from underlying persistence engine while listing groups", e);
    }
    catch (ServiceException e)
    {
      throw new UserMgrException("Internal error getting user service while listing groups", e);
    }

    Group[] type =
    {};
View Full Code Here

    {
      um = (UserManager) getService(UserManager.ROLE, "persist-user-manager");
    }
    catch (ServiceException e)
    {
      throw new UserMgrException("Error getting user manager service", e);
    }

    return um;
  }
View Full Code Here

    {
      group = (Group) getService(Group.ROLE, "persist-group");
    }
    catch (ServiceException e)
    {
      throw new UserMgrException("Error getting group service from container", e);
    }

    group.set(Group.Property.NAME, name);
    group.set(Group.Property.DESCRIPTION, description);
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.usergroupmgr.UserMgrException

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.