public class AttributeStorageUtil extends AbstractStorageUtil
Constructor and Description |
---|
AttributeStorageUtil() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAttribute(DataSource dataSource,
String ownerId,
String attributeName)
Delete an
Attribute given its name and owner |
Attribute |
getAttribute(DataSource dataSource,
String id,
String attributeName)
Get the
Attribute given its name and an id |
List<Attribute> |
getAttributes(DataSource dataSource,
String ownerId)
Get a list of
Attribute for an identity type |
void |
setAttribute(DataSource dataSource,
String ownerId,
Attribute attribute)
Set the
Attribute for an IdentityType |
getValuesFromParamMap, loadPartition, safeClose, safeClose, safeClose
public Attribute getAttribute(DataSource dataSource, String id, String attributeName)
Attribute
given its name and an iddataSource
- id
- attributeName
- public List<Attribute> getAttributes(DataSource dataSource, String ownerId)
Attribute
for an identity typedataSource
- ownerId
- public void setAttribute(DataSource dataSource, String ownerId, Attribute attribute)
Attribute
for an IdentityType
dataSource
- ownerId
- attribute
- public void deleteAttribute(DataSource dataSource, String ownerId, String attributeName)
Attribute
given its name and ownerdataSource
- ownerId
- attributeName
- Copyright © 2018. All rights reserved.