|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.group.GroupDaoJdbc
public class GroupDaoJdbc
Group DAO jdbc-based implementation.
Field Summary |
---|
Fields inherited from interface lumis.portal.group.IGroupDao |
---|
TYPE_FRAMEWORK_GROUP |
Constructor Summary | |
---|---|
GroupDaoJdbc()
|
Method Summary | |
---|---|
void |
add(GroupConfig groupConfig,
ITransaction transaction)
Add the group. |
void |
addMember(String groupId,
String memberId,
ITransaction transaction)
Add the member in the group. |
void |
delete(String groupId,
ITransaction transaction)
Delete the group. |
void |
deleteAllMembers(String groupId,
ITransaction transaction)
Delete all members of the group. |
void |
deleteMember(String groupId,
String memberId,
ITransaction transaction)
Delete the member of the group. |
GroupConfig |
get(String groupId,
ITransaction transaction)
Get the group. |
Collection<String> |
getByChannelId(String channelId,
ITransaction transaction)
Get the local groups ids for the specified channel |
Collection<String> |
getByOrigin(String origin,
ITransaction transaction)
Get the local groups ids for the specified origin |
Collection<String> |
getIds(ITransaction transaction)
Get all group ids. |
Collection<String> |
getMemberGroups(String memberId,
ITransaction transaction)
Get the groups of the member. |
Collection<String> |
getMembers(String groupId,
int filterType,
ITransaction transaction)
Get the members of the group. |
boolean |
isMember(String memberId,
String groupId,
ITransaction transaction)
Verify if given id is a member of the group. |
void |
update(GroupConfig groupConfig,
ITransaction transaction)
Update the group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupDaoJdbc()
Method Detail |
---|
public GroupConfig get(String groupId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
get
in interface IGroupDao
DaoException
PortalException
public void add(GroupConfig groupConfig, ITransaction transaction) throws DaoException, PortalException
IGroupDao
add
in interface IGroupDao
DaoException
PortalException
public void update(GroupConfig groupConfig, ITransaction transaction) throws DaoException, PortalException
IGroupDao
update
in interface IGroupDao
DaoException
PortalException
public void delete(String groupId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
delete
in interface IGroupDao
DaoException
PortalException
public Collection<String> getIds(ITransaction transaction) throws DaoException, PortalException
IGroupDao
getIds
in interface IGroupDao
DaoException
PortalException
public void addMember(String groupId, String memberId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
addMember
in interface IGroupDao
DaoException
PortalException
public void deleteMember(String groupId, String memberId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
deleteMember
in interface IGroupDao
DaoException
PortalException
public void deleteAllMembers(String groupId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
deleteAllMembers
in interface IGroupDao
DaoException
PortalException
public boolean isMember(String memberId, String groupId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
isMember
in interface IGroupDao
DaoException
PortalException
public Collection<String> getMembers(String groupId, int filterType, ITransaction transaction) throws DaoException, PortalException
IGroupDao
getMembers
in interface IGroupDao
DaoException
PortalException
public Collection<String> getMemberGroups(String memberId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
getMemberGroups
in interface IGroupDao
DaoException
PortalException
public Collection<String> getByChannelId(String channelId, ITransaction transaction) throws DaoException, PortalException
IGroupDao
getByChannelId
in interface IGroupDao
DaoException
PortalException
public Collection<String> getByOrigin(String origin, ITransaction transaction) throws DaoException, PortalException
IGroupDao
getByOrigin
in interface IGroupDao
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |