Fixed issues in build & added COPE to enum

revert-70aa11f8
harshanL 10 years ago
parent 6489ea1168
commit 006b07b399

@ -91,11 +91,16 @@ public class DeviceDAOImpl implements DeviceDAO {
} }
@Override @Override
public List<Device> getDeviceByDeviceId(Long deviceId) public Device getDeviceByDeviceId(Long deviceId)
throws DeviceManagementDAOException { throws DeviceManagementDAOException {
return null; return null;
} }
@Override
public List<Device> getDevices() throws DeviceManagementDAOException {
return null;
}
private Connection getConnection() throws DeviceManagementDAOException { private Connection getConnection() throws DeviceManagementDAOException {
try { try {
return dataSource.getConnection(); return dataSource.getConnection();

@ -2,5 +2,5 @@ package org.wso2.carbon.device.mgt.core.dto;
public enum OwnerShip { public enum OwnerShip {
BYOD,CORP BYOD,COPE
} }

@ -0,0 +1,23 @@
/*
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.wso2.carbon.device.mgt.mobile.impl.dao;
/**
* This class represents the key operations associated with persisting device related information.
*/
public interface MobileDeviceDAO {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao;
/**
* Created by harshan on 12/12/14.
*/
public class MobileDeviceManagementDAOException {
}

@ -0,0 +1,23 @@
/*
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.wso2.carbon.device.mgt.mobile.impl.dao;
/**
* Created by harshan on 12/12/14.
*/
public interface MobileDeviceModelDAO {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao;
/**
* Created by harshan on 12/12/14.
*/
public interface MobileDeviceVendorDAO {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao;
/**
* Created by harshan on 12/12/14.
*/
public interface MobileOSVersionDAO {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao.impl;
/**
* Created by harshan on 12/12/14.
*/
public interface MobileDeviceDAO {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao.impl;
/**
* Created by harshan on 12/12/14.
*/
public class MobileDeviceDAOImpl {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao.impl;
/**
* Created by harshan on 12/12/14.
*/
public class MobileDeviceModelImpl {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao.impl;
/**
* Created by harshan on 12/12/14.
*/
public class MobileDeviceVendorDAOImpl {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao.impl;
/**
* Created by harshan on 12/12/14.
*/
public class MobileOSVersionDAOImpl {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dao.util;
/**
* Created by harshan on 12/12/14.
*/
public class MobileDeviceManagementDAOUtil {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dto;
/**
* Created by harshan on 12/12/14.
*/
public class MobileDevice {
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dto;
/**
* Created by harshan on 12/12/14.
*/
public class MobileDeviceModel {
}

@ -0,0 +1,44 @@
/*
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.wso2.carbon.device.mgt.mobile.impl.dto;
import java.io.Serializable;
/**
* DTO of MobileVendor.
*/
public class MobileDeviceVendor implements Serializable {
private int vendorId;
private String vendor;
public int getVendorId() {
return vendorId;
}
public void setVendorId(int vendorId) {
this.vendorId = vendorId;
}
public String getVendor() {
return vendor;
}
public void setVendor(String vendor) {
this.vendor = vendor;
}
}

@ -0,0 +1,7 @@
package org.wso2.carbon.device.mgt.mobile.impl.dto;
/**
* Created by harshan on 12/12/14.
*/
public class MobileOSVersion {
}
Loading…
Cancel
Save