org.opennms.web.group
Class DefaultWebGroupRepository

java.lang.Object
  extended by org.opennms.web.group.DefaultWebGroupRepository
All Implemented Interfaces:
WebGroupRepository

public class DefaultWebGroupRepository
extends Object
implements WebGroupRepository

DefaultWebGroupRepository

Author:
brozow

Constructor Summary
DefaultWebGroupRepository()
           
 
Method Summary
 void deleteGroup(String groupName)
           
 WebGroup getGroup(String groupName)
           
 boolean groupExists(String groupName)
           
 void renameGroup(String oldName, String newName)
           
 void saveGroup(WebGroup webGroup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWebGroupRepository

public DefaultWebGroupRepository()
Method Detail

groupExists

@Transactional
public boolean groupExists(String groupName)
Specified by:
groupExists in interface WebGroupRepository

getGroup

@Transactional
public WebGroup getGroup(String groupName)
Specified by:
getGroup in interface WebGroupRepository

saveGroup

@Transactional
public void saveGroup(WebGroup webGroup)
Specified by:
saveGroup in interface WebGroupRepository

deleteGroup

@Transactional
public void deleteGroup(String groupName)
Specified by:
deleteGroup in interface WebGroupRepository

renameGroup

@Transactional
public void renameGroup(String oldName,
                                      String newName)
Specified by:
renameGroup in interface WebGroupRepository


Copyright © 2009. All Rights Reserved.