public interface CentraSiteRegistryService
Modifier and Type | Method and Description |
---|---|
void |
clearTypeCache(java.lang.String typeName)
Clears doctype cache for a specific type.
|
User |
getCaller()
Gets the JAXR User object which represents the client that created
the current JAXR Connection.
|
CentraSiteConnection |
getConnection()
Returns the connection that created this registry service.
|
java.lang.Object |
getContextVariable(java.lang.Object key)
Retrieves a user-defined value for a given key, where the key/value pair was
previously stored by calling setContextVariable.
|
java.util.Locale |
getErrorMessageLocale()
Returns the error message locale.
|
com.centrasite.jaxr.util.GuiConfigurationUtil |
getGUIConfigurationUtil()
Gets instance of GUIConfigurationUtil.
|
ImportArchiveAccessor |
getImportArchiveAccessor()
Gets the ImportArchiveAccessor.
|
CentraSiteObjectCache |
getObjectCache()
Gets object cache.
|
CentraSiteResourceAccessManager |
getResourceAccessManager()
Gets the ResourceAccessManager.
|
com.centrasite.jaxr.util.REST20Migrator |
getREST20Migrator()
Gets the instance of REST20Migrator which is used to migrate the older REST and XMLService assets to new enhanced JAXR model for REST and XMLService assets.
|
com.centrasite.jaxr.util.REST30Migrator |
getREST30Migrator()
Gets the instance of REST30Migrator which is used to migrate the 2.0 REST assets to new enhanced JAXR model for 3.0 REST assets.
|
java.util.Collection<CentraSiteLocale> |
getRestrictedLocales()
Gets the set of restricted locales.
|
CentraSiteRevisionManager |
getRevisionManager()
Gets the RevisionManager.
|
java.lang.String |
getServerVersion()
Gets the version of the CentraSite server.
|
CentraSiteTextValidator |
getTextValidator()
Gets the TextValidator.
|
java.util.Locale |
getUserAccountLocale()
For the currently logged in user return the locale that is defined in the user's
GUI configuration.
|
boolean |
isValidRestrictedLocale(CentraSiteLocale locale)
Returns whether the given CentraSite locale is in the set of restricted locales.
|
boolean |
isValidRestrictedLocale(java.util.Locale locale)
Returns whether the given locale is in the set of restricted locales.
|
void |
setContextVariable(java.lang.Object key,
java.lang.Object value)
Passes a user-defined key/value pair for being stored with this
CentraSiteRegistryService instance.
|
void |
setErrorMessageLocale(java.util.Locale locale)
Sets the error message locale.
|
void |
setImportArchiveAccessor(ImportArchiveAccessor importArchiveAccessor)
Sets the ImportArchiveAccessor.
|
void |
setResourceAccessManager(CentraSiteResourceAccessManager ram)
Sets the ResourceAccessManager.
|
void |
setRestrictedLocales(java.util.Collection<CentraSiteLocale> restrictedLocales)
Defines the set of restricted locales.
|
User getCaller() throws JAXRException
JAXRException
- if an internal error occurs.void clearTypeCache(java.lang.String typeName)
typeName
- the type to be removed from the cacheCentraSiteConnection getConnection()
CentraSiteObjectCache getObjectCache()
com.centrasite.jaxr.util.GuiConfigurationUtil getGUIConfigurationUtil()
com.centrasite.jaxr.util.REST20Migrator getREST20Migrator() throws JAXRException
JAXRException
void setResourceAccessManager(CentraSiteResourceAccessManager ram) throws JAXRException
ram
- the ResourceAccessManagerJAXRException
- if an internal error occurs.CentraSiteResourceAccessManager getResourceAccessManager() throws JAXRException
JAXRException
- if an internal error occurs on getting the resource access manager object.CentraSiteRevisionManager getRevisionManager() throws JAXRException
JAXRException
- if an internal error occurs on getting revision manager object.void setImportArchiveAccessor(ImportArchiveAccessor importArchiveAccessor)
importArchiveAccessor
- the import archive accessor.ImportArchiveAccessor getImportArchiveAccessor()
java.util.Locale getErrorMessageLocale() throws JAXRException
JAXRException
- if an internal error occurs.void setErrorMessageLocale(java.util.Locale locale) throws JAXRException
locale
- the error message locale.JAXRException
- if an internal error occurs.CentraSiteTextValidator getTextValidator() throws JAXRException
JAXRException
- if an internal error occurs on getting the text validator object.void setRestrictedLocales(java.util.Collection<CentraSiteLocale> restrictedLocales) throws JAXRException
restrictedLocales
- the collection of restricted localesJAXRException
- if an internal error occurs.java.util.Collection<CentraSiteLocale> getRestrictedLocales() throws JAXRException
JAXRException
- if an internal error occurs on getting the restricted locale's.boolean isValidRestrictedLocale(CentraSiteLocale locale) throws JAXRException
locale
- the locale to be checkedJAXRException
- if an internal error occurs.boolean isValidRestrictedLocale(java.util.Locale locale) throws JAXRException
locale
- the locale to be checkedJAXRException
- if an internal error occurs.java.lang.String getServerVersion() throws JAXRException
JAXRException
- if an internal error occurs.java.util.Locale getUserAccountLocale() throws JAXRException
JAXRException
- if an internal error occurs.void setContextVariable(java.lang.Object key, java.lang.Object value)
key
- the key.value
- the value.java.lang.Object getContextVariable(java.lang.Object key)
key
- the key.com.centrasite.jaxr.util.REST30Migrator getREST30Migrator() throws JAXRException
JAXRException