|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.portlet.asset.service.base.AssetTagStatsLocalServiceBaseImpl |
|---|
assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagStatsLocalService, assetTagStatsPersistence, counterLocalService, persistedModelLocalServiceRegistry |
| 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, getLocalizationMap |
| 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)
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
public void deleteTagStats(AssetTagStats tagStats)
tagStats - the asset tag statistics instance
public void deleteTagStats(long tagStatsId)
throws PortalException
tagStatsId - the primary key of the asset tag statistics instance
PortalExceptionpublic void deleteTagStatsByClassNameId(long classNameId)
classNameId - the asset entry's class name IDpublic void deleteTagStatsByTagId(long tagId)
tagId - the primary key of the tag
public List<AssetTagStats> getTagStats(long classNameId,
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.
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)
public AssetTagStats getTagStats(long tagId,
long classNameId)
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
public AssetTagStats updateTagStats(long tagId,
long classNameId)
throws PortalException
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
PortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||