public class OperationReply extends Object
Constructor and Description |
---|
OperationReply() |
OperationReply(SyncmlDocument syncmlDocument) |
OperationReply(SyncmlDocument syncmlDocument,
List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> operations) |
Modifier and Type | Method and Description |
---|---|
List<ItemTag> |
buildDeletePasscodeData(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation) |
List<ItemTag> |
buildMonitorOperation(List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveMonitoringFeature) |
SequenceTag |
buildSequence(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation,
SequenceTag sequenceElement) |
ExecuteTag |
executeCommand(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation) |
AddTag |
generatePasscodeBooleanData(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation,
OperationCode.Configure configure) |
AddTag |
generatePasscodePolicyData(OperationCode.Configure configure,
int policyData) |
SyncmlDocument |
generateReply() |
String |
generateReply(SyncmlDocument syncmlDocument,
List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> operations)
Generate Device payloads.
|
public OperationReply(SyncmlDocument syncmlDocument, List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> operations)
public OperationReply(SyncmlDocument syncmlDocument)
public OperationReply()
public String generateReply(SyncmlDocument syncmlDocument, List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> operations) throws SyncmlMessageFormatException, SyncmlOperationException
syncmlDocument
- Parsed syncml payload from the syncml engine.operations
- Operations for generate payload.WindowsOperationException
org.wso2.carbon.policy.mgt.common.PolicyManagementException
org.wso2.carbon.policy.mgt.common.FeatureManagementException
SyncmlMessageFormatException
SyncmlOperationException
public SyncmlDocument generateReply() throws SyncmlMessageFormatException, SyncmlOperationException
public ExecuteTag executeCommand(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation)
public SequenceTag buildSequence(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation, SequenceTag sequenceElement) throws org.json.JSONException, SyncmlOperationException
org.json.JSONException
SyncmlOperationException
public List<ItemTag> buildMonitorOperation(List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveMonitoringFeature)
public List<ItemTag> buildDeletePasscodeData(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation)
public AddTag generatePasscodePolicyData(OperationCode.Configure configure, int policyData)
public AddTag generatePasscodeBooleanData(org.wso2.carbon.device.mgt.common.operation.mgt.Operation operation, OperationCode.Configure configure)
Copyright © 2017 WSO2. All rights reserved.