|
|
|
@ -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.identity.IdentityConfigurations;
|
|
|
|
|
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.XmlRootElement;
|
|
|
|
@ -31,44 +32,54 @@ import javax.xml.bind.annotation.XmlRootElement;
|
|
|
|
|
@XmlRootElement(name = "ManagementRepository")
|
|
|
|
|
public class DeviceManagementConfigRepository {
|
|
|
|
|
|
|
|
|
|
private DataSourceConfig dataSourceConfig;
|
|
|
|
|
private EmailConfigurations emailConfigurations;
|
|
|
|
|
private IdentityConfigurations identityConfigurations;
|
|
|
|
|
private PolicyConfiguration policyConfiguration;
|
|
|
|
|
private DataSourceConfig dataSourceConfig;
|
|
|
|
|
private EmailConfigurations emailConfigurations;
|
|
|
|
|
private IdentityConfigurations identityConfigurations;
|
|
|
|
|
private PolicyConfiguration policyConfiguration;
|
|
|
|
|
private TaskConfiguration taskConfiguration;
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "DataSourceConfiguration", required = true)
|
|
|
|
|
public DataSourceConfig getDataSourceConfig() {
|
|
|
|
|
return dataSourceConfig;
|
|
|
|
|
}
|
|
|
|
|
@XmlElement(name = "DataSourceConfiguration", required = true)
|
|
|
|
|
public DataSourceConfig getDataSourceConfig() {
|
|
|
|
|
return dataSourceConfig;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setDataSourceConfig(DataSourceConfig dataSourceConfig) {
|
|
|
|
|
this.dataSourceConfig = dataSourceConfig;
|
|
|
|
|
}
|
|
|
|
|
public void setDataSourceConfig(DataSourceConfig dataSourceConfig) {
|
|
|
|
|
this.dataSourceConfig = dataSourceConfig;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "EmailClientConfiguration", required = true)
|
|
|
|
|
public EmailConfigurations getEmailConfigurations() {
|
|
|
|
|
return emailConfigurations;
|
|
|
|
|
}
|
|
|
|
|
@XmlElement(name = "EmailClientConfiguration", required = true)
|
|
|
|
|
public EmailConfigurations getEmailConfigurations() {
|
|
|
|
|
return emailConfigurations;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setEmailConfigurations(EmailConfigurations emailConfigurations) {
|
|
|
|
|
this.emailConfigurations = emailConfigurations;
|
|
|
|
|
}
|
|
|
|
|
public void setEmailConfigurations(EmailConfigurations emailConfigurations) {
|
|
|
|
|
this.emailConfigurations = emailConfigurations;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "IdentityConfiguration", required = true)
|
|
|
|
|
public IdentityConfigurations getIdentityConfigurations() {
|
|
|
|
|
return identityConfigurations;
|
|
|
|
|
}
|
|
|
|
|
@XmlElement(name = "IdentityConfiguration", required = true)
|
|
|
|
|
public IdentityConfigurations getIdentityConfigurations() {
|
|
|
|
|
return identityConfigurations;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setIdentityConfigurations(IdentityConfigurations identityConfigurations) {
|
|
|
|
|
this.identityConfigurations = identityConfigurations;
|
|
|
|
|
}
|
|
|
|
|
public void setIdentityConfigurations(IdentityConfigurations identityConfigurations) {
|
|
|
|
|
this.identityConfigurations = identityConfigurations;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "PolicyConfiguration", required = true)
|
|
|
|
|
public PolicyConfiguration getPolicyConfiguration() {
|
|
|
|
|
return policyConfiguration;
|
|
|
|
|
}
|
|
|
|
|
@XmlElement(name = "PolicyConfiguration", required = true)
|
|
|
|
|
public PolicyConfiguration getPolicyConfiguration() {
|
|
|
|
|
return policyConfiguration;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setPolicyConfiguration(PolicyConfiguration policyConfiguration) {
|
|
|
|
|
this.policyConfiguration = policyConfiguration;
|
|
|
|
|
}
|
|
|
|
|
public void setPolicyConfiguration(PolicyConfiguration policyConfiguration) {
|
|
|
|
|
this.policyConfiguration = policyConfiguration;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "TaskConfiguration", required = true)
|
|
|
|
|
public TaskConfiguration getTaskConfiguration() {
|
|
|
|
|
return taskConfiguration;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTaskConfiguration(TaskConfiguration taskConfiguration) {
|
|
|
|
|
this.taskConfiguration = taskConfiguration;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|