|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a backend service level interface that defines an api for user level operations.
Method Summary | |
void |
addUserToGroup(Group group,
User userToAdd)
This is used to add a specified user to a specified group. |
void |
addUserToGroups(List groups,
User userToAdd)
This is used to add a user to many groups at once. |
long |
getUpdateUserMailMimetypePreferenceCount(String mimetype)
|
long |
getUserLocalePreferenceCount(String localeCode)
|
Collection |
getUserLocalePreferenceList(String localeCode)
|
void |
removeUserFromGroup(Group group,
User userToRemove)
This is used to remove a specified user from a specified group. |
void |
removeUserFromGroups(List groups,
User userToRemove)
This is used to remove a user from many groups at once. |
void |
updateUserMailMimetypePreference(String mimetype)
This is used to update all users mimetype mail preference. |
Method Detail |
public void addUserToGroup(Group group, User userToAdd) throws org.ofbiz.core.entity.GenericEntityException, IndexException
group
- the group to add the user to.userToAdd
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public void addUserToGroups(List groups, User userToAdd) throws org.ofbiz.core.entity.GenericEntityException, IndexException
groups
- a list containing the groups to add the user to.userToAdd
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public void removeUserFromGroup(Group group, User userToRemove) throws org.ofbiz.core.entity.GenericEntityException, IndexException
group
- the group to add the user to.userToRemove
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public void removeUserFromGroups(List groups, User userToRemove) throws org.ofbiz.core.entity.GenericEntityException, IndexException
groups
- a list containing the groups to add the user to.userToRemove
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public void updateUserMailMimetypePreference(String mimetype) throws org.ofbiz.core.entity.GenericEntityException
mimetype
-
org.ofbiz.core.entity.GenericEntityException
public long getUpdateUserMailMimetypePreferenceCount(String mimetype) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public long getUserLocalePreferenceCount(String localeCode)
public Collection getUserLocalePreferenceList(String localeCode)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |