|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.asset.service.AssetTagLocalServiceWrapper
@ProviderType public class AssetTagLocalServiceWrapper
Provides a wrapper for AssetTagLocalService
.
AssetTagLocalService
Constructor Summary | |
---|---|
AssetTagLocalServiceWrapper(AssetTagLocalService assetTagLocalService)
|
Method Summary | |
---|---|
void |
addAssetEntryAssetTag(long entryId,
AssetTag assetTag)
|
void |
addAssetEntryAssetTag(long entryId,
long tagId)
|
void |
addAssetEntryAssetTags(long entryId,
List<AssetTag> AssetTags)
|
void |
addAssetEntryAssetTags(long entryId,
long[] tagIds)
|
AssetTag |
addAssetTag(AssetTag assetTag)
Adds the asset tag to the database. |
AssetTag |
addTag(long userId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
Adds an asset tag. |
void |
addTagResources(AssetTag tag,
boolean addGroupPermissions,
boolean addGuestPermissions)
Adds resources for the asset tag. |
void |
addTagResources(AssetTag tag,
String[] groupPermissions,
String[] guestPermissions)
Adds resources for the asset tag using the group and guest permissions. |
List<AssetTag> |
checkTags(long userId,
Group group,
String[] names)
Returns the asset tags matching the group and names, creating new asset tags matching the names if the group doesn't already have them. |
void |
checkTags(long userId,
long groupId,
String[] names)
Returns the asset tags matching the group and names, creating new asset tags matching the names if the group doesn't already have them. |
void |
clearAssetEntryAssetTags(long entryId)
|
AssetTag |
createAssetTag(long tagId)
Creates a new asset tag with the primary key. |
AssetTag |
decrementAssetCount(long tagId,
long classNameId)
Decrements the number of assets to which the asset tag has been applied. |
void |
deleteAssetEntryAssetTag(long entryId,
AssetTag assetTag)
|
void |
deleteAssetEntryAssetTag(long entryId,
long tagId)
|
void |
deleteAssetEntryAssetTags(long entryId,
List<AssetTag> AssetTags)
|
void |
deleteAssetEntryAssetTags(long entryId,
long[] tagIds)
|
AssetTag |
deleteAssetTag(AssetTag assetTag)
Deletes the asset tag from the database. |
AssetTag |
deleteAssetTag(long tagId)
Deletes the asset tag with the primary key from the database. |
void |
deleteGroupTags(long groupId)
Deletes all asset tags in the group. |
void |
deleteTag(AssetTag tag)
Deletes the asset tag. |
void |
deleteTag(long tagId)
Deletes the asset tag. |
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
AssetTag |
fetchAssetTag(long tagId)
|
List<AssetTag> |
getAssetEntryAssetTags(long entryId)
|
List<AssetTag> |
getAssetEntryAssetTags(long entryId,
int start,
int end)
|
List<AssetTag> |
getAssetEntryAssetTags(long entryId,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getAssetEntryAssetTagsCount(long entryId)
|
AssetTag |
getAssetTag(long tagId)
Returns the asset tag with the primary key. |
List<AssetTag> |
getAssetTags(int start,
int end)
Returns a range of all the asset tags. |
int |
getAssetTagsCount()
Returns the number of asset tags. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<AssetTag> |
getEntryTags(long entryId)
Returns the asset tags of the asset entry. |
List<AssetTag> |
getGroupsTags(long[] groupIds)
Returns the asset tags in the groups. |
List<AssetTag> |
getGroupTags(long groupId)
Returns the asset tags in the group. |
List<AssetTag> |
getGroupTags(long groupId,
int start,
int end)
Returns a range of all the asset tags in the group. |
int |
getGroupTagsCount(long groupId)
Returns the number of asset tags in the group. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
List<AssetTag> |
getSocialActivityCounterOffsetTags(long groupId,
String socialActivityCounterName,
int startOffset,
int endOffset)
|
List<AssetTag> |
getSocialActivityCounterPeriodTags(long groupId,
String socialActivityCounterName,
int startPeriod,
int endPeriod)
|
AssetTag |
getTag(long tagId)
Returns the asset tag with the primary key. |
AssetTag |
getTag(long groupId,
String name)
Returns the asset tag with the name in the group. |
long[] |
getTagIds(long[] groupIds,
String name)
Returns the primary keys of the asset tags with the name in the groups. |
long[] |
getTagIds(long[] groupIds,
String[] names)
Returns the primary keys of the asset tags with the names in the groups. |
long[] |
getTagIds(long groupId,
String[] names)
Returns the primary keys of the asset tags with the names in the group. |
String[] |
getTagNames()
Returns the names of all the asset tags. |
String[] |
getTagNames(long classNameId,
long classPK)
Returns the names of the asset tags of the entity. |
String[] |
getTagNames(String className,
long classPK)
Returns the names of the asset tags of the entity |
List<AssetTag> |
getTags()
Returns all the asset tags. |
List<AssetTag> |
getTags(long classNameId,
long classPK)
Returns the asset tags of the entity. |
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)
Returns the asset tags of the entity. |
int |
getTagsSize(long groupId,
long classNameId,
String name)
|
AssetTagLocalService |
getWrappedAssetTagLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
AssetTagLocalService |
getWrappedService()
|
boolean |
hasAssetEntryAssetTag(long entryId,
long tagId)
|
boolean |
hasAssetEntryAssetTags(long entryId)
|
boolean |
hasTag(long groupId,
String name)
Returns true if the group contains an asset tag with the
name. |
AssetTag |
incrementAssetCount(long tagId,
long classNameId)
Increments the number of assets to which the asset tag has been applied. |
void |
mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
Replaces all occurrences of the first asset tag with the second asset tag and deletes the first asset tag. |
List<AssetTag> |
search(long[] groupIds,
String name,
String[] tagProperties,
int start,
int end)
Returns the asset tags in the groups whose names match the pattern and the properties. |
List<AssetTag> |
search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
Returns the asset tags in the group whose names match the pattern and the properties. |
void |
setAssetEntryAssetTags(long entryId,
long[] tagIds)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedAssetTagLocalService(AssetTagLocalService assetTagLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.asset.service.AssetTagLocalService) |
void |
setWrappedService(AssetTagLocalService assetTagLocalService)
|
AssetTag |
updateAssetTag(AssetTag assetTag)
Updates the asset tag in the database or adds it if it does not yet exist. |
AssetTag |
updateTag(long userId,
long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetTagLocalServiceWrapper(AssetTagLocalService assetTagLocalService)
Method Detail |
---|
public AssetTag addAssetTag(AssetTag assetTag) throws SystemException
addAssetTag
in interface AssetTagLocalService
assetTag
- the asset tag
SystemException
- if a system exception occurredpublic AssetTag createAssetTag(long tagId)
createAssetTag
in interface AssetTagLocalService
tagId
- the primary key for the new asset tag
public AssetTag deleteAssetTag(long tagId) throws PortalException, SystemException
deleteAssetTag
in interface AssetTagLocalService
tagId
- the primary key of the asset tag
PortalException
- if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredpublic AssetTag deleteAssetTag(AssetTag assetTag) throws SystemException
deleteAssetTag
in interface AssetTagLocalService
assetTag
- the asset tag
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface AssetTagLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface AssetTagLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AssetTagLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AssetTagLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface AssetTagLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface AssetTagLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic AssetTag fetchAssetTag(long tagId) throws SystemException
fetchAssetTag
in interface AssetTagLocalService
SystemException
public AssetTag getAssetTag(long tagId) throws PortalException, SystemException
getAssetTag
in interface AssetTagLocalService
tagId
- the primary key of the asset tag
PortalException
- if a asset tag with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface AssetTagLocalService
PortalException
SystemException
public List<AssetTag> getAssetTags(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetTagModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetTags
in interface AssetTagLocalService
start
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)
SystemException
- if a system exception occurredpublic int getAssetTagsCount() throws SystemException
getAssetTagsCount
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic AssetTag updateAssetTag(AssetTag assetTag) throws SystemException
updateAssetTag
in interface AssetTagLocalService
assetTag
- the asset tag
SystemException
- if a system exception occurredpublic void addAssetEntryAssetTag(long entryId, long tagId) throws SystemException
addAssetEntryAssetTag
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void addAssetEntryAssetTag(long entryId, AssetTag assetTag) throws SystemException
addAssetEntryAssetTag
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void addAssetEntryAssetTags(long entryId, long[] tagIds) throws SystemException
addAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void addAssetEntryAssetTags(long entryId, List<AssetTag> AssetTags) throws SystemException
addAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void clearAssetEntryAssetTags(long entryId) throws SystemException
clearAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetTag(long entryId, long tagId) throws SystemException
deleteAssetEntryAssetTag
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetTag(long entryId, AssetTag assetTag) throws SystemException
deleteAssetEntryAssetTag
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetTags(long entryId, long[] tagIds) throws SystemException
deleteAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetTags(long entryId, List<AssetTag> AssetTags) throws SystemException
deleteAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic List<AssetTag> getAssetEntryAssetTags(long entryId) throws SystemException
getAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end) throws SystemException
getAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic int getAssetEntryAssetTagsCount(long entryId) throws SystemException
getAssetEntryAssetTagsCount
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic boolean hasAssetEntryAssetTag(long entryId, long tagId) throws SystemException
hasAssetEntryAssetTag
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic boolean hasAssetEntryAssetTags(long entryId) throws SystemException
hasAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic void setAssetEntryAssetTags(long entryId, long[] tagIds) throws SystemException
setAssetEntryAssetTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface AssetTagLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface AssetTagLocalService
beanIdentifier
- the Spring bean ID for this beanpublic AssetTag addTag(long userId, String name, String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
addTag
in interface AssetTagLocalService
userId
- the primary key of the user adding the asset tagname
- the asset tag's nametagProperties
- the tag's propertiesserviceContext
- the service context
PortalException
- if a user with the primary key could not be
found, if an asset tag already exists with the name, or if a
portal exception occurred
SystemException
- if a system exception occurredpublic void addTagResources(AssetTag tag, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addTagResources
in interface AssetTagLocalService
tag
- the asset tag for which to add resourcesaddGroupPermissions
- whether to add group permissionsaddGuestPermissions
- whether to add guest permissions
PortalException
- if resources could not be added for the asset tag
or if a portal exception occurred
SystemException
- if a system exception occurredpublic void addTagResources(AssetTag tag, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addTagResources
in interface AssetTagLocalService
tag
- the asset tag for which to add resourcesgroupPermissions
- the group permissions to be appliedguestPermissions
- the guest permissions to be applied
PortalException
- if resources could not be added for the asset tag
or if a portal exception occurred
SystemException
- if a system exception occurredpublic List<AssetTag> checkTags(long userId, Group group, String[] names) throws PortalException, SystemException
For each name, if an asset tag with the name doesn't already exist in the group, this method creates a new asset tag with the name in the group.
checkTags
in interface AssetTagLocalService
userId
- the primary key of the user checking the asset tagsgroup
- the group in which to check the asset tagsnames
- the asset tag names
PortalException
- if a matching group could not be found or if a
portal exception occurred
SystemException
- if a system exception occurredpublic void checkTags(long userId, long groupId, String[] names) throws PortalException, SystemException
checkTags
in interface AssetTagLocalService
userId
- the primary key of the user checking the asset tagsgroupId
- the primary key of the group in which check the asset
tagsnames
- the asset tag names
PortalException
- if a matching group could not be found or if a
portal exception occurred
SystemException
- if a system exception occurredpublic AssetTag decrementAssetCount(long tagId, long classNameId) throws PortalException, SystemException
decrementAssetCount
in interface AssetTagLocalService
tagId
- the primary key of the asset tagclassNameId
- the class name ID of the entity to which the asset
tag had been applied
PortalException
- if an asset tag with the primary key could not be
found or if a portal exception occurred
SystemException
- if a system exception occurredpublic void deleteGroupTags(long groupId) throws PortalException, SystemException
deleteGroupTags
in interface AssetTagLocalService
groupId
- the primary key of the group in which to delete all asset
tags
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic void deleteTag(AssetTag tag) throws PortalException, SystemException
deleteTag
in interface AssetTagLocalService
tag
- the asset tag to be deleted
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic void deleteTag(long tagId) throws PortalException, SystemException
deleteTag
in interface AssetTagLocalService
tagId
- the primary key of the asset tag
PortalException
- if no asset tag could be found with the primary
key or if a portal exception occurred
SystemException
- if a system exception occurredpublic List<AssetTag> getEntryTags(long entryId) throws SystemException
getEntryTags
in interface AssetTagLocalService
entryId
- the primary key of the asset entry
SystemException
- if a system exception occurredpublic List<AssetTag> getGroupsTags(long[] groupIds) throws SystemException
getGroupsTags
in interface AssetTagLocalService
groupIds
- the primary keys of the groups
SystemException
- if a system exception occurredpublic List<AssetTag> getGroupTags(long groupId) throws SystemException
getGroupTags
in interface AssetTagLocalService
groupId
- the primary key of the group
SystemException
- if a system exception occurredpublic List<AssetTag> getGroupTags(long groupId, int start, int end) throws SystemException
getGroupTags
in interface AssetTagLocalService
groupId
- the primary key of the groupstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)
SystemException
- if a system exception occurredpublic int getGroupTagsCount(long groupId) throws SystemException
getGroupTagsCount
in interface AssetTagLocalService
groupId
- the primary key of the group
SystemException
- if a system exception occurredpublic List<AssetTag> getSocialActivityCounterOffsetTags(long groupId, String socialActivityCounterName, int startOffset, int endOffset) throws SystemException
getSocialActivityCounterOffsetTags
in interface AssetTagLocalService
SystemException
public List<AssetTag> getSocialActivityCounterPeriodTags(long groupId, String socialActivityCounterName, int startPeriod, int endPeriod) throws SystemException
getSocialActivityCounterPeriodTags
in interface AssetTagLocalService
SystemException
public AssetTag getTag(long tagId) throws PortalException, SystemException
getTag
in interface AssetTagLocalService
tagId
- the primary key of the asset tag
PortalException
- if an asset tag with the primary key could not be
found
SystemException
- if a system exception occurredpublic AssetTag getTag(long groupId, String name) throws PortalException, SystemException
getTag
in interface AssetTagLocalService
groupId
- the primary key of the groupname
- the name of the asset tag
PortalException
- if a matching asset tag could not be found
SystemException
- if a system exception occurredpublic long[] getTagIds(long groupId, String[] names) throws PortalException, SystemException
getTagIds
in interface AssetTagLocalService
groupId
- the primary key of the groupnames
- the names of the asset tags
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic long[] getTagIds(long[] groupIds, String name) throws PortalException, SystemException
getTagIds
in interface AssetTagLocalService
groupIds
- the primary keys of the groupsname
- the name of the asset tags
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic long[] getTagIds(long[] groupIds, String[] names) throws PortalException, SystemException
getTagIds
in interface AssetTagLocalService
groupIds
- the primary keys of the groupsnames
- the names of the asset tags
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic String[] getTagNames() throws SystemException
getTagNames
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic String[] getTagNames(long classNameId, long classPK) throws SystemException
getTagNames
in interface AssetTagLocalService
classNameId
- the class name ID of the entityclassPK
- the primary key of the entity
SystemException
- if a system exception occurredpublic String[] getTagNames(String className, long classPK) throws SystemException
getTagNames
in interface AssetTagLocalService
className
- the class name of the entityclassPK
- the primary key of the entity
SystemException
- if a system exception occurredpublic List<AssetTag> getTags() throws SystemException
getTags
in interface AssetTagLocalService
SystemException
- if a system exception occurredpublic List<AssetTag> getTags(long classNameId, long classPK) throws SystemException
getTags
in interface AssetTagLocalService
classNameId
- the class name ID of the entityclassPK
- the primary key of the entity
SystemException
- if a system exception occurredpublic List<AssetTag> getTags(long groupId, long classNameId, String name) throws SystemException
getTags
in interface AssetTagLocalService
SystemException
public List<AssetTag> getTags(long groupId, long classNameId, String name, int start, int end) throws SystemException
getTags
in interface AssetTagLocalService
SystemException
public List<AssetTag> getTags(String className, long classPK) throws SystemException
getTags
in interface AssetTagLocalService
className
- the class name of the entityclassPK
- the primary key of the entity
SystemException
- if a system exception occurredpublic int getTagsSize(long groupId, long classNameId, String name) throws SystemException
getTagsSize
in interface AssetTagLocalService
SystemException
public boolean hasTag(long groupId, String name) throws PortalException, SystemException
true
if the group contains an asset tag with the
name.
hasTag
in interface AssetTagLocalService
groupId
- the primary key of the groupname
- the name of the asset tag
true
if the group contains an asset tag with the
name; false
otherwise.
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic AssetTag incrementAssetCount(long tagId, long classNameId) throws PortalException, SystemException
incrementAssetCount
in interface AssetTagLocalService
tagId
- the primary key of the asset tagclassNameId
- the class name ID of the entity to which the asset
tag is being applied
PortalException
- if a asset tag with the primary key could not be
found or if a portal exception occurred
SystemException
- if a system exception occurredpublic void mergeTags(long fromTagId, long toTagId, boolean overrideProperties) throws PortalException, SystemException
mergeTags
in interface AssetTagLocalService
fromTagId
- the primary key of the asset tag to be replacedtoTagId
- the primary key of the asset tag to apply to the asset
entries of the other asset tagoverrideProperties
- whether to override the properties of the
second asset tag with the properties of the first asset tag
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic List<AssetTag> search(long groupId, String name, String[] tagProperties, int start, int end) throws SystemException
search
in interface AssetTagLocalService
groupId
- the primary key of the groupname
- the pattern to matchtagProperties
- the properties to matchstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)
SystemException
- if a system exception occurredpublic List<AssetTag> search(long[] groupIds, String name, String[] tagProperties, int start, int end) throws SystemException
search
in interface AssetTagLocalService
groupIds
- the primary keys of the groupsname
- the pattern to matchtagProperties
- the properties to matchstart
- the lower bound of the range of asset tagsend
- the upper bound of the range of asset tags (not inclusive)
SystemException
- if a system exception occurredpublic AssetTag updateTag(long userId, long tagId, String name, String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
updateTag
in interface AssetTagLocalService
PortalException
SystemException
public AssetTagLocalService getWrappedAssetTagLocalService()
getWrappedService()
public void setWrappedAssetTagLocalService(AssetTagLocalService assetTagLocalService)
setWrappedService(com.liferay.portlet.asset.service.AssetTagLocalService)
public AssetTagLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<AssetTagLocalService>
public void setWrappedService(AssetTagLocalService assetTagLocalService)
setWrappedService
in interface ServiceWrapper<AssetTagLocalService>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |