remove unnecessary code lines

remotes/1731000850486189418/master
Thilina Sandaruwan 1 year ago committed by pasindu
parent d842fc4085
commit 13545f1c7c

@ -31,7 +31,6 @@ import java.util.Map;
* This interface represents the key operations associated with persisting group related information. * This interface represents the key operations associated with persisting group related information.
*/ */
public interface GroupDAO { public interface GroupDAO {
/** /**
* Add new Device Group. * Add new Device Group.
* *
@ -116,7 +115,7 @@ public interface GroupDAO {
* @return sql execution result. * @return sql execution result.
* @throws GroupManagementDAOException * @throws GroupManagementDAOException
*/ */
Map<String, String> getAllGroupProperties(int groupId, int tenantId) throws GroupManagementDAOException; Map<String,String> getAllGroupProperties(int groupId, int tenantId) throws GroupManagementDAOException;
/** /**
* Update an existing Device Group. * Update an existing Device Group.
@ -196,7 +195,6 @@ public interface GroupDAO {
/** /**
* Get the groups of device with device id provided * Get the groups of device with device id provided
*
* @param deviceId * @param deviceId
* @return groups which has the device. * @return groups which has the device.
* @throws GroupManagementDAOException * @throws GroupManagementDAOException
@ -423,15 +421,16 @@ public interface GroupDAO {
* @throws GroupManagementDAOException * @throws GroupManagementDAOException
*/ */
int getOwnGroupsCount(String username, int tenantId, String parentPath) throws GroupManagementDAOException; int getOwnGroupsCount(String username, int tenantId, String parentPath) throws GroupManagementDAOException;
/** /**
components/device-mgt/io.entgra.device.mgt.core.device.mgt.core/src/main/java/io/entgra/device/mgt/core/device/mgt/core/dao/GroupDAO.java * Get device Ids of devices which are assigned to groups. * Get device Ids of devices which are assigned to groups.
* *
* @param paginationRequest Request object with offset and limit. * @param paginationRequest Request object with offset and limit.
* @param groupNames default group names that should be omitted when checking the device * @param groupNames default group names that should be omitted when checking the device
* whether they have been assigned to groups * whether they have been assigned to groups
* @return details of devices that are unassigned to groups.
* @throws GroupManagementDAOException Might occur while retrieving information of group * @throws GroupManagementDAOException Might occur while retrieving information of group
* unassigned devices * unassigned devices
* @return details of devices that are unassigned to groups.
*/ */
List<Device> getGroupUnassignedDevices(PaginationRequest paginationRequest, List<Device> getGroupUnassignedDevices(PaginationRequest paginationRequest,

Loading…
Cancel
Save