com.pmease.quickbuild.entitymanager.impl
Class DefaultGroupShareManager

java.lang.Object
  extended by com.pmease.quickbuild.entitymanager.impl.AbstractEntityManager<GroupShare>
      extended by com.pmease.quickbuild.entitymanager.impl.DefaultGroupShareManager
All Implemented Interfaces:
EntityManager<GroupShare>, GroupShareManager

public class DefaultGroupShareManager
extends AbstractEntityManager<GroupShare>
implements GroupShareManager


Field Summary
 
Fields inherited from interface com.pmease.quickbuild.entitymanager.GroupShareManager
instance
 
Constructor Summary
DefaultGroupShareManager()
           
 
Method Summary
 void delete(GroupShare share)
          delete specified entity.
 java.util.Collection<GroupShare> getGroupShares(Group group)
           
 void save(GroupShare share)
          create new entry in database if identifier of specified identity is null, or update existing entity into database if the identifier is not null.
 void share(Dashboard dashboard, java.util.Collection<Group> groups)
           
 
Methods inherited from class com.pmease.quickbuild.entitymanager.impl.AbstractEntityManager
count, count, countEntities, get, getAll, getAll, getSession, load, search, searchEntities, searchEntityIds, searchIds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.pmease.quickbuild.entitymanager.EntityManager
count, count, get, getAll, getAll, load, search, searchIds
 

Constructor Detail

DefaultGroupShareManager

public DefaultGroupShareManager()
Method Detail

delete

public void delete(GroupShare share)
Description copied from class: AbstractEntityManager
delete specified entity.

Specified by:
delete in interface EntityManager<GroupShare>
Overrides:
delete in class AbstractEntityManager<GroupShare>

save

public void save(GroupShare share)
Description copied from class: AbstractEntityManager
create new entry in database if identifier of specified identity is null, or update existing entity into database if the identifier is not null.

Specified by:
save in interface EntityManager<GroupShare>
Overrides:
save in class AbstractEntityManager<GroupShare>

share

public void share(Dashboard dashboard,
                  java.util.Collection<Group> groups)
Specified by:
share in interface GroupShareManager

getGroupShares

public java.util.Collection<GroupShare> getGroupShares(Group group)
Specified by:
getGroupShares in interface GroupShareManager


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