|
|
@ -21,6 +21,7 @@ import org.wso2.carbon.device.mgt.core.config.datasource.DataSourceConfig;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.email.EmailConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.email.EmailConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.identity.IdentityConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.identity.IdentityConfigurations;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.policy.PolicyConfiguration;
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.policy.PolicyConfiguration;
|
|
|
|
|
|
|
|
import org.wso2.carbon.device.mgt.core.config.task.TaskConfiguration;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
@ -31,44 +32,54 @@ import javax.xml.bind.annotation.XmlRootElement;
|
|
|
|
@XmlRootElement(name = "ManagementRepository")
|
|
|
|
@XmlRootElement(name = "ManagementRepository")
|
|
|
|
public class DeviceManagementConfigRepository {
|
|
|
|
public class DeviceManagementConfigRepository {
|
|
|
|
|
|
|
|
|
|
|
|
private DataSourceConfig dataSourceConfig;
|
|
|
|
private DataSourceConfig dataSourceConfig;
|
|
|
|
private EmailConfigurations emailConfigurations;
|
|
|
|
private EmailConfigurations emailConfigurations;
|
|
|
|
private IdentityConfigurations identityConfigurations;
|
|
|
|
private IdentityConfigurations identityConfigurations;
|
|
|
|
private PolicyConfiguration policyConfiguration;
|
|
|
|
private PolicyConfiguration policyConfiguration;
|
|
|
|
|
|
|
|
private TaskConfiguration taskConfiguration;
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "DataSourceConfiguration", required = true)
|
|
|
|
@XmlElement(name = "DataSourceConfiguration", required = true)
|
|
|
|
public DataSourceConfig getDataSourceConfig() {
|
|
|
|
public DataSourceConfig getDataSourceConfig() {
|
|
|
|
return dataSourceConfig;
|
|
|
|
return dataSourceConfig;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setDataSourceConfig(DataSourceConfig dataSourceConfig) {
|
|
|
|
public void setDataSourceConfig(DataSourceConfig dataSourceConfig) {
|
|
|
|
this.dataSourceConfig = dataSourceConfig;
|
|
|
|
this.dataSourceConfig = dataSourceConfig;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "EmailClientConfiguration", required = true)
|
|
|
|
@XmlElement(name = "EmailClientConfiguration", required = true)
|
|
|
|
public EmailConfigurations getEmailConfigurations() {
|
|
|
|
public EmailConfigurations getEmailConfigurations() {
|
|
|
|
return emailConfigurations;
|
|
|
|
return emailConfigurations;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setEmailConfigurations(EmailConfigurations emailConfigurations) {
|
|
|
|
public void setEmailConfigurations(EmailConfigurations emailConfigurations) {
|
|
|
|
this.emailConfigurations = emailConfigurations;
|
|
|
|
this.emailConfigurations = emailConfigurations;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "IdentityConfiguration", required = true)
|
|
|
|
@XmlElement(name = "IdentityConfiguration", required = true)
|
|
|
|
public IdentityConfigurations getIdentityConfigurations() {
|
|
|
|
public IdentityConfigurations getIdentityConfigurations() {
|
|
|
|
return identityConfigurations;
|
|
|
|
return identityConfigurations;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setIdentityConfigurations(IdentityConfigurations identityConfigurations) {
|
|
|
|
public void setIdentityConfigurations(IdentityConfigurations identityConfigurations) {
|
|
|
|
this.identityConfigurations = identityConfigurations;
|
|
|
|
this.identityConfigurations = identityConfigurations;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "PolicyConfiguration", required = true)
|
|
|
|
@XmlElement(name = "PolicyConfiguration", required = true)
|
|
|
|
public PolicyConfiguration getPolicyConfiguration() {
|
|
|
|
public PolicyConfiguration getPolicyConfiguration() {
|
|
|
|
return policyConfiguration;
|
|
|
|
return policyConfiguration;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setPolicyConfiguration(PolicyConfiguration policyConfiguration) {
|
|
|
|
public void setPolicyConfiguration(PolicyConfiguration policyConfiguration) {
|
|
|
|
this.policyConfiguration = policyConfiguration;
|
|
|
|
this.policyConfiguration = policyConfiguration;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "TaskConfiguration", required = true)
|
|
|
|
|
|
|
|
public TaskConfiguration getTaskConfiguration() {
|
|
|
|
|
|
|
|
return taskConfiguration;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setTaskConfiguration(TaskConfiguration taskConfiguration) {
|
|
|
|
|
|
|
|
this.taskConfiguration = taskConfiguration;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|