mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-2585 Make CaveatSchemeService extend the RM base service.
Also call through to getGroupById method where appropriate. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/caveatmarkdatatype@114452 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,12 +19,13 @@
|
||||
|
||||
package org.alfresco.module.org_alfresco_module_rm.caveat.scheme;
|
||||
|
||||
import org.alfresco.module.org_alfresco_module_rm.caveat.dao.CaveatDAOInterface;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public class CaveatSchemeServiceImpl implements CaveatSchemeService
|
||||
import org.alfresco.module.org_alfresco_module_rm.caveat.dao.CaveatDAOInterface;
|
||||
import org.alfresco.module.org_alfresco_module_rm.util.ServiceBaseImpl;
|
||||
|
||||
public class CaveatSchemeServiceImpl extends ServiceBaseImpl implements CaveatSchemeService
|
||||
{
|
||||
private CaveatDAOInterface caveatDAO;
|
||||
|
||||
@@ -45,6 +46,6 @@ public class CaveatSchemeServiceImpl implements CaveatSchemeService
|
||||
|
||||
@Override public CaveatGroup getCaveatGroup(String id)
|
||||
{
|
||||
return caveatDAO.getCaveatGroups().get(id);
|
||||
return caveatDAO.getGroupById(id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user