@ProviderType public class AssetTagLocalServiceWrapper extends java.lang.Object implements AssetTagLocalService, ServiceWrapper<AssetTagLocalService>
AssetTagLocalService.AssetTagLocalService| Constructor and Description |
|---|
AssetTagLocalServiceWrapper(AssetTagLocalService assetTagLocalService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssetEntryAssetTag(long entryId,
AssetTag assetTag) |
void |
addAssetEntryAssetTag(long entryId,
long tagId) |
void |
addAssetEntryAssetTags(long entryId,
java.util.List<AssetTag> AssetTags) |
void |
addAssetEntryAssetTags(long entryId,
long[] tagIds) |
AssetTag |
addAssetTag(AssetTag assetTag)
Adds the asset tag to the database.
|
AssetTag |
addTag(long userId,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext) |
void |
addTagResources(AssetTag tag,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addTagResources(AssetTag tag,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
java.util.List<AssetTag> |
checkTags(long userId,
Group group,
java.lang.String[] names)
Returns the tags matching the group and names, creating new tags with the
names if the group doesn't already have them.
|
void |
checkTags(long userId,
long groupId,
java.lang.String[] names) |
void |
clearAssetEntryAssetTags(long entryId) |
AssetTag |
createAssetTag(long tagId)
Creates a new asset tag with the primary key.
|
AssetTag |
decrementAssetCount(long tagId,
long classNameId) |
void |
deleteAssetEntryAssetTag(long entryId,
AssetTag assetTag) |
void |
deleteAssetEntryAssetTag(long entryId,
long tagId) |
void |
deleteAssetEntryAssetTags(long entryId,
java.util.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) |
void |
deleteTag(AssetTag tag) |
void |
deleteTag(long tagId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.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) |
java.util.List<AssetTag> |
getAssetEntryAssetTags(long entryId) |
java.util.List<AssetTag> |
getAssetEntryAssetTags(long entryId,
int start,
int end) |
java.util.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.
|
java.util.List<AssetTag> |
getAssetTags(int start,
int end)
Returns a range of all the asset tags.
|
int |
getAssetTagsCount()
Returns the number of asset tags.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<AssetTag> |
getEntryTags(long entryId) |
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) |
int |
getGroupTagsCount(long groupId) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<AssetTag> |
getSocialActivityCounterOffsetTags(long groupId,
java.lang.String socialActivityCounterName,
int startOffset,
int endOffset) |
java.util.List<AssetTag> |
getSocialActivityCounterPeriodTags(long groupId,
java.lang.String socialActivityCounterName,
int startPeriod,
int endPeriod) |
AssetTag |
getTag(long tagId) |
AssetTag |
getTag(long groupId,
java.lang.String name) |
long[] |
getTagIds(long[] groupIds,
java.lang.String name) |
long[] |
getTagIds(long[] groupIds,
java.lang.String[] names) |
long[] |
getTagIds(long groupId,
java.lang.String[] names) |
java.lang.String[] |
getTagNames() |
java.lang.String[] |
getTagNames(long classNameId,
long classPK) |
java.lang.String[] |
getTagNames(java.lang.String className,
long classPK) |
java.util.List<AssetTag> |
getTags() |
java.util.List<AssetTag> |
getTags(long classNameId,
long classPK) |
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) |
java.util.List<AssetTag> |
getTags(java.lang.String className,
long classPK) |
int |
getTagsSize(long groupId,
long classNameId,
java.lang.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,
java.lang.String name) |
AssetTag |
incrementAssetCount(long tagId,
long classNameId) |
void |
mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties) |
java.util.List<AssetTag> |
search(long[] groupIds,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
java.util.List<AssetTag> |
search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end) |
void |
setAssetEntryAssetTags(long entryId,
long[] tagIds) |
void |
setBeanIdentifier(java.lang.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,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext) |
public AssetTagLocalServiceWrapper(AssetTagLocalService assetTagLocalService)
public AssetTag addAssetTag(AssetTag assetTag) throws SystemException
addAssetTag in interface AssetTagLocalServiceassetTag - the asset tagSystemException - if a system exception occurredpublic AssetTag createAssetTag(long tagId)
createAssetTag in interface AssetTagLocalServicetagId - the primary key for the new asset tagpublic AssetTag deleteAssetTag(long tagId) throws PortalException, SystemException
deleteAssetTag in interface AssetTagLocalServicetagId - the primary key of the asset tagPortalException - if a asset tag with the primary key could not be foundSystemException - if a system exception occurredpublic AssetTag deleteAssetTag(AssetTag assetTag) throws SystemException
deleteAssetTag in interface AssetTagLocalServiceassetTag - the asset tagSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface AssetTagLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface AssetTagLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.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 AssetTagLocalServicedynamicQuery - 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 java.util.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 AssetTagLocalServicedynamicQuery - 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 AssetTagLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface AssetTagLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic AssetTag fetchAssetTag(long tagId) throws SystemException
fetchAssetTag in interface AssetTagLocalServiceSystemExceptionpublic AssetTag getAssetTag(long tagId) throws PortalException, SystemException
getAssetTag in interface AssetTagLocalServicetagId - the primary key of the asset tagPortalException - if a asset tag with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic java.util.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 AssetTagLocalServicestart - 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 AssetTagLocalServiceSystemException - if a system exception occurredpublic AssetTag updateAssetTag(AssetTag assetTag) throws SystemException
updateAssetTag in interface AssetTagLocalServiceassetTag - the asset tagSystemException - if a system exception occurredpublic void addAssetEntryAssetTag(long entryId,
long tagId)
throws SystemException
addAssetEntryAssetTag in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void addAssetEntryAssetTag(long entryId,
AssetTag assetTag)
throws SystemException
addAssetEntryAssetTag in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void addAssetEntryAssetTags(long entryId,
long[] tagIds)
throws SystemException
addAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void addAssetEntryAssetTags(long entryId,
java.util.List<AssetTag> AssetTags)
throws SystemException
addAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void clearAssetEntryAssetTags(long entryId)
throws SystemException
clearAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void deleteAssetEntryAssetTag(long entryId,
long tagId)
throws SystemException
deleteAssetEntryAssetTag in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void deleteAssetEntryAssetTag(long entryId,
AssetTag assetTag)
throws SystemException
deleteAssetEntryAssetTag in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void deleteAssetEntryAssetTags(long entryId,
long[] tagIds)
throws SystemException
deleteAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void deleteAssetEntryAssetTags(long entryId,
java.util.List<AssetTag> AssetTags)
throws SystemException
deleteAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic java.util.List<AssetTag> getAssetEntryAssetTags(long entryId) throws SystemException
getAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic java.util.List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end) throws SystemException
getAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic java.util.List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic int getAssetEntryAssetTagsCount(long entryId)
throws SystemException
getAssetEntryAssetTagsCount in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic boolean hasAssetEntryAssetTag(long entryId,
long tagId)
throws SystemException
hasAssetEntryAssetTag in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic boolean hasAssetEntryAssetTags(long entryId)
throws SystemException
hasAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic void setAssetEntryAssetTags(long entryId,
long[] tagIds)
throws SystemException
setAssetEntryAssetTags in interface AssetTagLocalServiceSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface AssetTagLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface AssetTagLocalServicebeanIdentifier - the Spring bean ID for this beanpublic AssetTag addTag(long userId, java.lang.String name, java.lang.String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
addTag in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic void addTagResources(AssetTag tag, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addTagResources in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic void addTagResources(AssetTag tag, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
addTagResources in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic java.util.List<AssetTag> checkTags(long userId, Group group, java.lang.String[] names) throws PortalException, SystemException
For each name, if a tag with that name doesn't already exist for the group, this method creates a new tag with that name for the group. If a tag with that name already exists in the company group, this method copies that company group's tag's properties to the group's new tag.
checkTags in interface AssetTagLocalServiceuserId - the primary key of the usergroup - ID the primary key of the tag's groupnames - the tag namesPortalException - if a matching group could not be found, if the
tag's key or value were invalid, or if a portal exception
occurredSystemException - if a system exception occurredpublic void checkTags(long userId,
long groupId,
java.lang.String[] names)
throws PortalException,
SystemException
checkTags in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic AssetTag decrementAssetCount(long tagId, long classNameId) throws PortalException, SystemException
decrementAssetCount in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic void deleteGroupTags(long groupId)
throws PortalException,
SystemException
deleteGroupTags in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic void deleteTag(AssetTag tag) throws PortalException, SystemException
deleteTag in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic void deleteTag(long tagId)
throws PortalException,
SystemException
deleteTag in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic java.util.List<AssetTag> getEntryTags(long entryId) throws SystemException
getEntryTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getGroupsTags(long[] groupIds) throws SystemException
getGroupsTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getGroupTags(long groupId) throws SystemException
getGroupTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getGroupTags(long groupId, int start, int end) throws SystemException
getGroupTags in interface AssetTagLocalServiceSystemExceptionpublic int getGroupTagsCount(long groupId)
throws SystemException
getGroupTagsCount in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getSocialActivityCounterOffsetTags(long groupId, java.lang.String socialActivityCounterName, int startOffset, int endOffset) throws SystemException
getSocialActivityCounterOffsetTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getSocialActivityCounterPeriodTags(long groupId, java.lang.String socialActivityCounterName, int startPeriod, int endPeriod) throws SystemException
getSocialActivityCounterPeriodTags in interface AssetTagLocalServiceSystemExceptionpublic AssetTag getTag(long tagId) throws PortalException, SystemException
getTag in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic AssetTag getTag(long groupId, java.lang.String name) throws PortalException, SystemException
getTag in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic long[] getTagIds(long groupId,
java.lang.String[] names)
throws PortalException,
SystemException
getTagIds in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic long[] getTagIds(long[] groupIds,
java.lang.String name)
throws PortalException,
SystemException
getTagIds in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic long[] getTagIds(long[] groupIds,
java.lang.String[] names)
throws PortalException,
SystemException
getTagIds in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic java.lang.String[] getTagNames()
throws SystemException
getTagNames in interface AssetTagLocalServiceSystemExceptionpublic java.lang.String[] getTagNames(long classNameId,
long classPK)
throws SystemException
getTagNames in interface AssetTagLocalServiceSystemExceptionpublic java.lang.String[] getTagNames(java.lang.String className,
long classPK)
throws SystemException
getTagNames in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getTags() throws SystemException
getTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getTags(long classNameId, long classPK) throws SystemException
getTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name) throws SystemException
getTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getTags(long groupId, long classNameId, java.lang.String name, int start, int end) throws SystemException
getTags in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> getTags(java.lang.String className, long classPK) throws SystemException
getTags in interface AssetTagLocalServiceSystemExceptionpublic int getTagsSize(long groupId,
long classNameId,
java.lang.String name)
throws SystemException
getTagsSize in interface AssetTagLocalServiceSystemExceptionpublic boolean hasTag(long groupId,
java.lang.String name)
throws PortalException,
SystemException
hasTag in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic AssetTag incrementAssetCount(long tagId, long classNameId) throws PortalException, SystemException
incrementAssetCount in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic void mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
throws PortalException,
SystemException
mergeTags in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic java.util.List<AssetTag> search(long groupId, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
search in interface AssetTagLocalServiceSystemExceptionpublic java.util.List<AssetTag> search(long[] groupIds, java.lang.String name, java.lang.String[] tagProperties, int start, int end) throws SystemException
search in interface AssetTagLocalServiceSystemExceptionpublic AssetTag updateTag(long userId, long tagId, java.lang.String name, java.lang.String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException
updateTag in interface AssetTagLocalServicePortalExceptionSystemExceptionpublic 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>