public class DefaultWebGroupRepository extends Object implements WebGroupRepository, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
DefaultWebGroupRepository() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
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
|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
@Transactional public boolean groupExists(String groupName)
groupExists
groupExists
in interface WebGroupRepository
groupName
- a String
object.@Transactional public WebGroup getGroup(String groupName)
getGroup
getGroup
in interface WebGroupRepository
groupName
- a String
object.WebGroup
object.@Transactional public void saveGroup(WebGroup webGroup)
saveGroup
saveGroup
in interface WebGroupRepository
webGroup
- a WebGroup
object.@Transactional public void deleteGroup(String groupName)
deleteGroup
deleteGroup
in interface WebGroupRepository
groupName
- a String
object.@Transactional public void renameGroup(String oldName, String newName)
renameGroup
renameGroup
in interface WebGroupRepository
oldName
- a String
object.newName
- a String
object.Copyright © 2015. All Rights Reserved.