public interface CentraSiteConnection
extends javax.xml.registry.Connection
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SSL_FILE_PROPERTY
Property for the SSL property file.
|
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits the current transaction for a connection with client transaction control.
|
java.util.ArrayList<java.lang.String> |
getAdditionalFeatures()
Returns the additional features specified in the license file.
|
java.util.Collection |
getAllRoles()
Deprecated.
|
java.lang.String |
getEdition()
Returns the server edition specified in the license file.
|
java.util.Locale |
getErrorMessageLocale()
Returns the error message locale.
|
java.lang.String |
getQueryManagerURL()
Gets the queryManagerURL.
|
javax.xml.xquery.XQConnection |
getReadonlyXQConnection()
Gets the read-only XQJ connection object for JAXR clients.
|
java.util.Properties |
getSSLProperties()
Gets the SSL properties from the connection.
|
javax.xml.registry.infomodel.Organization |
getSubmittingOrganization()
Gets default submitting organization.
|
java.util.Collection |
getUserRoles()
Gets roles for authenticated user of the connection.
|
javax.xml.xquery.XQConnection |
getXQConnection()
Gets the XQJ connection object for JAXR clients.
|
javax.xml.xquery.XQConnection |
getXQUpdateConnection()
Gets the XQJ connection object for updates.
|
boolean |
isActiveSoaEdition()
Returns whether the server has an ActiveSoaEdition license.
|
boolean |
isAdditionalFeatureLicensed(java.lang.String feature)
Returns whether a specified additional feature is licensed.
|
boolean |
isEnterpriseEdition()
Returns whether the server has an EnterpriseEdition license.
|
void |
lock(java.util.Collection registryObjects,
java.util.Collection lockQualifiers)
Locks the given registry objects exclusively according to the given lock options.
|
void |
rollback()
Rollbacks the current transaction.
|
void |
setSubmittingOrganization(javax.xml.registry.infomodel.Organization organization)
Sets default submitting organization.
|
static final java.lang.String SSL_FILE_PROPERTY
boolean isEnterpriseEdition() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occursboolean isActiveSoaEdition() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occursjava.lang.String getEdition() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occursjava.util.ArrayList<java.lang.String> getAdditionalFeatures() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occursboolean isAdditionalFeatureLicensed(java.lang.String feature) throws javax.xml.registry.JAXRException
feature
- the feature to be checkedjavax.xml.registry.JAXRException
- if an internal error occursjava.util.Locale getErrorMessageLocale()
java.lang.String getQueryManagerURL()
void lock(java.util.Collection registryObjects, java.util.Collection lockQualifiers) throws javax.xml.registry.JAXRException
If LOCK_NOWAIT is not specified wait until all locks have been granted.
registryObjects
- the collection of registry objects to be locked. Maybe empty but not null.lockQualifiers
- the collection of lock qualifiersjavax.xml.registry.JAXRException
LockQualifier
,
rollback()
void commit() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on commitingvoid rollback() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on roll backlock(java.util.Collection, java.util.Collection)
javax.xml.xquery.XQConnection getReadonlyXQConnection() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on retrieving the read only connectionjavax.xml.xquery.XQConnection getXQConnection() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on retrieving the connectionjavax.xml.xquery.XQConnection getXQUpdateConnection() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if an internal error occurs on retrieving the XQ update connectionjava.util.Collection getUserRoles() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if a registry error occursjava.util.Collection getAllRoles() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if a registry error occursjavax.xml.registry.infomodel.Organization getSubmittingOrganization() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
- if a registry error occursvoid setSubmittingOrganization(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException
organization
- the organization is updated as submitting organizationjavax.xml.registry.JAXRException
- if a registry error occursjava.util.Properties getSSLProperties()