com.pmease.quickbuild.entitymanager
Interface GroupManager

All Superinterfaces:
EntityManager<Group>
All Known Implementing Classes:
DefaultGroupManager

public interface GroupManager
extends EntityManager<Group>

This interface provides group management functionalities.


Field Summary
static GroupManager instance
           
 
Method Summary
 Group copyAsNew(Group group)
           
 Group get(java.lang.String name)
           
 java.util.List<java.lang.String> getGroupNames()
           
 void save(Group group, java.lang.String oldGroupName)
          Save specified group.
 
Methods inherited from interface com.pmease.quickbuild.entitymanager.EntityManager
count, count, delete, get, getAll, getAll, load, save, search, searchIds
 

Field Detail

instance

static final GroupManager instance
Method Detail

get

Group get(java.lang.String name)
Get group by name. Null will be returned if not found.


getGroupNames

java.util.List<java.lang.String> getGroupNames()
Get list of group names in the system.


copyAsNew

Group copyAsNew(Group group)

save

void save(Group group,
          java.lang.String oldGroupName)
Save specified group.

Parameters:
group -
oldGroupName - if this param is not null, references to the old group name in other settings will be updated to use the new group name.


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.