com.liferay.portlet.asset.service.impl
Class AssetTagServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetTagServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portlet.asset.service.AssetTagService
public class AssetTagServiceImpl
- extends AssetTagServiceBaseImpl
- Author:
- Brian Wing Shun Chan, Jorge Ferrer, Alvaro del Castillo, Eduardo Lundgren, Bruno Farache, Juan Fernández
| Fields inherited from class com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl |
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, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
| Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
com.liferay.portlet.asset.model.AssetTag |
addTag(java.lang.String name,
java.lang.String[] tagProperties,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
deleteTag(long tagId)
|
void |
deleteTags(long[] tagIds)
|
protected java.util.List<com.liferay.portlet.asset.model.AssetTag> |
filterTags(java.util.List<com.liferay.portlet.asset.model.AssetTag> tags)
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getGroupsTags(long[] groupIds)
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getGroupTags(long groupId)
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getGroupTags(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupTagsCount(long groupId)
|
com.liferay.portal.kernel.json.JSONObject |
getJSONGroupTags(long groupId,
java.lang.String name,
int start,
int end)
|
com.liferay.portlet.asset.model.AssetTag |
getTag(long tagId)
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name)
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getTags(java.lang.String className,
long classPK)
|
int |
getTagsCount(long groupId,
long classNameId,
java.lang.String name)
|
int |
getTagsCount(long groupId,
java.lang.String name)
|
int |
getTagsCount(long groupId,
java.lang.String name,
java.lang.String[] tagProperties)
|
void |
mergeTags(long[] fromTagIds,
long toTagId,
boolean overrideProperties)
|
void |
mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
|
com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
|
com.liferay.portlet.asset.model.AssetTag |
updateTag(long tagId,
java.lang.String name,
java.lang.String[] tagProperties,
com.liferay.portal.service.ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl |
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, 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, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagServiceImpl
public AssetTagServiceImpl()
addTag
public com.liferay.portlet.asset.model.AssetTag addTag(java.lang.String name,
java.lang.String[] tagProperties,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteTag
public void deleteTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteTags
public void deleteTags(long[] tagIds)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getGroupsTags
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupsTags(long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupTags
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupTags
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getGroupTags(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupTagsCount
public int getGroupTagsCount(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getJSONGroupTags
public com.liferay.portal.kernel.json.JSONObject getJSONGroupTags(long groupId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTag
public com.liferay.portlet.asset.model.AssetTag getTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTags
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long groupId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTags
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long groupId,
long classNameId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTags
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTags
public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTagsCount
public int getTagsCount(long groupId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTagsCount
public int getTagsCount(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTagsCount
public int getTagsCount(long groupId,
java.lang.String name,
java.lang.String[] tagProperties)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
mergeTags
public void mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
mergeTags
public void mergeTags(long[] fromTagIds,
long toTagId,
boolean overrideProperties)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
search
public com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateTag
public com.liferay.portlet.asset.model.AssetTag updateTag(long tagId,
java.lang.String name,
java.lang.String[] tagProperties,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
filterTags
protected java.util.List<com.liferay.portlet.asset.model.AssetTag> filterTags(java.util.List<com.liferay.portlet.asset.model.AssetTag> tags)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException