public class _ApplicationElementStub extends org.omg.CORBA.portable.ObjectImpl implements ApplicationElement
Constructor and Description |
---|
_ApplicationElementStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
ApplicationAttribute |
createAttribute()
(5001)
Create a new application attribute on the server.
|
InstanceElement |
createInstance(java.lang.String ieName)
(5002)
Create an instance of the application element.
|
InstanceElement[] |
createInstances(NameValueSeqUnit[] attributes,
ApplicationRelationInstanceElementSeq[] relatedInstances)
(5033)
Create a list with instances.
|
ApplicationElement[] |
getAllRelatedElements()
(5003)
Get a list of all related application elements connected to this
application element.
|
ApplicationRelation[] |
getAllRelations()
(5004)
Get a list of all application relations connected to this
application element.
|
ApplicationStructure |
getApplicationStructure()
(5032)
Get the application model to which the application element belongs
by returning an object with the interface ApplicationStructure.
|
ApplicationAttribute |
getAttributeByBaseName(java.lang.String baName)
(5005)
Get the application attribute of an application element which is
inherited from the base attribute with the given name.
|
ApplicationAttribute |
getAttributeByName(java.lang.String aaName)
(5006)
Get the application attribute of an application element which has
the given name.
|
ApplicationAttribute[] |
getAttributes(java.lang.String aaPattern)
(5007)
Get a list of the application attributes of an application element.
|
BaseElement |
getBaseElement()
(5008)
Get the base element of an application element.
|
T_LONGLONG |
getId()
(5009)
Get the Id of an application element.
|
ApplicationRelation[] |
getInitialRightRelations()
(5029)
Get all relations which are used to retrieve the instances to create
the initial rights of the new created instance element.
|
InitialRight[] |
getInitialRights()
(5026)
Retrieve access control list information for the initial rights of
the given object.
|
InstanceElement |
getInstanceById(T_LONGLONG ieId)
(5010)
Get the instance element specified by the given Id.
|
InstanceElement |
getInstanceByName(java.lang.String ieName)
(5011)
Get the instance element specified by the given name.
|
InstanceElementIterator |
getInstances(java.lang.String iePattern)
(5012)
Get the instances whose names match with the pattern.
|
java.lang.String |
getName()
(5013)
Get the name of an application element.
|
ApplicationElement[] |
getRelatedElementsByRelationship(Relationship aeRelationship)
(5014)
Get related application elements connected via the specified
relationship.
|
ApplicationRelation[] |
getRelationsByBaseName(java.lang.String baseRelName)
(5034)
Return the application relations derived from the base relation with
the given relation name.
|
ApplicationRelation[] |
getRelationsByType(RelationType aeRelationType)
(5015)
Get application relations of the requested type connected with this
application element.
|
ACL[] |
getRights()
(5025)
Retrieve access control list information of the given object.
|
int |
getSecurityLevel()
(5030)
Get the security level of the application element.
|
java.lang.String[] |
listAllRelatedElements()
(5016)
Get the names of all related application elements.
|
java.lang.String[] |
listAttributes(java.lang.String aaPattern)
(5017)
Get the application attribute names of the application element.
|
NameIterator |
listInstances(java.lang.String aaPattern)
(5018)
Get the names of the instances whose names match with the pattern.
|
java.lang.String[] |
listRelatedElementsByRelationship(Relationship aeRelationship)
(5019)
Get the names of related application elements connected via the
specified relationship.
|
void |
removeAttribute(ApplicationAttribute applAttr)
(5020)
Remove an application attribute from an application element.
|
void |
removeInstance(T_LONGLONG ieId,
boolean recursive)
(5021)
Remove an instance from the application element.
|
void |
setBaseElement(BaseElement baseElem)
(5022)
Set or modify the base element of the application element.
|
void |
setInitialRightRelation(ApplicationRelation applRel,
boolean set)
(5028)
Set for the given application element, which relation will be used
to determine the initial rights for the new created instances.
|
void |
setInitialRights(InstanceElement usergroup,
int rights,
T_LONGLONG refAid,
RightsSet set)
(5027)
The given user group the initial rights should be set for.
|
void |
setName(java.lang.String aeName)
(5023)
Set the name of the application element.
|
void |
setRights(InstanceElement usergroup,
int rights,
RightsSet set)
(5024)
The given user group the rights should be set for.
|
void |
setSecurityLevel(int secLevel,
RightsSet set)
(5031)
Set the security level for the given application element.
|
_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 ApplicationAttribute createAttribute() throws AoException
createAttribute
in interface ApplicationElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_DUPLICATE_NAME
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic InstanceElement createInstance(java.lang.String ieName) throws AoException
createInstance
in interface ApplicationElementOperations
ieName
- The instance 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_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic ApplicationElement[] getAllRelatedElements() throws AoException
getAllRelatedElements
in interface ApplicationElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationRelation[] getAllRelations() throws AoException
getAllRelations
in interface ApplicationElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationAttribute getAttributeByBaseName(java.lang.String baName) throws AoException
getAttributeByBaseName
in interface ApplicationElementOperations
baName
- The base attribute 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 ApplicationAttribute getAttributeByName(java.lang.String aaName) throws AoException
getAttributeByName
in interface ApplicationElementOperations
aaName
- The application attribute 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 ApplicationAttribute[] getAttributes(java.lang.String aaPattern) throws AoException
getAttributes
in interface ApplicationElementOperations
aaPattern
- The name or the search pattern for the
application attribute 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 BaseElement getBaseElement() throws AoException
getBaseElement
in interface ApplicationElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic T_LONGLONG getId() throws AoException
getId
in interface ApplicationElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic InstanceElement getInstanceById(T_LONGLONG ieId) throws AoException
getInstanceById
in interface ApplicationElementOperations
ieId
- The instance 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 InstanceElement getInstanceByName(java.lang.String ieName) throws AoException
getInstanceByName
in interface ApplicationElementOperations
ieName
- The instance element name.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_DUPLICATE_NAME
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic InstanceElementIterator getInstances(java.lang.String iePattern) throws AoException
getInstances
in interface ApplicationElementOperations
iePattern
- The name or the search pattern for the instance
element 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 java.lang.String getName() throws AoException
getName
in interface ApplicationElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationElement[] getRelatedElementsByRelationship(Relationship aeRelationship) throws AoException
getRelatedElementsByRelationship
in interface ApplicationElementOperations
aeRelationship
- The requested relationship.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATIONSHIP
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic ApplicationRelation[] getRelationsByType(RelationType aeRelationType) throws AoException
getRelationsByType
in interface ApplicationElementOperations
aeRelationType
- The requested relation type.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATION_TYPE
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String[] listAllRelatedElements() throws AoException
listAllRelatedElements
in interface ApplicationElementOperations
AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String[] listAttributes(java.lang.String aaPattern) throws AoException
listAttributes
in interface ApplicationElementOperations
aaPattern
- The name or the search pattern for the
application attribute 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 NameIterator listInstances(java.lang.String aaPattern) throws AoException
listInstances
in interface ApplicationElementOperations
aaPattern
- The name or the search pattern for the
application attribute 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 java.lang.String[] listRelatedElementsByRelationship(Relationship aeRelationship) throws AoException
listRelatedElementsByRelationship
in interface ApplicationElementOperations
aeRelationship
- The requested relationship.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_INVALID_RELATIONSHIP
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void removeAttribute(ApplicationAttribute applAttr) throws AoException
removeAttribute
in interface ApplicationElementOperations
applAttr
- The application attribute to remove.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_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void removeInstance(T_LONGLONG ieId, boolean recursive) throws AoException
removeInstance
in interface ApplicationElementOperations
ieId
- The instance Id.recursive
- The recursive flag.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_REFERENCES
AO_IMPLEMENTATION_PROBLEM
AO_NOT_FOUND
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setBaseElement(BaseElement baseElem) throws AoException
setBaseElement
in interface ApplicationElementOperations
baseElem
- The base element.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_HAS_INSTANCES
AO_HAS_REFERENCES
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setName(java.lang.String aeName) throws AoException
setName
in interface ApplicationElementOperations
aeName
- The application element name.AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_DUPLICATE_NAME
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setRights(InstanceElement usergroup, int rights, RightsSet set) throws AoException
setRights
in interface ApplicationElementOperations
usergroup
- The user group for which the rights will be
modified.rights
- The new right 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_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic ACL[] getRights() throws AoException
getRights
in interface ApplicationElementOperations
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[] getInitialRights() throws AoException
getInitialRights
in interface ApplicationElementOperations
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 setInitialRights(InstanceElement usergroup, int rights, T_LONGLONG refAid, RightsSet set) throws AoException
setInitialRights
in interface ApplicationElementOperations
usergroup
- The user group for which the initial rights will
be modified.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 had to be done in an
interface.refAid
- The Id of referencing application element to which
the initial rights will be applied. 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_ACTIVE
AO_TRANSACTION_NOT_ACTIVEpublic void setInitialRightRelation(ApplicationRelation applRel, boolean set) throws AoException
setInitialRightRelation
in interface ApplicationElementOperations
applRel
- The application relation which will be used to
determine the initial rights. The relation range of
the application relation must be [1:1] otherwise
the server can not find an unique instance element
to retrieve the initial rights.set
- Set or remove the relation for the initial rights. If
this parameter is true the relation will be set
otherwise removed.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 ApplicationRelation[] getInitialRightRelations() throws AoException
getInitialRightRelations
in interface ApplicationElementOperations
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 int getSecurityLevel() throws AoException
getSecurityLevel
in interface ApplicationElementOperations
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 setSecurityLevel(int secLevel, RightsSet set) throws AoException
setSecurityLevel
in interface ApplicationElementOperations
secLevel
- The new security level. The security level
constants are defined in the interface
SecurityLevel. 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 security level.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 ApplicationStructure getApplicationStructure() throws AoException
getApplicationStructure
in interface ApplicationElementOperations
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 InstanceElement[] createInstances(NameValueSeqUnit[] attributes, ApplicationRelationInstanceElementSeq[] relatedInstances) throws AoException
createInstances
in interface ApplicationElementOperations
attributes
- The attributes of the new created instances.relatedInstances
- The list with related instances for
different application relations.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 ApplicationRelation[] getRelationsByBaseName(java.lang.String baseRelName) throws AoException
getRelationsByBaseName
in interface ApplicationElementOperations
baseRelName
- The name of the base relation.AoException
- with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl