|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TopologyModificationData
Method Summary | |
---|---|
void |
addReferenceCI(CI ci)
Adds the CI to the list of modifications. |
CI |
addReferenceCI(java.lang.String type)
Creates a new CI of the specified type and adds it to the list of modification. |
CI |
addReferenceCI(UcmdbId id,
java.lang.String type)
Creates a new CI of the specified type ID and adds it to the list of modification. |
void |
addReferenceCIs(java.lang.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(java.lang.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(java.lang.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,
java.lang.String type,
CI end1,
CI end2)
|
Relation |
addReferenceRelation(UcmdbId id,
java.lang.String type,
UcmdbId end1,
UcmdbId end2)
|
void |
addReferenceRelations(java.lang.Iterable<? extends Relation> relations)
Adds the relations in the collection to the list of modifications. |
java.lang.String |
getAdditionalModifierInfo()
|
CI |
getReferenceCI(UcmdbId id)
Returns the CI in this collection having the specified id. |
java.lang.Iterable<CI> |
getReferenceCIs()
An Iterable collection of the reference CIs. |
java.lang.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. |
Methods inherited from interface com.hp.ucmdb.api.topology.TopologyData |
---|
addCI, addCI, addCI, addCIs, addRelation, addRelation, addRelation, addRelation, addRelation, addRelations, getCI, getCIs, getRelations, hasCIs, hasRelations |
Method Detail |
---|
void addReferenceCI(CI ci)
ci
- The CI to addvoid addReferenceCIs(java.lang.Iterable<? extends CI> cis)
cis
- The cis to addCI addReferenceCI(java.lang.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, java.lang.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(java.lang.Iterable<? extends Relation> relations)
relations
- The relations to addRelation addReferenceRelation(java.lang.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 CI
TopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.CI, com.hp.ucmdb.api.types.CI)
Relation addReferenceRelation(java.lang.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 id
TopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.UcmdbId, com.hp.ucmdb.api.types.UcmdbId)
Relation addReferenceRelation(UcmdbId id, java.lang.String type, UcmdbId end1, UcmdbId end2)
Relation addReferenceRelation(UcmdbId id, java.lang.String type, CI end1, CI end2)
boolean hasReferenceCIs()
java.lang.Iterable<CI> getReferenceCIs()
Iterable
collection of the reference CIs.
CI getReferenceCI(UcmdbId id)
id
- The ID of the requested reference CI
boolean hasReferenceRelations()
java.lang.Iterable<Relation> getReferenceRelations()
Iterable
collection of the Relations to be modified.
java.lang.String getAdditionalModifierInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |