public class _AoSessionStub extends org.omg.CORBA.portable.ObjectImpl implements AoSession
Constructor and Description |
---|
_AoSessionStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
void |
abortTransaction()
(3001)
Abort (rollback) a transaction.
|
void |
close()
(3002)
Close session to an ASAM ODS server.
|
void |
commitTransaction()
(3003)
Commit a transaction.
|
Blob |
createBlob()
(3024)
Create a new object with the Interface Blob on the server.
|
AoSession |
createCoSession()
(3025)
Create a co-session.
|
QueryEvaluator |
createQueryEvaluator()
(3023)
Create a QueryEvaluator object.
|
void |
flush()
(3014)
Make the pending changes of the current transaction permanent.
|
ApplElemAccess |
getApplElemAccess()
(3018)
Get the application element access object from the current session.
|
ApplicationStructure |
getApplicationStructure()
(3004)
Get the application model from the current session by returning an
object with the interface ApplicationStructure.
|
ApplicationStructureValue |
getApplicationStructureValue()
(3005)
Get the application model as values from the current session.
|
BaseStructure |
getBaseStructure()
(3006)
Get the ASAM ODS base model from the current session by returning an
object with the interface BaseStructure.
|
NameValueIterator |
getContext(java.lang.String varPattern)
(3007)
Get context variables from the session.
|
NameValue |
getContextByName(java.lang.String varName)
(3008)
Get a context variable by its name from the session.
|
java.lang.String |
getDescription()
(3020)
Get the description of the ASAM ODS session.
|
EnumerationAttributeStructure[] |
getEnumerationAttributes()
(3027)
Get a list of all attributes of all elements in the application
model which are of enumeration type.
|
EnumerationStructure[] |
getEnumerationStructure()
(3028)
Get all enumerations used in the application model.
|
int |
getId()
(3029)
Returns the Id of the session.
|
short |
getLockMode()
(3016)
Get the current lock mode.
|
java.lang.String |
getName()
(3021)
Get the name of the ASAM ODS session.
|
java.lang.String |
getType()
(3022)
Get the type of the ASAM ODS session.
|
InstanceElement |
getUser()
(3026)
Returns the instance element of the user logged in.
|
NameIterator |
listContext(java.lang.String varPattern)
(3009)
List the names of context variables from the session.
|
void |
removeContext(java.lang.String varPattern)
(3010)
Remove context variables from the session.
|
void |
setContext(NameValue contextVariable)
(3011)
Set/modify a known context variable or add a new context variable to
the session.
|
void |
setContextString(java.lang.String varName,
java.lang.String value)
(3012)
Set/modify a known context variable or add a new context variable to
the session.
|
void |
setCurrentInitialRights(InitialRight[] irlEntries,
boolean set)
(3015)
Every new created session instance will set its initial rights to
|
void |
setLockMode(short lockMode)
(3017)
Set the new lock mode.
|
void |
setPassword(java.lang.String username,
java.lang.String oldPassword,
java.lang.String newPassword)
(3019)
Change the password for user defined by
|
void |
startTransaction()
(3013)
Start a transaction on the physical storage system (e.g. database
system).
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
public void abortTransaction() throws AoException
abortTransaction
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void close() throws AoException
close
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void commitTransaction() throws AoException
commitTransaction
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic ApplicationStructure getApplicationStructure() throws AoException
getApplicationStructure
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationStructureValue getApplicationStructureValue() throws AoException
getApplicationStructureValue
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic BaseStructure getBaseStructure() throws AoException
getBaseStructure
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameValueIterator getContext(java.lang.String varPattern) throws AoException
getContext
in interface AoSessionOperations
varPattern
- The name or the search pattern for the context
variable(s).AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameValue getContextByName(java.lang.String varName) throws AoException
getContextByName
in interface AoSessionOperations
varName
- The name of the requested context variable.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameIterator listContext(java.lang.String varPattern) throws AoException
listContext
in interface AoSessionOperations
varPattern
- The name or the search pattern for the context
variable(s).AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NOT_FOUND
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void removeContext(java.lang.String varPattern) throws AoException
removeContext
in interface AoSessionOperations
varPattern
- The name or the search pattern for the context
variable(s) to be removed.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NOT_FOUND
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setContext(NameValue contextVariable) throws AoException
setContext
in interface AoSessionOperations
contextVariable
- The context variable.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setContextString(java.lang.String varName, java.lang.String value) throws AoException
setContextString
in interface AoSessionOperations
varName
- The name of the context variable.value
- The value of the context variable.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void startTransaction() throws AoException
startTransaction
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_ALREADY_ACTIVEpublic void flush() throws AoException
flush
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setCurrentInitialRights(InitialRight[] irlEntries, boolean set) throws AoException
setCurrentInitialRights
in interface AoSessionOperations
irlEntries
- The current initial rights.set
- Set (1) or remove (0) the current initial rights. The
previous initial rights get lost. If the parameter set
is 0 (remove) the parameter irlEntries will be ignored.AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic short getLockMode() throws AoException
getLockMode
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setLockMode(short lockMode) throws AoException
setLockMode
in interface AoSessionOperations
lockMode
- The new lock mode. The lock mode constants are
defined in the interface LockMode. The interface
definition language IDL does not allow to set the
values of enumerations thus the constant
definitions had to be done in an interface.AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic ApplElemAccess getApplElemAccess() throws AoException
getApplElemAccess
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setPassword(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword) throws AoException
setPassword
in interface AoSessionOperations
username
- The name of the user for which the password will
be changed. If no username is given the password
of the current user will be changed. If the
username differs from the current user the current
user must be a super user.oldPassword
- The current password of the user. A normal user
must supply his current password. The super
user can change the password without supplying
the current password.newPassword
- The new password of the user.AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVE
AO_WRONG_PASSWORDpublic java.lang.String getDescription() throws AoException
getDescription
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_CONNECTION_LOSTpublic java.lang.String getName() throws AoException
getName
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_CONNECTION_LOSTpublic java.lang.String getType() throws AoException
getType
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_CONNECTION_LOSTpublic QueryEvaluator createQueryEvaluator() throws AoException
createQueryEvaluator
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_ACCESS_DENIED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic Blob createBlob() throws AoException
createBlob
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic AoSession createCoSession() throws AoException
createCoSession
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_ACCESS_DENIEDpublic InstanceElement getUser() throws AoException
getUser
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORYpublic EnumerationAttributeStructure[] getEnumerationAttributes() throws AoException
getEnumerationAttributes
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_NOT_FOUNDpublic EnumerationStructure[] getEnumerationStructure() throws AoException
getEnumerationStructure
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic int getId() throws AoException
getId
in interface AoSessionOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORYpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl