@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetTagService extends BaseService
AssetTagServiceUtil,
com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetTagServiceImpl| Modifier and Type | Method and Description |
|---|---|
AssetTag |
addTag(java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext) |
void |
deleteTag(long tagId) |
void |
deleteTags(long[] tagIds) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<AssetTag> |
getGroupsTags(long[] groupIds) |
java.util.List<AssetTag> |
getGroupTags(long groupId) |
java.util.List<AssetTag> |
getGroupTags(long groupId,
int start,
int end,
OrderByComparator obc) |
int |
getGroupTagsCount(long groupId) |
AssetTagDisplay |
getGroupTagsDisplay(long groupId,
java.lang.String name,
int start,
int end) |
JSONObject |
getJSONGroupTags(long groupId,
java.lang.String name,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getGroupTagsDisplay(long,
String, int, int) |
AssetTag |
getTag(long tagId) |
java.util.List<AssetTag> |
getTags(long[] groupIds,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
java.util.List<AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name) |
java.util.List<AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name,
int start,
int end,
OrderByComparator obc) |
java.util.List<AssetTag> |
getTags(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
java.util.List<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) |
JSONArray |
search(long[] groupIds,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
AssetTag |
updateTag(long tagId,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanAssetTag addTag(java.lang.String name, java.lang.String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deleteTag(long tagId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteTags(long[] tagIds)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getGroupsTags(long[] groupIds) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getGroupTags(long groupId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getGroupTags(long groupId, int start, int end, OrderByComparator obc) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupTagsCount(long groupId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) AssetTagDisplay getGroupTagsDisplay(long groupId, java.lang.String name, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) JSONObject getJSONGroupTags(long groupId, java.lang.String name, int start, int end) throws PortalException, SystemException
getGroupTagsDisplay(long,
String, int, int)PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) AssetTag getTag(long tagId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name, int start, int end, OrderByComparator obc) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getTags(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getTags(long[] groupIds, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetTag> getTags(java.lang.String className, long classPK) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getTagsCount(long groupId, long classNameId, java.lang.String name) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getTagsCount(long groupId, java.lang.String name) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getTagsCount(long groupId, java.lang.String name, java.lang.String[] tagProperties) throws SystemException
SystemExceptionvoid mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid mergeTags(long[] fromTagIds,
long toTagId,
boolean overrideProperties)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray search(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray search(long[] groupIds, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
SystemExceptionAssetTag updateTag(long tagId, java.lang.String name, java.lang.String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemException