|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.proxy.WatchSettingsManagerProxy
public class WatchSettingsManagerProxy
A protection proxy for the WatchSettingsManager class. A proxy has a set of permissions that are specified at creation time of the proxy. Subsequently, those permissions are use to restrict access to protected methods. If a user does not have the right to execute a particular method, an UnauthorizedException is thrown.
Permissions,
UnauthorizedException| Constructor Summary | |
|---|---|
WatchSettingsManagerProxy(WatchSettingsManager manager,
AuthToken authToken,
Permissions permissions)
Creates a new WatchSettingsManagerProxy object. |
|
| Method Summary | |
|---|---|
void |
deleteSettings(User user)
Delete the watch settings for a user |
WatchSettings |
getSettings(User user)
Retrieve a watch settings for the given user |
void |
saveSettings(User user,
WatchSettings settings)
Save the watch settings for a user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WatchSettingsManagerProxy(WatchSettingsManager manager,
AuthToken authToken,
Permissions permissions)
manager - the watchsettingsmanager to protect by proxy.authToken - the user's authorization token.permissions - the permissions to use with this proxy.| Method Detail |
|---|
public WatchSettings getSettings(User user)
WatchSettingsManager
getSettings in interface WatchSettingsManageruser - the user to return a watch settings object for
public void saveSettings(User user,
WatchSettings settings)
WatchSettingsManager
saveSettings in interface WatchSettingsManageruser - the user to save the watch settings forsettings - the watch settings to savepublic void deleteSettings(User user)
WatchSettingsManager
deleteSettings in interface WatchSettingsManageruser - the user to delete the watch settings for
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||