Cisco Cisco Prime Collaboration 10.6 开发者指南
© 2012 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 36 of 82
getSubscriber Java Signature
Gets a particular subscriber.
Syntax:
public ResponseReturn getSubscriber (CUPMServiceStub stub, SubscriberValue subscriber, String
endPointReference, String idPrefix);
Parameters:
subscriber
—Subscriber 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:
GetSubscriberException
—If server cannot execute NBI request.
ASyncReturn:
CupmApiResultValue
—Contains CupmApiStatus and CupmApiList.
CupmApiList
—Contains one subscriber object, the result of the get.
CupmApiFaultType
—Included if the NBI request fails.
updateSubscriber Java Signature
Updates a subscriber.
Syntax:
public ApiResponse updateSubscriber (CUPMServiceStub stub, SubscriberValue subscriber, String
endPointReference, String idPrefix);
Parameters:
subscriber
—Subscriber object with key attribute set to identify the object to update, and name-value pairs
for all attributes to be updated to new values.
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: