|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.service.AssetTagLocalServiceWrapper
public class AssetTagLocalServiceWrapper
This class is a wrapper for AssetTagLocalService.
AssetTagLocalService| Constructor Summary | |
|---|---|
AssetTagLocalServiceWrapper(AssetTagLocalService assetTagLocalService)
|
|
| Method Summary | |
|---|---|
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 addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addTagResources(AssetTag tag,
String[] communityPermissions,
String[] guestPermissions)
|
void |
checkTags(long userId,
long groupId,
String[] names)
|
AssetTag |
createAssetTag(long tagId)
Creates a new asset tag with the primary key. |
AssetTag |
decrementAssetCount(long tagId,
long classNameId)
|
void |
deleteAssetTag(AssetTag assetTag)
Deletes the asset tag from the database. |
void |
deleteAssetTag(long tagId)
Deletes the asset tag with the primary key from the database. |
void |
deleteTag(AssetTag tag)
|
void |
deleteTag(long tagId)
|
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)
Counts the number of rows that match the dynamic query. |
AssetTag |
getAssetTag(long tagId)
Gets the asset tag with the primary key. |
List<AssetTag> |
getAssetTags(int start,
int end)
Gets a range of all the asset tags. |
int |
getAssetTagsCount()
Gets the number of asset tags. |
List<AssetTag> |
getEntryTags(long entryId)
|
List<AssetTag> |
getGroupTags(long groupId)
|
AssetTag |
getTag(long tagId)
|
AssetTag |
getTag(long groupId,
String name)
|
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()
|
boolean |
hasTag(long groupId,
String name)
|
AssetTag |
incrementAssetCount(long tagId,
long classNameId)
|
void |
mergeTags(long fromTagId,
long toTagId)
|
JSONArray |
search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
|
AssetTag |
updateAssetTag(AssetTag assetTag)
Updates the asset tag in the database. |
AssetTag |
updateAssetTag(AssetTag assetTag,
boolean merge)
Updates the asset tag in the database. |
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 AssetTagLocalServiceassetTag - the asset tag to add
SystemException - if a system exception occurredpublic AssetTag createAssetTag(long tagId)
createAssetTag in interface AssetTagLocalServicetagId - the primary key for the new asset tag
public void deleteAssetTag(long tagId)
throws PortalException,
SystemException
deleteAssetTag in interface AssetTagLocalServicetagId - the primary key of the asset tag to delete
PortalException - if a asset tag with the primary key could not be found
SystemException - if a system exception occurred
public void deleteAssetTag(AssetTag assetTag)
throws SystemException
deleteAssetTag in interface AssetTagLocalServiceassetTag - the asset tag to delete
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface AssetTagLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public 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.
dynamicQuery in interface AssetTagLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)
SystemException - if a system exception occurred
public 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.
dynamicQuery in interface AssetTagLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface AssetTagLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public AssetTag getAssetTag(long tagId)
throws PortalException,
SystemException
getAssetTag in interface AssetTagLocalServicetagId - the primary key of the asset tag to get
PortalException - if a asset tag with the primary key could not be found
SystemException - if a system exception occurred
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.
getAssetTags in interface AssetTagLocalServicestart - the lower bound of the range of asset tags to returnend - the upper bound of the range of asset tags to return (not inclusive)
SystemException - if a system exception occurred
public int getAssetTagsCount()
throws SystemException
getAssetTagsCount in interface AssetTagLocalServiceSystemException - if a system exception occurred
public AssetTag updateAssetTag(AssetTag assetTag)
throws SystemException
updateAssetTag in interface AssetTagLocalServiceassetTag - the asset tag to update
SystemException - if a system exception occurred
public AssetTag updateAssetTag(AssetTag assetTag,
boolean merge)
throws SystemException
updateAssetTag in interface AssetTagLocalServiceassetTag - the asset tag to updatemerge - whether to merge the asset tag with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurred
public AssetTag addTag(long userId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
addTag in interface AssetTagLocalServicePortalException
SystemException
public void addTagResources(AssetTag tag,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addTagResources in interface AssetTagLocalServicePortalException
SystemException
public void addTagResources(AssetTag tag,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addTagResources in interface AssetTagLocalServicePortalException
SystemException
public void checkTags(long userId,
long groupId,
String[] names)
throws PortalException,
SystemException
checkTags in interface AssetTagLocalServicePortalException
SystemException
public AssetTag decrementAssetCount(long tagId,
long classNameId)
throws PortalException,
SystemException
decrementAssetCount in interface AssetTagLocalServicePortalException
SystemException
public void deleteTag(AssetTag tag)
throws PortalException,
SystemException
deleteTag in interface AssetTagLocalServicePortalException
SystemException
public void deleteTag(long tagId)
throws PortalException,
SystemException
deleteTag in interface AssetTagLocalServicePortalException
SystemException
public List<AssetTag> getEntryTags(long entryId)
throws SystemException
getEntryTags in interface AssetTagLocalServiceSystemException
public List<AssetTag> getGroupTags(long groupId)
throws SystemException
getGroupTags in interface AssetTagLocalServiceSystemException
public AssetTag getTag(long tagId)
throws PortalException,
SystemException
getTag in interface AssetTagLocalServicePortalException
SystemException
public AssetTag getTag(long groupId,
String name)
throws PortalException,
SystemException
getTag in interface AssetTagLocalServicePortalException
SystemException
public long[] getTagIds(long groupId,
String[] names)
throws PortalException,
SystemException
getTagIds in interface AssetTagLocalServicePortalException
SystemException
public String[] getTagNames()
throws SystemException
getTagNames in interface AssetTagLocalServiceSystemException
public String[] getTagNames(long classNameId,
long classPK)
throws SystemException
getTagNames in interface AssetTagLocalServiceSystemException
public String[] getTagNames(String className,
long classPK)
throws SystemException
getTagNames in interface AssetTagLocalServiceSystemException
public List<AssetTag> getTags()
throws SystemException
getTags in interface AssetTagLocalServiceSystemException
public List<AssetTag> getTags(long classNameId,
long classPK)
throws SystemException
getTags in interface AssetTagLocalServiceSystemException
public List<AssetTag> getTags(long groupId,
long classNameId,
String name)
throws SystemException
getTags in interface AssetTagLocalServiceSystemException
public List<AssetTag> getTags(long groupId,
long classNameId,
String name,
int start,
int end)
throws SystemException
getTags in interface AssetTagLocalServiceSystemException
public List<AssetTag> getTags(String className,
long classPK)
throws SystemException
getTags in interface AssetTagLocalServiceSystemException
public int getTagsSize(long groupId,
long classNameId,
String name)
throws SystemException
getTagsSize in interface AssetTagLocalServiceSystemException
public boolean hasTag(long groupId,
String name)
throws PortalException,
SystemException
hasTag in interface AssetTagLocalServicePortalException
SystemException
public AssetTag incrementAssetCount(long tagId,
long classNameId)
throws PortalException,
SystemException
incrementAssetCount in interface AssetTagLocalServicePortalException
SystemException
public void mergeTags(long fromTagId,
long toTagId)
throws PortalException,
SystemException
mergeTags in interface AssetTagLocalServicePortalException
SystemException
public JSONArray search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
throws SystemException
search in interface AssetTagLocalServiceSystemException
public AssetTag updateTag(long userId,
long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateTag in interface AssetTagLocalServicePortalException
SystemExceptionpublic AssetTagLocalService getWrappedAssetTagLocalService()
|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||