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) {
|
||||
|
||||
if (operation instanceof CommandOperation) {
|
||||
return commandOperationDAO;
|
||||
} else if (operation instanceof ProfileOperation) {
|
||||
return profileOperationDAO;
|
||||
} else if (operation instanceof ConfigOperation) {
|
||||
return configOperationDAO;
|
||||
} else {
|
||||
return profileOperationDAO;
|
||||
}else{
|
||||
return operationDAO;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user