Juniper NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 Manual page 122

Api guide
Table of Contents

Advertisement

Network and Security Manager 2010.4 API Guide
104
//creates an object of UpdateObjectViewType:
UpdateObjectViewType updateObject = new UpdateObjectViewType();
updateObject.addObjectIdentifier(objectId);
modifyCmd.setUpdateObject(updateObject);
NodeModificationType nodeModificationType = new NodeModificationType();
nodeModificationType.setDeleteNode("./nsmpolicy-id");
updateObject.setObjectModification(new ObjectModificationType());
updateObject.getObjectModification().addModification(nodeModificationType);
request.addCommand(modifyCmd);
//invokes the service:
ModifyObjectViewResponse response =
PolicyUnAssignmentTest.stub.ModifyObjectViewRequest(request);
assertTrue(response.getStatus() == StatusCodeType.Success);
} catch (Exception e) {
e.printStackTrace();
}
}
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK AND SECURITY MANAGER 2010.4 - API GUIDE REV 1 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Network and security manager 2010.4

Table of Contents