public class ScriptTaggingService extends BaseScopableProcessorExtension
Constructor and Description |
---|
ScriptTaggingService() |
Modifier and Type | Method and Description |
---|---|
ScriptNode |
createTag(String store,
String tag)
Create a tag in a given store
|
void |
deleteTag(String store,
String tag)
delete tag at the given store
|
PagedTagsWrapper |
getPagedTags(String store,
int fromTag,
int pageSize)
Get page of tags with totalRecords info
|
PagedTagsWrapper |
getPagedTags(String store,
String filter,
int fromTag,
int pageSize) |
ScriptNode |
getTag(String store,
String tag)
Get a tag by name if available in a store
|
String[] |
getTags(String store)
Get all the tags available in a store
|
String[] |
getTags(String store,
String filter)
Get all the tags available in a store based on a text filter
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Sets the Service Registry
|
getScope, setScope
getExtensionName, register, setExtensionName, setProcessor
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- ServiceRegistrypublic String[] getTags(String store)
store
- store referencepublic PagedTagsWrapper getPagedTags(String store, int fromTag, int pageSize)
store
- StringfromTag
- intpageSize
- intpublic String[] getTags(String store, String filter)
store
- store referencefilter
- tag filterpublic PagedTagsWrapper getPagedTags(String store, String filter, int fromTag, int pageSize)
public ScriptNode getTag(String store, String tag)
store
- store referencetag
- tag namepublic ScriptNode createTag(String store, String tag)
store
- store referencetag
- tag nameCopyright © 2005–2017 Alfresco Software. All rights reserved.