public class _ApplElemAccessStub extends org.omg.CORBA.portable.ObjectImpl implements ApplElemAccess
Constructor and Description |
---|
_ApplElemAccessStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
void |
deleteInstances(T_LONGLONG aid,
T_LONGLONG[] instIds)
(24006)
Delete instances from an application element.
|
ACL[] |
getAttributeRights(T_LONGLONG aid,
java.lang.String attrName)
(24011)
Retrieve access control list information for the given application
attribute
|
InitialRight[] |
getElementInitialRights(T_LONGLONG aid)
(24018)
Retrieve access control list information of the initial rights for
the requested application element
|
ACL[] |
getElementRights(T_LONGLONG aid)
(24012)
Retrieve access control list information for the requested
application element
|
java.lang.String[] |
getInitialRightReference(T_LONGLONG aid)
(24017)
Get all attribute names (references) which are used to retrieve the
Initial Rights.
|
InitialRight[] |
getInstanceInitialRights(T_LONGLONG aid,
T_LONGLONG iid)
(24019)
Retrieve access control list information of the initial rights for
the requested instance
|
ACL[] |
getInstanceRights(T_LONGLONG aid,
T_LONGLONG iid)
(24013)
Retrieve access control list information for the requested instance
|
ElemResultSet[] |
getInstances(QueryStructure aoq,
int how_many)
(24001)
Perform the Query.
|
ResultSetExt[] |
getInstancesExt(QueryStructureExt aoq,
int how_many)
(24020)
Perform the Query.
|
ODSFile |
getODSFile(ElemId elem)
(24022)
Get the ODSFile interface for an instance of an application element
derived from AoFile.
|
T_LONGLONG[] |
getRelInst(ElemId elem,
java.lang.String relName)
(24002)
Get related instances (Id).
|
ValueMatrix |
getValueMatrix(ElemId elem)
(24007)
Get the value matrix of a measurement or a submatrix.
|
ValueMatrix |
getValueMatrixInMode(ElemId elem,
ValueMatrixMode vmMode)
(24021)
Get the value matrix of a measurement or a submatrix.
|
ElemId[] |
insertInstances(AIDNameValueSeqUnitId[] val)
(24004)
Create instance elements of an application element.
|
void |
setAttributeRights(T_LONGLONG aid,
java.lang.String attrName,
T_LONGLONG usergroupId,
int rights,
RightsSet set)
(24008)
Set the ACL information on some application element-attribute
defined by
|
void |
setElementInitialRights(T_LONGLONG aid,
T_LONGLONG usergroupId,
int rights,
T_LONGLONG refAid,
RightsSet set)
(24014)
Set the access control list information for the initial rights on
some application element defined by
|
void |
setElementRights(T_LONGLONG aid,
T_LONGLONG usergroupId,
int rights,
RightsSet set)
(24009)
Set the ACL information on some application element defined by
|
void |
setInitialRightReference(T_LONGLONG aid,
java.lang.String refName,
RightsSet set)
(24016)
Set the flag
|
void |
setInstanceInitialRights(T_LONGLONG aid,
T_LONGLONG[] instIds,
T_LONGLONG usergroupId,
int rights,
T_LONGLONG refAid,
RightsSet set)
(24015)
Set the access control list information for the initial rights on
some instance defined by the application element id
|
void |
setInstanceRights(T_LONGLONG aid,
T_LONGLONG[] instIds,
T_LONGLONG usergroupId,
int rights,
RightsSet set)
(24010)
Set the ACL information on some instances defined by the application
element id
|
void |
setRelInst(ElemId elem,
java.lang.String relName,
T_LONGLONG[] instIds,
SetType type)
(24003)
Add a set of instances as related instances to a given instance.
|
void |
updateInstances(AIDNameValueSeqUnitId[] val)
(24005)
Update one or more attributes of one or more instance elements.
|
_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 ElemResultSet[] getInstances(QueryStructure aoq, int how_many) throws AoException
getInstances
in interface ApplElemAccessOperations
aoq
- The query definition.how_many
- Maximum number of values in each result set. Valid
arguments are:
how_many = 0 : report all found values,
how_many > 0 : report a maximum number of values.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 T_LONGLONG[] getRelInst(ElemId elem, java.lang.String relName) throws AoException
getRelInst
in interface ApplElemAccessOperations
elem
- Original instance.relName
- The relation name.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 setRelInst(ElemId elem, java.lang.String relName, T_LONGLONG[] instIds, SetType type) throws AoException
setRelInst
in interface ApplElemAccessOperations
elem
- The instance to add to the given relation.relName
- The name of relation.instIds
- Sequence of instance id's.type
- The type of the modification, insert, update or
remove.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 ElemId[] insertInstances(AIDNameValueSeqUnitId[] val) throws AoException
insertInstances
in interface ApplElemAccessOperations
val
- The sequence of attributes and their values.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 updateInstances(AIDNameValueSeqUnitId[] val) throws AoException
updateInstances
in interface ApplElemAccessOperations
val
- The sequence of attributes and their values. At least
one of the attribute values sequence must be a sequence
with the Id.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 deleteInstances(T_LONGLONG aid, T_LONGLONG[] instIds) throws AoException
deleteInstances
in interface ApplElemAccessOperations
aid
- The application element Id.instIds
- The sequence of instance Id's.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 ValueMatrix getValueMatrix(ElemId elem) throws AoException
getValueMatrix
in interface ApplElemAccessOperations
elem
- The element id. The aid has to be the application
element Id of the AoMeasurement or AoSubmatrix.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_ACTIVE
AO_INVALID_BASETYPEpublic void setAttributeRights(T_LONGLONG aid, java.lang.String attrName, T_LONGLONG usergroupId, int rights, RightsSet set) throws AoException
setAttributeRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.attrName
- The name of the attribute.usergroupId
- The user group to set the rights for.rights
- The new right for the user group.set
- What to do with the new right.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_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setElementRights(T_LONGLONG aid, T_LONGLONG usergroupId, int rights, RightsSet set) throws AoException
setElementRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.usergroupId
- The user group to set the rights for.rights
- The new rights for the user group. The rights
constants are defined in the interface
SecurityRights. 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.set
- What to do with the new right.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 setInstanceRights(T_LONGLONG aid, T_LONGLONG[] instIds, T_LONGLONG usergroupId, int rights, RightsSet set) throws AoException
setInstanceRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.instIds
- The sequence of instance Id's.usergroupId
- The user group to set the rights for.rights
- The new right for the user group.set
- What to do with the new right.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 ACL[] getAttributeRights(T_LONGLONG aid, java.lang.String attrName) throws AoException
getAttributeRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.attrName
- The name of the attribute.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 ACL[] getElementRights(T_LONGLONG aid) throws AoException
getElementRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.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 ACL[] getInstanceRights(T_LONGLONG aid, T_LONGLONG iid) throws AoException
getInstanceRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.iid
- The Id of the instance.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 setElementInitialRights(T_LONGLONG aid, T_LONGLONG usergroupId, int rights, T_LONGLONG refAid, RightsSet set) throws AoException
setElementInitialRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.usergroupId
- The user group to set the initial rights for.rights
- The new initial rights for the user group. The
rights constants are defined in the interface
SecurityRights. The interface definition language
IDL does not allow to set the values of enumerations
thus the constant definitions have to be done in an
interface.refAid
- The Id of referencing application element for which
the initial rights will be used. If no refAid is set
the initial rights will be used for each new
instance element independent of the application
element.set
- What to do with the new initial rights.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 setInstanceInitialRights(T_LONGLONG aid, T_LONGLONG[] instIds, T_LONGLONG usergroupId, int rights, T_LONGLONG refAid, RightsSet set) throws AoException
setInstanceInitialRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.instIds
- The sequence of instance Id's.usergroupId
- The user group to set the initial rights for.rights
- The new initial right for the user group.refAid
- The Id of referencing application element for which
the initial rights will be used. If no refAid is set
the initial rights will be used for each new
instance element independent of the application
element.set
- What to do with the new initial rights.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 setInitialRightReference(T_LONGLONG aid, java.lang.String refName, RightsSet set) throws AoException
setInitialRightReference
in interface ApplElemAccessOperations
aid
- The application element Id.refName
- The name of the reference.set
- What to do with the given reference.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_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic java.lang.String[] getInitialRightReference(T_LONGLONG aid) throws AoException
getInitialRightReference
in interface ApplElemAccessOperations
aid
- The application element Id.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 InitialRight[] getElementInitialRights(T_LONGLONG aid) throws AoException
getElementInitialRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.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 InitialRight[] getInstanceInitialRights(T_LONGLONG aid, T_LONGLONG iid) throws AoException
getInstanceInitialRights
in interface ApplElemAccessOperations
aid
- The Id of the application element.iid
- The Id of the instance.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 ResultSetExt[] getInstancesExt(QueryStructureExt aoq, int how_many) throws AoException
getInstancesExt
in interface ApplElemAccessOperations
aoq
- The query definition.how_many
- Maximum number of values in each result set. Valid
arguments are:
how_many = 0 : report all found values,
how_many > 0 : report a maximum number of values.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 ValueMatrix getValueMatrixInMode(ElemId elem, ValueMatrixMode vmMode) throws AoException
getValueMatrixInMode
in interface ApplElemAccessOperations
elem
- The element id. The aid has to be the application
element Id of the AoMeasurement or AoSubmatrix.vmMode
- The requested mode of the value matrix.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_ACTIVE
AO_INVALID_BASETYPE
AO_INVALID_VALUEMATRIX_STRUCTUREpublic ODSFile getODSFile(ElemId elem) throws AoException
getODSFile
in interface ApplElemAccessOperations
elem
- The instance to which the file belongs, whose access
is intended.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_INVALID_BASETYPE
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_ACCESS_DENIEDpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl