public interface TopologyModificationData extends TopologyData
| Modifier and Type | Method and Description |
|---|---|
void |
addReferenceCI(CI ci)
Adds the CI to the list of modifications.
|
CI |
addReferenceCI(String type)
Creates a new CI of the specified type and adds it to the list of modification.
|
CI |
addReferenceCI(UcmdbId id,
String type)
Creates a new CI of the specified type ID and adds it to the list of modification.
|
void |
addReferenceCIs(Iterable<? extends CI> cis)
Adds all CIs from the collection to the list of modifications.
|
void |
addReferenceRelation(Relation relation)
Adds the specified relation to the list of modifications.
|
Relation |
addReferenceRelation(String type,
CI end1,
CI end2)
Creates a new relation of the specified type between the two CIs and adds it to the list of
modifications.
|
Relation |
addReferenceRelation(String type,
UcmdbId end1,
UcmdbId end2)
Creates a new relation of the specified type between the CIs with the specified IDs and adds it
to the list of modifications.
|
Relation |
addReferenceRelation(UcmdbId id,
String type,
CI end1,
CI end2) |
Relation |
addReferenceRelation(UcmdbId id,
String type,
UcmdbId end1,
UcmdbId end2) |
void |
addReferenceRelations(Iterable<? extends Relation> relations)
Adds the relations in the collection to the list of modifications.
|
String |
getAdditionalModifierInfo() |
ListPropertiesUpdate |
getListPropertiesUpdate()
Returns list properties to update or null
|
CI |
getReferenceCI(UcmdbId id)
Returns the CI in this collection having the specified id.
|
Iterable<CI> |
getReferenceCIs()
An
Iterable collection of the reference CIs. |
Iterable<Relation> |
getReferenceRelations()
An
Iterable collection of the Relations to be modified. |
boolean |
hasReferenceCIs()
Checks if there are any CIs in the list of modifications.
|
boolean |
hasReferenceRelations()
Checks if there are any Relations in the list of modifications.
|
boolean |
isFromDelegateUser() |
void |
setFromDelegateUser(boolean fromDelegateUser) |
TopologyModificationData |
withListPropertiesUpdate(ListPropertiesUpdate listPropertiesUpdate)
Set list properties to update
|
addCI, addCI, addCI, addCIs, addRelation, addRelation, addRelation, addRelation, addRelation, addRelations, getCI, getCIs, getRelations, hasCIs, hasRelationsvoid addReferenceCI(CI ci)
ci - The CI to addvoid addReferenceCIs(Iterable<? extends CI> cis)
cis - The cis to addCI addReferenceCI(String type)
TopologyUpdateFactory.createCI(String)TopologyData.addCI(com.hp.ucmdb.api.types.CI).type - The type of the CI.TopologyUpdateFactory.createCI(String)CI addReferenceCI(UcmdbId id, String type)
TopologyUpdateFactory.createCI(com.hp.ucmdb.api.types.UcmdbId, String)TopologyData.addCI(com.hp.ucmdb.api.types.CI).id - the id of the CI.type - The type of the CI.TopologyUpdateFactory.createCI(com.hp.ucmdb.api.types.UcmdbId, String)void addReferenceRelation(Relation relation)
relation - The relation to addvoid addReferenceRelations(Iterable<? extends Relation> relations)
relations - The relations to addRelation addReferenceRelation(String type, CI end1, CI end2)
TopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.CI, com.hp.ucmdb.api.types.CI)TopologyData.addRelation(com.hp.ucmdb.api.types.Relation)type - The type of the relationend1 - The end1 CIend2 - The end2 CITopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.CI, com.hp.ucmdb.api.types.CI)Relation addReferenceRelation(String type, UcmdbId end1, UcmdbId end2)
TopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.UcmdbId, com.hp.ucmdb.api.types.UcmdbId)TopologyData.addRelation(com.hp.ucmdb.api.types.Relation)type - The type of the relationend1 - The end1 CI idend2 - The end2 CI idTopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.UcmdbId, com.hp.ucmdb.api.types.UcmdbId)Relation addReferenceRelation(UcmdbId id, String type, UcmdbId end1, UcmdbId end2)
boolean hasReferenceCIs()
Iterable<CI> getReferenceCIs()
Iterable collection of the reference CIs.CI getReferenceCI(UcmdbId id)
id - The ID of the requested reference CIboolean hasReferenceRelations()
Iterable<Relation> getReferenceRelations()
Iterable collection of the Relations to be modified.String getAdditionalModifierInfo()
TopologyModificationData withListPropertiesUpdate(ListPropertiesUpdate listPropertiesUpdate)
listPropertiesUpdate - ListPropertiesUpdate getListPropertiesUpdate()
boolean isFromDelegateUser()
void setFromDelegateUser(boolean fromDelegateUser)
Documentation Feedback
Copyright 2011 - 2023 Micro Focus or one of its affiliates.