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

Since:
1.8.1
Version:
$Id: $
Author:
brozow

Constructor Summary
DefaultWebGroupRepository()
           
 
Method Summary
 void deleteGroup(String groupName)
          deleteGroup
 WebGroup getGroup(String groupName)
          getGroup
 boolean groupExists(String groupName)
          groupExists
 void renameGroup(String oldName, String newName)
          renameGroup
 void saveGroup(WebGroup webGroup)
          saveGroup
 
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)

groupExists

Specified by:
groupExists in interface WebGroupRepository
Parameters:
groupName - a String object.
Returns:
a boolean.

getGroup

@Transactional
public WebGroup getGroup(String groupName)

getGroup

Specified by:
getGroup in interface WebGroupRepository
Parameters:
groupName - a String object.
Returns:
a WebGroup object.

saveGroup

@Transactional
public void saveGroup(WebGroup webGroup)

saveGroup

Specified by:
saveGroup in interface WebGroupRepository
Parameters:
webGroup - a WebGroup object.

deleteGroup

@Transactional
public void deleteGroup(String groupName)

deleteGroup

Specified by:
deleteGroup in interface WebGroupRepository
Parameters:
groupName - a String object.

renameGroup

@Transactional
public void renameGroup(String oldName,
                                      String newName)

renameGroup

Specified by:
renameGroup in interface WebGroupRepository
Parameters:
oldName - a String object.
newName - a String object.


Copyright © 2011. All Rights Reserved.