@Service @Transactional(value="herdTransactionManager") public class TagTypeServiceImpl extends Object implements TagTypeService, SearchableService
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION_FIELD |
static String |
DISPLAY_NAME_FIELD |
static String |
TAG_TYPE_ORDER_FIELD |
| Constructor and Description |
|---|
TagTypeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
TagType |
createTagType(TagTypeCreateRequest request)
Creates a new tag type.
|
TagType |
deleteTagType(TagTypeKey tagTypeKey)
Deletes a tag type.
|
TagType |
getTagType(TagTypeKey tagTypeKey)
Retrieve a tag type.
|
TagTypeKeys |
getTagTypes()
Retrieves a list of tag type keys.
|
Set<String> |
getValidSearchResponseFields()
Returns valid search response fields.
|
TagTypeSearchResponse |
searchTagTypes(TagTypeSearchRequest request,
Set<String> fields)
Retrieves all tag types existing in the system.
|
TagType |
updateTagType(TagTypeKey tagTypeKey,
TagTypeUpdateRequest request)
Updates a tag type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateSearchResponseFieldspublic static final String DESCRIPTION_FIELD
public static final String DISPLAY_NAME_FIELD
public static final String TAG_TYPE_ORDER_FIELD
public TagType createTagType(TagTypeCreateRequest request)
TagTypeServicecreateTagType in interface TagTypeServicerequest - the tag type create requestpublic TagType deleteTagType(TagTypeKey tagTypeKey)
TagTypeServicedeleteTagType in interface TagTypeServicetagTypeKey - the tag type keypublic TagType getTagType(TagTypeKey tagTypeKey)
TagTypeServicegetTagType in interface TagTypeServicetagTypeKey - the tag type keypublic TagTypeKeys getTagTypes()
TagTypeServicegetTagTypes in interface TagTypeServicepublic Set<String> getValidSearchResponseFields()
SearchableServicegetValidSearchResponseFields in interface SearchableServicepublic TagTypeSearchResponse searchTagTypes(TagTypeSearchRequest request, Set<String> fields)
TagTypeServicesearchTagTypes in interface TagTypeServicerequest - the tag type search request. The request does not take any search keys or filtersfields - the field options for the tag type search responsepublic TagType updateTagType(TagTypeKey tagTypeKey, TagTypeUpdateRequest request)
TagTypeServiceupdateTagType in interface TagTypeServicerequest - the tag type update requestCopyright © 2019. All rights reserved.