Liferay 6.1.2-ce-ga3

com.liferay.portlet.asset.service.impl
Class AssetTagStatsLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.asset.service.base.AssetTagStatsLocalServiceBaseImpl
          extended by com.liferay.portlet.asset.service.impl.AssetTagStatsLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, AssetTagStatsLocalService

public class AssetTagStatsLocalServiceImpl
extends AssetTagStatsLocalServiceBaseImpl

The implementation of the asset tag statistics local service.


Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetTagStatsLocalServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
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.portlet.asset.service.base.AssetTagStatsLocalServiceBaseImpl
addAssetTagStats, afterPropertiesSet, createAssetTagStats, deleteAssetTagStats, deleteAssetTagStats, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchAssetTagStats, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStats, getAssetTagStatses, getAssetTagStatsesCount, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetTagStats, updateAssetTagStats
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagStatsLocalServiceImpl

public AssetTagStatsLocalServiceImpl()
Method Detail

addTagStats

public AssetTagStats addTagStats(long tagId,
                                 long classNameId)
                          throws SystemException
Adds an asset tag statistics instance.

Parameters:
tagId - the primary key of the tag
classNameId - the asset entry's class name ID
Returns:
the asset tag statistics instance
Throws:
SystemException - if a system exception occurred

deleteTagStats

public void deleteTagStats(AssetTagStats tagStats)
                    throws SystemException
Deletes the asset tag statistics instance.

Parameters:
tagStats - the asset tag statistics instance
Throws:
SystemException - if a system exception occurred

deleteTagStats

public void deleteTagStats(long tagStatsId)
                    throws PortalException,
                           SystemException
Deletes the asset tag statistics instance matching the tag statistics ID.

Parameters:
tagStatsId - the primary key of the asset tag statistics instance
Throws:
PortalException - if the assetTagStats with the primary key could not be found
SystemException - if a system exception occurred

deleteTagStatsByClassNameId

public void deleteTagStatsByClassNameId(long classNameId)
                                 throws SystemException
Deletes all asset tag statistics instances associated with the asset entry matching the class name ID.

Parameters:
classNameId - the asset entry's class name ID
Throws:
SystemException - if a system exception occurred

deleteTagStatsByTagId

public void deleteTagStatsByTagId(long tagId)
                           throws SystemException
Deletes all asset tag statistics instances associated with the tag.

Parameters:
tagId - the primary key of the tag
Throws:
SystemException - if a system exception occurred

getTagStats

public List<AssetTagStats> getTagStats(long classNameId,
                                       int start,
                                       int end)
                                throws SystemException
Returns a range of all the asset tag statistics instances associated with the asset entry matching the class name ID.

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.

Parameters:
classNameId - the asset entry's class name ID
start - the lower bound of the range of results
end - the upper bound of the range of results (not inclusive)
Returns:
the range of asset tag statistics associated with the asset entry matching the class name ID
Throws:
SystemException - if a system exception occurred

getTagStats

public AssetTagStats getTagStats(long tagId,
                                 long classNameId)
                          throws SystemException
Returns the asset tag statistics instance with the tag and asset entry matching the class name ID

Parameters:
tagId - the primary key of the tag
classNameId - the asset entry's class name ID
Returns:
Returns the asset tag statistics instance with the tag and asset entry matching the class name ID
Throws:
SystemException - if a system exception occurred

updateTagStats

public AssetTagStats updateTagStats(long tagId,
                                    long classNameId)
                             throws PortalException,
                                    SystemException
Updates the asset tag statistics instance.

Parameters:
tagId - the primary key of the tag
classNameId - the asset entry's class name ID
Returns:
the updated asset tag statistics instance
Throws:
PortalException - if an asset tag with the tag ID could not be found
SystemException - if a system exception occurred

Liferay 6.1.2-ce-ga3