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 java.lang.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 void
afterPropertiesSet()
void
deleteGroup(java.lang.String groupName)
WebGroup
getGroup(java.lang.String groupName)
boolean
groupExists(java.lang.String groupName)
void
renameGroup(java.lang.String oldName, java.lang.String newName)
void
saveGroup(WebGroup webGroup)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
groupExists
@Transactional public boolean groupExists(java.lang.String groupName)
- Specified by:
groupExists
in interfaceWebGroupRepository
-
getGroup
@Transactional public WebGroup getGroup(java.lang.String groupName)
- Specified by:
getGroup
in interfaceWebGroupRepository
-
saveGroup
@Transactional public void saveGroup(WebGroup webGroup)
- Specified by:
saveGroup
in interfaceWebGroupRepository
-
deleteGroup
@Transactional public void deleteGroup(java.lang.String groupName)
- Specified by:
deleteGroup
in interfaceWebGroupRepository
-
renameGroup
@Transactional public void renameGroup(java.lang.String oldName, java.lang.String newName)
- Specified by:
renameGroup
in interfaceWebGroupRepository
-
-