|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TopologyUpdateFactory
Factory for creating arguments for TopologyUpdateService methods. The methods of this factory create client-side representations of CIs and Relations. They do not actually create them in the UCMDB.
Method Summary | |
---|---|
CI |
createCI(java.lang.String type)
Creates the client-side representation of a new CI of the specified type. |
CI |
createCI(java.lang.String id,
java.lang.String type)
Returns the client-side object for a CI of the specified ID and type. |
CI |
createCI(UcmdbId id,
java.lang.String type)
Returns the client-side object for a CI of the specified ID and type. |
ListPropertiesUpdate |
createListPropertiesUpdate(TopologyData topologyData)
|
Relation |
createRelation(java.lang.String type,
CI end1,
CI end2)
Creates a client-side Relation of the specified type between the two specified CIs. |
Relation |
createRelation(java.lang.String type,
UcmdbId end1Id,
UcmdbId end2Id)
Creates a client-side Relation of the specified type between the two CIs specified by their IDs. |
Relation |
createRelation(UcmdbId id,
java.lang.String type,
UcmdbId id1,
UcmdbId id2)
|
UcmdbId |
createTemporaryCIId(java.lang.String id)
Creates a temporary CI ID from the specified string. |
UcmdbId |
createTemporaryRelationId(java.lang.String id)
Creates a temporary Relation ID from the specified string. |
TopologyModification |
createTopologyModification()
Creates an object to be used as an argument to TopologyUpdateService
execute method. |
TopologyModificationData |
createTopologyModificationData()
Creates an object to be used as an argument to TopologyUpdateService
create , update
and delete methods. |
TopologyModificationData |
createTopologyModificationData(java.lang.String additionalModifierInfo)
Creates an object with information about the reporting agent to be used as an argument to TopologyUpdateService
create , update
and delete methods. |
UcmdbId |
restoreCIIdFromBytes(byte[] id)
Returns the UcmdbId object for the specified bytes array representation of a CI ID. |
UcmdbId |
restoreCIIdFromString(java.lang.String id)
Returns the UcmdbId object for the specified string representation of a CI ID. |
UcmdbId |
restoreRelationIdFromBytes(byte[] id)
Returns the UcmdbId object for the specified bytes array representation of a Relation ID. |
UcmdbId |
restoreRelationIdFromString(java.lang.String id)
Returns the UcmdbId object for the specified string representation of a Relation ID. |
Method Detail |
---|
UcmdbId restoreCIIdFromString(java.lang.String id) throws UcmdbException
UcmdbId
object for the specified string representation of a CI ID.
id
- id of the CI as string obtained from UcmdbId.getAsString()
UcmdbException
- if the string passed cannot be converted to a valid UCMDB IDUcmdbId restoreCIIdFromBytes(byte[] id)
UcmdbId
object for the specified bytes array representation of a CI ID.
id
- id of the CI as byte array obtained from UcmdbId.getAsBytes()
UcmdbId createTemporaryCIId(java.lang.String id)
CI createCI(java.lang.String type)
type
- the class name of the new CICI createCI(UcmdbId id, java.lang.String type)
id
- ID of the new CItype
- the class name of the new CICI createCI(java.lang.String id, java.lang.String type)
id
- ID of the CI as string obtained from UcmdbId.getAsString()
type
- the class name of the CIUcmdbId restoreRelationIdFromString(java.lang.String id)
UcmdbId
object for the specified string representation of a Relation ID.
The string representation of a Relation ID is obtained with UcmdbId.getAsString()
id
- the string representation of a Relation ID
UcmdbException
- if the string passed cannot be converted to a valid UCMDB IDUcmdbId restoreRelationIdFromBytes(byte[] id)
UcmdbId
object for the specified bytes array representation of a Relation ID.
The bytes representation of a Relation ID is obtained with UcmdbId.getAsBytes()
id
- the bytes array representation of a Relation IDUcmdbId createTemporaryRelationId(java.lang.String id)
Relation createRelation(java.lang.String type, CI end1, CI end2)
type
- the class name of the new relationRelation createRelation(java.lang.String type, UcmdbId end1Id, UcmdbId end2Id)
type
- the class name of the new relationRelation createRelation(UcmdbId id, java.lang.String type, UcmdbId id1, UcmdbId id2)
TopologyModificationData createTopologyModificationData()
TopologyUpdateService
create
, update
and delete
methods.
TopologyModificationData createTopologyModificationData(java.lang.String additionalModifierInfo)
TopologyUpdateService
create
, update
and delete
methods. The reporting agent information is stored
as the changer in the history database.
additionalModifierInfo
- information about the agent that supplies the data.
The string is application-dependant and my be used by your agent for any purpose.
For example, an agent may use it to identify CIs created by that agent.TopologyModification createTopologyModification()
TopologyUpdateService
execute
method.
ListPropertiesUpdate createListPropertiesUpdate(TopologyData topologyData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |