Cisco Cisco Prime Collaboration 10.5 Developer's Guide

Page of 81
 
 
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
25 
Syntax
public ResponseReturn createDomain (CUPMServiceStub stub, DomainValue Domain, String endPointReference, 
String idPrefix); 
Parameters
•  domain—Domain object with attribute keys and attribute name-value pairs set to their initial value. 
•  endPointReference—String to convert to an EndpointReference object that the asynchronous result 
notification will be sent to. 
•  idPrefix—String that is added to the beginning of the internally generated numeric to form the NBI ID. Null 
or empty string valid for no change to internal generation. 
Returns
CupmApiResponseValue—Object with NBI ID. 
Throws
CreateDomainException—If server cannot execute NBI request. 
ASyncReturn
•  CupmApiResultValue—Contains CupmApiStatus only. 
•  CupmApiFaultType—Included if the NBI request fails. 
getDomain Java Signature 
Syntax
Gets a Domain. 
public ResponseReturn getDomain (CUPMServiceStub stub, DomainValue Domain, String endPointReference, 
String idPrefix); 
Parameters
•  domain—Domain object with key attributes set to the object to retrieve. 
•  endPointReference—String to convert to an EndpointReference object that the asynchronous result 
notification will be sent to. 
•  idPrefix—String that is added to the beginning of the internally generated numeric to form the NBI ID. Null 
or empty string valid for no change to internal generation. 
Returns
CupmApiResponseValue—Object with NBI ID. 
Throws
GetDomainException—If the server cannot execute NBI request. 
ASyncReturn