Package org.opennms.web.group
Class DefaultWebGroupRepository
- java.lang.Object
-
- org.opennms.web.group.DefaultWebGroupRepository
-
- All Implemented Interfaces:
WebGroupRepository,org.springframework.beans.factory.InitializingBean
public class DefaultWebGroupRepository extends Object implements WebGroupRepository, org.springframework.beans.factory.InitializingBean
DefaultWebGroupRepository- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- brozow
-
-
Constructor Summary
Constructors Constructor Description DefaultWebGroupRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voiddeleteGroup(String groupName)WebGroupgetGroup(String groupName)booleangroupExists(String groupName)voidrenameGroup(String oldName, String newName)voidsaveGroup(WebGroup webGroup)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
groupExists
@Transactional public boolean groupExists(String groupName)
- Specified by:
groupExistsin interfaceWebGroupRepository
-
getGroup
@Transactional public WebGroup getGroup(String groupName)
- Specified by:
getGroupin interfaceWebGroupRepository
-
saveGroup
@Transactional public void saveGroup(WebGroup webGroup)
- Specified by:
saveGroupin interfaceWebGroupRepository
-
deleteGroup
@Transactional public void deleteGroup(String groupName)
- Specified by:
deleteGroupin interfaceWebGroupRepository
-
renameGroup
@Transactional public void renameGroup(String oldName, String newName)
- Specified by:
renameGroupin interfaceWebGroupRepository
-
-