public class GroupStorageUtil extends AbstractStorageUtil
Constructor and Description |
---|
GroupStorageUtil() |
Modifier and Type | Method and Description |
---|---|
void |
deleteGroup(DataSource dataSource,
Group group)
Delete
Group |
Group |
loadGroup(DataSource dataSource,
Map<QueryParameter,Object[]> params)
Load a
Group given parameters |
Group |
loadGroup(DataSource dataSource,
String id)
Load
Group given its id |
Group |
loadGroupByName(DataSource dataSource,
String groupName)
Load a
Group given its name |
Group |
loadGroupByPath(DataSource dataSource,
String path)
Load a
Group given its path |
void |
storeGroup(DataSource dataSource,
Group group)
Store a
Group |
void |
updateGroup(DataSource dataSource,
Group group)
Update the stored
Group |
getValuesFromParamMap, loadPartition, safeClose, safeClose, safeClose
public void deleteGroup(DataSource dataSource, Group group)
Group
dataSource
- user
- public Group loadGroup(DataSource dataSource, String id)
Group
given its iddataSource
- id
- public Group loadGroup(DataSource dataSource, Map<QueryParameter,Object[]> params)
Group
given parametersdataSource
- params
- public Group loadGroupByName(DataSource dataSource, String groupName)
Group
given its namedataSource
- groupName
- public Group loadGroupByPath(DataSource dataSource, String path)
Group
given its pathdataSource
- path
- public void storeGroup(DataSource dataSource, Group group)
Group
dataSource
- group
- public void updateGroup(DataSource dataSource, Group group)
Group
dataSource
- user
- Copyright © 2018 JBoss by Red Hat. All rights reserved.