|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.preferences.impl.JcrPreferencesService
public class JcrPreferencesService
Service to access the Preferences of Authorizables
| Method Summary | |
|---|---|
Preferences |
get()
Acces the Preferences of the User which session is given as argument |
Preferences |
get(String authorizableId)
Acquire the Preferences fo a given authorizable. If access rights are sufficent, implementations have to return a Preferences object. |
Collection<String> |
getEditableApplicationPath()
Tool to acces all Applications that define a dialog for preferences. |
boolean |
remove()
Remove all Preferences for the User of the given session. |
boolean |
remove(String authorizableId)
Remove all Preferences of the Authorizable the given ID identifies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Preferences get()
get in interface PreferencesService
public Preferences get(String authorizableId)
throws NoSuchAuthorizableException
get in interface PreferencesServiceauthorizableId - the Id of the Authorizable to access the Preferences for
NoSuchAuthorizableException - if there is no Authorizable with the given ID;public boolean remove()
remove in interface PreferencesService
public boolean remove(String authorizableId)
throws NoSuchAuthorizableException
remove in interface PreferencesServiceauthorizableId - to remove the Preferences for
NoSuchAuthorizableException - if the given ID does not point to an existing Authorizablepublic Collection<String> getEditableApplicationPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||