public interface TopologyUpdateFactory
Modifier and Type | Method and Description |
---|---|
CI |
createCI(String type)
Creates the client-side representation of a new CI of the specified type.
|
CI |
createCI(String id,
String type)
Returns the client-side object for a CI of the specified ID and type.
|
CI |
createCI(UcmdbId id,
String type)
Returns the client-side object for a CI of the specified ID and type.
|
ListPropertiesUpdate |
createListPropertiesUpdate(TopologyData topologyData) |
Relation |
createRelation(String type,
CI end1,
CI end2)
Creates a client-side Relation of the specified type between the two specified CIs.
|
Relation |
createRelation(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,
String type,
UcmdbId id1,
UcmdbId id2)
Creates a client-side Relation of the specified type and with the given ID between two CIs specified by their IDs.
|
SingleTopologyModification |
createSingleTopologyModification(String changer,
TopologyModificationData data,
TopologyModificationAction action)
Creates single topology modification
|
UcmdbId |
createTemporaryCIId(String id)
Creates a temporary CI ID from the specified string.
|
UcmdbId |
createTemporaryRelationId(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. |
TopologyModificationBulk |
createTopologyModificationBulk(String changer)
Creates a bulk of topology modification elements
|
TopologyModificationBulkElement |
createTopologyModificationBulkElement(TopologyModificationData data,
TopologyModificationAction action)
Creates a topology modification element
|
TopologyModificationData |
createTopologyModificationData()
|
TopologyModificationData |
createTopologyModificationData(String additionalModifierInfo)
|
UcmdbId |
restoreCIIdFromBytes(byte[] id)
Returns the
UcmdbId object for the specified bytes array representation of a CI ID. |
UcmdbId |
restoreCIIdFromString(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(String id)
Returns the
UcmdbId object for the specified string representation of a Relation ID. |
UcmdbId restoreCIIdFromString(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(String id)
CI createCI(String type)
type
- the class name of the new CICI createCI(UcmdbId id, String type)
id
- ID of the new CItype
- the class name of the new CICI createCI(String id, String type)
id
- ID of the CI as string obtained from UcmdbId.getAsString()
type
- the class name of the CIUcmdbId restoreRelationIdFromString(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 IDUcmdbException
- 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(String id)
Relation createRelation(String type, CI end1, CI end2)
type
- the class name of the new relationRelation createRelation(String type, UcmdbId end1Id, UcmdbId end2Id)
type
- the class name of the new relationRelation createRelation(UcmdbId id, String type, UcmdbId id1, UcmdbId id2)
id
- the ID of the linktype
- the type of the linkid1
- the ID of the first end of the linkid2
- the ID of the second end of the linkTopologyModificationData createTopologyModificationData()
TopologyModificationData createTopologyModificationData(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)
TopologyModificationBulk createTopologyModificationBulk(String changer)
changer
- short application dependent string which may be used by your agent for any purpose.
E.g, an agent may use it to identify CIs created by that agent.TopologyModificationBulkElement createTopologyModificationBulkElement(TopologyModificationData data, TopologyModificationAction action)
data
- topology modification data to processaction
- action to be taken on the dataSingleTopologyModification createSingleTopologyModification(String changer, TopologyModificationData data, TopologyModificationAction action)
changer
- short application dependent string which may be used by your agent for any purpose.
E.g, an agent may use it to identify CIs created by that agent.action
- action to be taken on the data Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.