|
Liferay 7.0-ce-m3 | |||||||||
| 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)
|
|
void |
addTagResources(AssetTag tag,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
|
void |
addTagResources(AssetTag tag,
String[] groupPermissions,
String[] guestPermissions)
|
|
List<AssetTag> |
checkTags(long userId,
Group group,
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,
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,
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)
|
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
void |
deleteTag(AssetTag tag)
|
|
void |
deleteTag(long tagId)
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
AssetTag |
fetchAssetTag(long tagId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
List<AssetTag> |
getAssetEntryAssetTags(long entryId)
|
|
List<AssetTag> |
getAssetEntryAssetTags(long entryId,
int start,
int end)
|
|
List<AssetTag> |
getAssetEntryAssetTags(long entryId,
int start,
int end,
OrderByComparator<AssetTag> orderByComparator)
|
|
int |
getAssetEntryAssetTagsCount(long entryId)
|
|
long[] |
getAssetEntryPrimaryKeys(long tagId)
Returns the entryIds of the asset entries associated with the asset tag. |
|
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)
|
|
List<AssetTag> |
getGroupsTags(long[] groupIds)
|
|
List<AssetTag> |
getGroupTags(long groupId)
|
|
List<AssetTag> |
getGroupTags(long groupId,
int start,
int end)
|
|
int |
getGroupTagsCount(long groupId)
|
|
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)
|
|
AssetTag |
getTag(long groupId,
String name)
|
|
long[] |
getTagIds(long[] groupIds,
String name)
|
|
long[] |
getTagIds(long[] groupIds,
String[] names)
|
|
long[] |
getTagIds(long groupId,
String[] names)
|
|
String[] |
getTagNames()
|
|
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)
|
|
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)
|
|
AssetTag |
incrementAssetCount(long tagId,
long classNameId)
|
|
void |
mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
|
|
List<AssetTag> |
search(long[] groupIds,
String name,
String[] tagProperties,
int start,
int end)
|
|
List<AssetTag> |
search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
|
|
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 void addAssetEntryAssetTag(long entryId,
AssetTag assetTag)
addAssetEntryAssetTag in interface AssetTagLocalService
public void addAssetEntryAssetTag(long entryId,
long tagId)
addAssetEntryAssetTag in interface AssetTagLocalService
public void addAssetEntryAssetTags(long entryId,
List<AssetTag> AssetTags)
addAssetEntryAssetTags in interface AssetTagLocalService
public void addAssetEntryAssetTags(long entryId,
long[] tagIds)
addAssetEntryAssetTags in interface AssetTagLocalServicepublic AssetTag addAssetTag(AssetTag assetTag)
addAssetTag in interface AssetTagLocalServiceassetTag - the asset tag
public AssetTag addTag(long userId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException
addTag in interface AssetTagLocalServicePortalException
public void addTagResources(AssetTag tag,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addTagResources in interface AssetTagLocalServicePortalException
public void addTagResources(AssetTag tag,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
addTagResources in interface AssetTagLocalServicePortalException
public List<AssetTag> checkTags(long userId,
Group group,
String[] names)
throws PortalException
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 names
PortalException - if a matching group could not be found, if the
tag's key or value were invalid, or if a portal exception
occurred
public void checkTags(long userId,
long groupId,
String[] names)
throws PortalException
checkTags in interface AssetTagLocalServicePortalExceptionpublic void clearAssetEntryAssetTags(long entryId)
clearAssetEntryAssetTags in interface AssetTagLocalServicepublic AssetTag createAssetTag(long tagId)
createAssetTag in interface AssetTagLocalServicetagId - the primary key for the new asset tag
public AssetTag decrementAssetCount(long tagId,
long classNameId)
throws PortalException
decrementAssetCount in interface AssetTagLocalServicePortalException
public void deleteAssetEntryAssetTag(long entryId,
AssetTag assetTag)
deleteAssetEntryAssetTag in interface AssetTagLocalService
public void deleteAssetEntryAssetTag(long entryId,
long tagId)
deleteAssetEntryAssetTag in interface AssetTagLocalService
public void deleteAssetEntryAssetTags(long entryId,
List<AssetTag> AssetTags)
deleteAssetEntryAssetTags in interface AssetTagLocalService
public void deleteAssetEntryAssetTags(long entryId,
long[] tagIds)
deleteAssetEntryAssetTags in interface AssetTagLocalServicepublic AssetTag deleteAssetTag(AssetTag assetTag)
deleteAssetTag in interface AssetTagLocalServiceassetTag - the asset tag
public AssetTag deleteAssetTag(long tagId)
throws PortalException
deleteAssetTag in interface AssetTagLocalServicetagId - the primary key of the asset tag
PortalException - if a asset tag with the primary key could not be found
public void deleteGroupTags(long groupId)
throws PortalException
deleteGroupTags in interface AssetTagLocalServicePortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface AssetTagLocalServicePortalException
public void deleteTag(AssetTag tag)
throws PortalException
deleteTag in interface AssetTagLocalServicePortalException
public void deleteTag(long tagId)
throws PortalException
deleteTag in interface AssetTagLocalServicePortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface AssetTagLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface AssetTagLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
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)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
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)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface AssetTagLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface AssetTagLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public AssetTag fetchAssetTag(long tagId)
fetchAssetTag in interface AssetTagLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface AssetTagLocalServicepublic List<AssetTag> getAssetEntryAssetTags(long entryId)
getAssetEntryAssetTags in interface AssetTagLocalService
public List<AssetTag> getAssetEntryAssetTags(long entryId,
int start,
int end)
getAssetEntryAssetTags in interface AssetTagLocalService
public List<AssetTag> getAssetEntryAssetTags(long entryId,
int start,
int end,
OrderByComparator<AssetTag> orderByComparator)
getAssetEntryAssetTags in interface AssetTagLocalServicepublic int getAssetEntryAssetTagsCount(long entryId)
getAssetEntryAssetTagsCount in interface AssetTagLocalServicepublic long[] getAssetEntryPrimaryKeys(long tagId)
getAssetEntryPrimaryKeys in interface AssetTagLocalServicetagId - the tagId of the asset tag
public AssetTag getAssetTag(long tagId)
throws PortalException
getAssetTag in interface AssetTagLocalServicetagId - the primary key of the asset tag
PortalException - if a asset tag with the primary key could not be found
public List<AssetTag> getAssetTags(int start,
int end)
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)
public int getAssetTagsCount()
getAssetTagsCount in interface AssetTagLocalServicepublic String getBeanIdentifier()
getBeanIdentifier in interface AssetTagLocalServicepublic List<AssetTag> getEntryTags(long entryId)
getEntryTags in interface AssetTagLocalServicepublic List<AssetTag> getGroupTags(long groupId)
getGroupTags in interface AssetTagLocalService
public List<AssetTag> getGroupTags(long groupId,
int start,
int end)
getGroupTags in interface AssetTagLocalServicepublic int getGroupTagsCount(long groupId)
getGroupTagsCount in interface AssetTagLocalServicepublic List<AssetTag> getGroupsTags(long[] groupIds)
getGroupsTags in interface AssetTagLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface AssetTagLocalServicePortalException
public List<AssetTag> getSocialActivityCounterOffsetTags(long groupId,
String socialActivityCounterName,
int startOffset,
int endOffset)
getSocialActivityCounterOffsetTags in interface AssetTagLocalService
public List<AssetTag> getSocialActivityCounterPeriodTags(long groupId,
String socialActivityCounterName,
int startPeriod,
int endPeriod)
getSocialActivityCounterPeriodTags in interface AssetTagLocalService
public AssetTag getTag(long groupId,
String name)
throws PortalException
getTag in interface AssetTagLocalServicePortalException
public AssetTag getTag(long tagId)
throws PortalException
getTag in interface AssetTagLocalServicePortalException
public long[] getTagIds(long groupId,
String[] names)
throws PortalException
getTagIds in interface AssetTagLocalServicePortalException
public long[] getTagIds(long[] groupIds,
String name)
throws PortalException
getTagIds in interface AssetTagLocalServicePortalException
public long[] getTagIds(long[] groupIds,
String[] names)
throws PortalException
getTagIds in interface AssetTagLocalServicePortalExceptionpublic String[] getTagNames()
getTagNames in interface AssetTagLocalService
public String[] getTagNames(String className,
long classPK)
getTagNames in interface AssetTagLocalService
public String[] getTagNames(long classNameId,
long classPK)
getTagNames in interface AssetTagLocalServicepublic List<AssetTag> getTags()
getTags in interface AssetTagLocalService
public List<AssetTag> getTags(String className,
long classPK)
getTags in interface AssetTagLocalService
public List<AssetTag> getTags(long classNameId,
long classPK)
getTags in interface AssetTagLocalService
public List<AssetTag> getTags(long groupId,
long classNameId,
String name)
getTags in interface AssetTagLocalService
public List<AssetTag> getTags(long groupId,
long classNameId,
String name,
int start,
int end)
getTags in interface AssetTagLocalService
public int getTagsSize(long groupId,
long classNameId,
String name)
getTagsSize in interface AssetTagLocalService
public boolean hasAssetEntryAssetTag(long entryId,
long tagId)
hasAssetEntryAssetTag in interface AssetTagLocalServicepublic boolean hasAssetEntryAssetTags(long entryId)
hasAssetEntryAssetTags in interface AssetTagLocalService
public boolean hasTag(long groupId,
String name)
throws PortalException
hasTag in interface AssetTagLocalServicePortalException
public AssetTag incrementAssetCount(long tagId,
long classNameId)
throws PortalException
incrementAssetCount in interface AssetTagLocalServicePortalException
public void mergeTags(long fromTagId,
long toTagId,
boolean overrideProperties)
throws PortalException
mergeTags in interface AssetTagLocalServicePortalException
public List<AssetTag> search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
search in interface AssetTagLocalService
public List<AssetTag> search(long[] groupIds,
String name,
String[] tagProperties,
int start,
int end)
search in interface AssetTagLocalService
public void setAssetEntryAssetTags(long entryId,
long[] tagIds)
setAssetEntryAssetTags in interface AssetTagLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface AssetTagLocalServicebeanIdentifier - the Spring bean ID for this beanpublic AssetTag updateAssetTag(AssetTag assetTag)
updateAssetTag in interface AssetTagLocalServiceassetTag - the asset tag
public AssetTag updateTag(long userId,
long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException
updateTag in interface AssetTagLocalServicePortalException@Deprecated public AssetTagLocalService getWrappedAssetTagLocalService()
getWrappedService()
@Deprecated 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 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||