|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.objectplanet.survey.plugin.api.ResourceManager
Encapsulates functionality to manage reusable resources.
Constructor Summary | |
ResourceManager()
|
Method Summary | |
static long |
createInviteeList(User user,
InviteeList inviteeList)
Creates a new reusable invitee list in the storage. |
static void |
deleteInviteeList(User user,
long inviteeListId)
Delete an invitee list. |
static InviteeList |
getInviteeList(User user,
long inviteeListId)
Gets the invitee list. |
static ListItem[] |
getInviteeLists(User user)
Gets the invitee lists for this user (array of ListItems) |
static void |
updateInviteeList(User user,
InviteeList inviteeList)
Updates invitee list. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceManager()
Method Detail |
public static InviteeList getInviteeList(User user, long inviteeListId) throws SurveySecurityException, SurveySystemException
user
- Current userinviteeListId
- Invitee list id
SurveySystemException
- If an error occurs in the business logic.
SurveySecurityException
- If not authoriziedpublic static ListItem[] getInviteeLists(User user) throws SurveySystemException
user
- Current user
SurveySystemException
public static long createInviteeList(User user, InviteeList inviteeList) throws SurveySystemException
user
- User who create the invitee list and will get unlimited access to itinviteeList
- Invitee list to create
SurveySystemException
- If an error occurs in the business logic.public static void deleteInviteeList(User user, long inviteeListId) throws SurveySystemException, SurveySecurityException
user
- Current userinviteeListId
- The invitee list id
SurveySecurityException
- If unauthorized
SurveySystemException
- If an error occurs in the business logic.public static void updateInviteeList(User user, InviteeList inviteeList) throws SurveySystemException, SurveySecurityException
user
- Current userinviteeList
- Invitee list to update
SurveySystemException
- If an error occurs in the business logic.
SurveySecurityException
- If unauthorized
|
Copyright © ObjectPlanet Inc. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |