|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portlet.asset.service.base.AssetTagStatsLocalServiceBaseImpl com.liferay.portlet.asset.service.impl.AssetTagStatsLocalServiceImpl
public class AssetTagStatsLocalServiceImpl
Provides the local service for accessing, adding, deleting, and updating asset tag statistics.
Field Summary |
---|
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
AssetTagStatsLocalServiceImpl()
|
Method Summary | |
---|---|
AssetTagStats |
addTagStats(long tagId,
long classNameId)
Adds an asset tag statistics instance. |
void |
deleteTagStats(AssetTagStats tagStats)
Deletes the asset tag statistics instance. |
void |
deleteTagStats(long tagStatsId)
Deletes the asset tag statistics instance matching the tag statistics ID. |
void |
deleteTagStatsByClassNameId(long classNameId)
Deletes all asset tag statistics instances associated with the asset entry matching the class name ID. |
void |
deleteTagStatsByTagId(long tagId)
Deletes all asset tag statistics instances associated with the tag. |
List<AssetTagStats> |
getTagStats(long classNameId,
int start,
int end)
Returns a range of all the asset tag statistics instances associated with the asset entry matching the class name ID. |
AssetTagStats |
getTagStats(long tagId,
long classNameId)
Returns the asset tag statistics instance with the tag and asset entry matching the class name ID |
AssetTagStats |
updateTagStats(long tagId,
long classNameId)
Updates the asset tag statistics instance. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetTagStatsLocalServiceImpl()
Method Detail |
---|
public AssetTagStats addTagStats(long tagId, long classNameId) throws SystemException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID
SystemException
- if a system exception occurredpublic void deleteTagStats(AssetTagStats tagStats) throws SystemException
tagStats
- the asset tag statistics instance
SystemException
- if a system exception occurredpublic void deleteTagStats(long tagStatsId) throws PortalException, SystemException
tagStatsId
- the primary key of the asset tag statistics instance
PortalException
- if the assetTagStats with the primary key could
not be found
SystemException
- if a system exception occurredpublic void deleteTagStatsByClassNameId(long classNameId) throws SystemException
classNameId
- the asset entry's class name ID
SystemException
- if a system exception occurredpublic void deleteTagStatsByTagId(long tagId) throws SystemException
tagId
- the primary key of the tag
SystemException
- if a system exception occurredpublic List<AssetTagStats> getTagStats(long classNameId, 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.
classNameId
- the asset entry's class name IDstart
- the lower bound of the range of resultsend
- the upper bound of the range of results (not inclusive)
SystemException
- if a system exception occurredpublic AssetTagStats getTagStats(long tagId, long classNameId) throws SystemException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID
SystemException
- if a system exception occurredpublic AssetTagStats updateTagStats(long tagId, long classNameId) throws PortalException, SystemException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID
PortalException
- if an asset tag with the tag ID could not be
found
SystemException
- if a system exception occurred
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |