@Component public class TagTypeDaoHelper extends Object
| Constructor and Description |
|---|
TagTypeDaoHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertTagTypeDisplayNameDoesNotExist(String displayName)
Gets a tag type entity by its display name and ensure it doesn't already exist.
|
TagTypeEntity |
getTagTypeEntity(TagTypeKey tagTypeKey)
Gets a tag type entity and ensure it exists.
|
public TagTypeEntity getTagTypeEntity(TagTypeKey tagTypeKey) throws ObjectNotFoundException
tagTypeKey - the tag type (case insensitive)ObjectNotFoundException - if the tag type entity doesn't existpublic void assertTagTypeDisplayNameDoesNotExist(String displayName) throws AlreadyExistsException
displayName - the tag display name (case insensitive)AlreadyExistsException - if the tag type entity already existsCopyright © 2021. All rights reserved.