public class ScriptPreferenceService extends BaseScopableProcessorExtension
Constructor and Description |
---|
ScriptPreferenceService() |
Modifier and Type | Method and Description |
---|---|
void |
clearPreferences(String userName) |
void |
clearPreferences(String userName,
String preferenceFilter)
Clear the preference values
|
boolean |
getAllowWrite() |
org.mozilla.javascript.NativeObject |
getPreferences(String userName) |
org.mozilla.javascript.NativeObject |
getPreferences(String userName,
String preferenceFilter) |
void |
setPreferences(String userName,
org.mozilla.javascript.NativeObject preferences) |
void |
setPreferenceService(PreferenceService preferenceService) |
void |
setServiceRegistry(ServiceRegistry services) |
void |
setTransactionService(TransactionService transactionService) |
getScope, setScope
getExtensionName, register, setExtensionName, setProcessor
public void setTransactionService(TransactionService transactionService)
public void setServiceRegistry(ServiceRegistry services)
public void setPreferenceService(PreferenceService preferenceService)
public boolean getAllowWrite()
public org.mozilla.javascript.NativeObject getPreferences(String userName)
public org.mozilla.javascript.NativeObject getPreferences(String userName, String preferenceFilter)
public void setPreferences(String userName, org.mozilla.javascript.NativeObject preferences)
public void clearPreferences(String userName)
Copyright © 2005–2017 Alfresco Software. All rights reserved.