|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGroupDao
Group DAO interface.
Field Summary | |
---|---|
static int |
TYPE_FRAMEWORK_GROUP
|
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 filter,
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. |
Field Detail |
---|
static final int TYPE_FRAMEWORK_GROUP
Method Detail |
---|
void add(GroupConfig groupConfig, ITransaction transaction) throws DaoException, PortalException
groupConfig
- transaction
-
DaoException
PortalException
GroupConfig get(String groupId, ITransaction transaction) throws DaoException, PortalException
groupId
- transaction
-
DaoException
PortalException
void update(GroupConfig groupConfig, ITransaction transaction) throws DaoException, PortalException
groupConfig
- transaction
-
DaoException
PortalException
void delete(String groupId, ITransaction transaction) throws DaoException, PortalException
groupId
- transaction
-
DaoException
PortalException
Collection<String> getIds(ITransaction transaction) throws DaoException, PortalException
transaction
-
DaoException
PortalException
void addMember(String groupId, String memberId, ITransaction transaction) throws DaoException, PortalException
groupId
- memberId
- transaction
-
DaoException
PortalException
void deleteMember(String groupId, String memberId, ITransaction transaction) throws DaoException, PortalException
groupId
- memberId
- transaction
-
DaoException
PortalException
void deleteAllMembers(String groupId, ITransaction transaction) throws DaoException, PortalException
groupId
- transaction
-
DaoException
PortalException
boolean isMember(String memberId, String groupId, ITransaction transaction) throws DaoException, PortalException
memberId
- groupId
- transaction
-
DaoException
PortalException
Collection<String> getMembers(String groupId, int filter, ITransaction transaction) throws DaoException, PortalException
groupId
- filter
- transaction
-
DaoException
PortalException
Collection<String> getMemberGroups(String memberId, ITransaction transaction) throws DaoException, PortalException
memberId
- transaction
-
DaoException
PortalException
Collection<String> getByChannelId(String channelId, ITransaction transaction) throws DaoException, PortalException
channelId
- transaction
-
DaoException
PortalException
Collection<String> getByOrigin(String origin, ITransaction transaction) throws DaoException, PortalException
origin
- transaction
-
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |