|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openexchange.admin.storage.interfaces.OXGroupStorageInterface
com.openexchange.admin.storage.sqlStorage.OXGroupSQLStorage
com.openexchange.admin.storage.mysqlStorage.OXGroupMySQLStorage
public class OXGroupMySQLStorage
Field Summary |
---|
Fields inherited from interface com.openexchange.admin.storage.mysqlStorage.OXMySQLDefaultValues |
---|
NOBODY, NOGROUP |
Constructor Summary | |
---|---|
OXGroupMySQLStorage()
|
Method Summary | |
---|---|
void |
addMember(Context ctx,
int groupId,
User[] members)
Adds a new member to the group. |
void |
change(Context ctx,
Group grp)
Edit group data |
int |
create(Context ctx,
Group group)
Create new group in given context |
void |
delete(Context ctx,
Group[] groups)
Delete group from context |
void |
deleteAllRecoveryData(Context ctx,
Connection con)
Deletes all recoevery data for context ctx |
void |
deleteRecoveryData(Context ctx,
int groupId,
Connection con)
Removes entry in del_groups for group group_id and context ctx |
Group |
get(Context ctx,
Group group)
Get group by context and id |
Group[] |
getGroupsForUser(Context ctx,
User user)
Get groups for a specified user! |
User[] |
getMembers(Context ctx,
int groupId)
Get all members of group grp_id in context ctx |
Group[] |
list(Context ctx,
String pattern)
List all groups mathcing pattern in context ctx |
void |
removeMember(Context ctx,
int groupId,
User[] members)
Removes member from group |
Methods inherited from class com.openexchange.admin.storage.interfaces.OXGroupStorageInterface |
---|
getInstance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OXGroupMySQLStorage()
Method Detail |
---|
public void addMember(Context ctx, int groupId, User[] members) throws StorageException
OXGroupStorageInterface
addMember
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.addMember(com.openexchange.admin.rmi.dataobjects.Context,
int, User[])
public void change(Context ctx, Group grp) throws StorageException
OXGroupStorageInterface
change
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.change(com.openexchange.admin.rmi.dataobjects.Context,
com.openexchange.admin.rmi.dataobjects.Group)
public int create(Context ctx, Group group) throws StorageException
OXGroupStorageInterface
create
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.create(com.openexchange.admin.rmi.dataobjects.Context,
com.openexchange.admin.rmi.dataobjects.Group)
public void delete(Context ctx, Group[] groups) throws StorageException
OXGroupStorageInterface
delete
in class OXGroupStorageInterface
StorageException
public void deleteAllRecoveryData(Context ctx, Connection con) throws StorageException
OXGroupStorageInterface
deleteAllRecoveryData
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.deleteAllRecoveryData(com.openexchange.admin.rmi.dataobjects.Context,
java.sql.Connection)
public void deleteRecoveryData(Context ctx, int groupId, Connection con) throws StorageException
OXGroupStorageInterface
deleteRecoveryData
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.deleteRecoveryData(com.openexchange.admin.rmi.dataobjects.Context,
int, java.sql.Connection)
public Group get(Context ctx, Group group) throws StorageException
OXGroupStorageInterface
get
in class OXGroupStorageInterface
StorageException
public Group[] getGroupsForUser(Context ctx, User user) throws StorageException
OXGroupStorageInterface
getGroupsForUser
in class OXGroupStorageInterface
StorageException
public User[] getMembers(Context ctx, int groupId) throws StorageException
OXGroupStorageInterface
getMembers
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.getMembers(com.openexchange.admin.rmi.dataobjects.Context,
int)
public Group[] list(Context ctx, String pattern) throws StorageException
OXGroupStorageInterface
list
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.list(com.openexchange.admin.rmi.dataobjects.Context,
java.lang.String)
public void removeMember(Context ctx, int groupId, User[] members) throws StorageException
OXGroupStorageInterface
removeMember
in class OXGroupSQLStorage
StorageException
OXGroupStorageInterface.removeMember(com.openexchange.admin.rmi.dataobjects.Context,
int, User[])
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |