Cisco Cisco Prime Collaboration Provisioning 11.5 Developer's Guide

Page of 82
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
Page 43 of 82 
moveSubscriber Java Signature 
Moves a subscriber and the selected services to a new domain. 
Syntax
public ResponseReturn moveSubscriber (CUPMServiceStub stub, SubscriberValue subscriber, String 
targetDomain, ArrayOfMovingServiceDetailValue msdList, String notificationEpr, String idPrefix); 
Parameters
 
Subscriber
—Specify the subscriber object with the key attribute, subscriberID, to retrieve the services for. 
 
msdList
—A list of services that are to be moved. 
 
targetDomain
—The domain to which the subscribers will be moved. 
 
notificationEpr
—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 NBI ID returned to the client. 
Returns
CupmApiResponseValue
—Object with NBI ID. 
Throws
MoveSubscriberException
—If the server cannot execute the NBI request. 
ASyncReturn
 
CupmApiResultValue
—Contains CupmApiStatus only. 
 
CupmApiFaultType
—Included if the NBI request fails or contains warnings. 
cancelSubscriberWithServices Java Signature 
Removes a subscriber along with the services associated with it. 
Syntax: 
public ResponseReturn cancelSubscriberWithServices (CUPMServiceStub stub, String subscriberID, String 
validateType, String rollback, String notificationEpr, String idPrefix, Map<String,String> sessionContext, String 
responseType); 
Parameters: 
 
Subscriber
—Specify the subscriberID to be removed along with the associated services. 
 
validationType
—An ENUM indicating  whether a work order should be validated before being submitted. 
Values are VALIDATE_ONLY, SUBMIT_ONLY, VALIDATE_AND_SUBMIT. 
 
rollbackType
—An ENUM describing how the order should be rolled back if it fails. Value is PARTIAL. 
 
notificationEpr
—String to convert to an EndpointReference object that the synchronous result notification 
will be sent to.