mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Set profile operation DAO for profile operations
This commit is contained in:
parent
befb9cc711
commit
7cf5460fe6
@ -164,12 +164,15 @@ public class OperationManagerImpl implements OperationManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private OperationDAO lookupOperationDAO(Operation operation) {
|
private OperationDAO lookupOperationDAO(Operation operation) {
|
||||||
|
|
||||||
if (operation instanceof CommandOperation) {
|
if (operation instanceof CommandOperation) {
|
||||||
return commandOperationDAO;
|
return commandOperationDAO;
|
||||||
|
} else if (operation instanceof ProfileOperation) {
|
||||||
|
return profileOperationDAO;
|
||||||
} else if (operation instanceof ConfigOperation) {
|
} else if (operation instanceof ConfigOperation) {
|
||||||
return configOperationDAO;
|
return configOperationDAO;
|
||||||
}else{
|
}else{
|
||||||
return profileOperationDAO;
|
return operationDAO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user