|
Liferay 7.0-ga1 portal-impl | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.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 | |
|---|---|
com.liferay.asset.kernel.model.AssetTagStats |
addTagStats(long tagId,
long classNameId)
Adds an asset tag statistics instance. |
void |
deleteTagStats(com.liferay.asset.kernel.model.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<com.liferay.asset.kernel.model.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. |
com.liferay.asset.kernel.model.AssetTagStats |
getTagStats(long tagId,
long classNameId)
Returns the asset tag statistics instance with the tag and asset entry matching the class name ID |
com.liferay.asset.kernel.model.AssetTagStats |
updateTagStats(long tagId,
long classNameId)
Updates the asset tag statistics instance. |
| Methods inherited from class com.liferay.portal.kernel.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 com.liferay.asset.kernel.model.AssetTagStats addTagStats(long tagId,
long classNameId)
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
public void deleteTagStats(com.liferay.asset.kernel.model.AssetTagStats tagStats)
tagStats - the asset tag statistics instance
public void deleteTagStats(long tagStatsId)
throws com.liferay.portal.kernel.exception.PortalException
tagStatsId - the primary key of the asset tag statistics instance
com.liferay.portal.kernel.exception.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<com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.model.AssetTagStats getTagStats(long tagId,
long classNameId)
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
public com.liferay.asset.kernel.model.AssetTagStats updateTagStats(long tagId,
long classNameId)
throws com.liferay.portal.kernel.exception.PortalException
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
com.liferay.portal.kernel.exception.PortalException
|
Liferay 7.0-ga1 portal-impl | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||