com.liferay.portlet.asset.service.impl
Class AssetTagLocalServiceImpl
java.lang.Object
com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl
- All Implemented Interfaces:
- AssetTagLocalService
public class AssetTagLocalServiceImpl
- extends AssetTagLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
AssetTag |
addTag(long userId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
|
void |
addTagResources(AssetTag tag,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addTagResources(AssetTag tag,
String[] communityPermissions,
String[] guestPermissions)
|
void |
checkTags(long userId,
long groupId,
String[] names)
|
AssetTag |
decrementAssetCount(long tagId,
long classNameId)
|
void |
deleteTag(AssetTag tag)
|
void |
deleteTag(long tagId)
|
List<AssetTag> |
getEntryTags(long entryId)
|
List<AssetTag> |
getGroupTags(long groupId)
|
AssetTag |
getTag(long tagId)
|
AssetTag |
getTag(long groupId,
String name)
|
long[] |
getTagIds(long groupId,
String[] names)
|
String[] |
getTagNames()
|
protected String[] |
getTagNames(List<AssetTag> tags)
|
String[] |
getTagNames(long classNameId,
long classPK)
|
String[] |
getTagNames(String className,
long classPK)
|
List<AssetTag> |
getTags()
|
List<AssetTag> |
getTags(long classNameId,
long classPK)
|
List<AssetTag> |
getTags(long groupId,
long classNameId,
String name)
|
List<AssetTag> |
getTags(long groupId,
long classNameId,
String name,
int start,
int end)
|
List<AssetTag> |
getTags(String className,
long classPK)
|
int |
getTagsSize(long groupId,
long classNameId,
String name)
|
boolean |
hasTag(long groupId,
String name)
|
AssetTag |
incrementAssetCount(long tagId,
long classNameId)
|
void |
mergeTags(long fromTagId,
long toTagId)
|
protected void |
reindex(List<AssetEntry> entries)
|
JSONArray |
search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
|
AssetTag |
updateTag(long userId,
long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
|
protected void |
validate(String name)
|
Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl |
addAssetTag, createAssetTag, deleteAssetTag, deleteAssetTag, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTag, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTags, getAssetTagsCount, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getCounterLocalService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetTag, updateAssetTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagLocalServiceImpl
public AssetTagLocalServiceImpl()
addTag
public AssetTag addTag(long userId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTagResources
public void addTagResources(AssetTag tag,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTagResources
public void addTagResources(AssetTag tag,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkTags
public void checkTags(long userId,
long groupId,
String[] names)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
decrementAssetCount
public AssetTag decrementAssetCount(long tagId,
long classNameId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTag
public void deleteTag(AssetTag tag)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTag
public void deleteTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntryTags
public List<AssetTag> getEntryTags(long entryId)
throws SystemException
- Throws:
SystemException
getGroupTags
public List<AssetTag> getGroupTags(long groupId)
throws SystemException
- Throws:
SystemException
getTag
public AssetTag getTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTag
public AssetTag getTag(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTagIds
public long[] getTagIds(long groupId,
String[] names)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTagNames
public String[] getTagNames()
throws SystemException
- Throws:
SystemException
getTagNames
public String[] getTagNames(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getTagNames
public String[] getTagNames(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags()
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags(long groupId,
long classNameId,
String name)
throws SystemException
- Throws:
SystemException
getTags
public List<AssetTag> getTags(long groupId,
long classNameId,
String name,
int start,
int end)
throws SystemException
- Throws:
SystemException
getTags
@ThreadLocalCachable
public List<AssetTag> getTags(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getTagsSize
public int getTagsSize(long groupId,
long classNameId,
String name)
throws SystemException
- Throws:
SystemException
hasTag
public boolean hasTag(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
incrementAssetCount
public AssetTag incrementAssetCount(long tagId,
long classNameId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
mergeTags
public void mergeTags(long fromTagId,
long toTagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public JSONArray search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
updateTag
public AssetTag updateTag(long userId,
long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTagNames
protected String[] getTagNames(List<AssetTag> tags)
reindex
protected void reindex(List<AssetEntry> entries)
throws PortalException
- Throws:
PortalException
validate
protected void validate(String name)
throws PortalException
- Throws:
PortalException