Liferay 6.1.2-ce-ga3

com.liferay.portlet.asset.service
Class AssetTagStatsLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetTagStatsLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<AssetTagStatsLocalService>, AssetTagStatsLocalService

public class AssetTagStatsLocalServiceWrapper
extends Object
implements AssetTagStatsLocalService, ServiceWrapper<AssetTagStatsLocalService>

This class is a wrapper for AssetTagStatsLocalService.

See Also:
AssetTagStatsLocalService

Constructor Summary
AssetTagStatsLocalServiceWrapper(AssetTagStatsLocalService assetTagStatsLocalService)
           
 
Method Summary
 AssetTagStats addAssetTagStats(AssetTagStats assetTagStats)
          Adds the asset tag stats to the database.
 AssetTagStats addTagStats(long tagId, long classNameId)
          Adds an asset tag statistics instance.
 AssetTagStats createAssetTagStats(long tagStatsId)
          Creates a new asset tag stats with the primary key.
 AssetTagStats deleteAssetTagStats(AssetTagStats assetTagStats)
          Deletes the asset tag stats from the database.
 AssetTagStats deleteAssetTagStats(long tagStatsId)
          Deletes the asset tag stats with the primary key from the database.
 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.
 DynamicQuery dynamicQuery()
           
 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)
          Returns the number of rows that match the dynamic query.
 AssetTagStats fetchAssetTagStats(long tagStatsId)
           
 AssetTagStats getAssetTagStats(long tagStatsId)
          Returns the asset tag stats with the primary key.
 List<AssetTagStats> getAssetTagStatses(int start, int end)
          Returns a range of all the asset tag statses.
 int getAssetTagStatsesCount()
          Returns the number of asset tag statses.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 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
 AssetTagStatsLocalService getWrappedAssetTagStatsLocalService()
          Deprecated. Renamed to getWrappedService()
 AssetTagStatsLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedAssetTagStatsLocalService(AssetTagStatsLocalService assetTagStatsLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.asset.service.AssetTagStatsLocalService)
 void setWrappedService(AssetTagStatsLocalService assetTagStatsLocalService)
           
 AssetTagStats updateAssetTagStats(AssetTagStats assetTagStats)
          Updates the asset tag stats in the database or adds it if it does not yet exist.
 AssetTagStats updateAssetTagStats(AssetTagStats assetTagStats, boolean merge)
          Updates the asset tag stats in the database or adds it if it does not yet exist.
 AssetTagStats updateTagStats(long tagId, long classNameId)
          Updates the asset tag statistics instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagStatsLocalServiceWrapper

public AssetTagStatsLocalServiceWrapper(AssetTagStatsLocalService assetTagStatsLocalService)
Method Detail

addAssetTagStats

public AssetTagStats addAssetTagStats(AssetTagStats assetTagStats)
                               throws SystemException
Adds the asset tag stats to the database. Also notifies the appropriate model listeners.

Specified by:
addAssetTagStats in interface AssetTagStatsLocalService
Parameters:
assetTagStats - the asset tag stats
Returns:
the asset tag stats that was added
Throws:
SystemException - if a system exception occurred

createAssetTagStats

public AssetTagStats createAssetTagStats(long tagStatsId)
Creates a new asset tag stats with the primary key. Does not add the asset tag stats to the database.

Specified by:
createAssetTagStats in interface AssetTagStatsLocalService
Parameters:
tagStatsId - the primary key for the new asset tag stats
Returns:
the new asset tag stats

deleteAssetTagStats

public AssetTagStats deleteAssetTagStats(long tagStatsId)
                                  throws PortalException,
                                         SystemException
Deletes the asset tag stats with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetTagStats in interface AssetTagStatsLocalService
Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats that was removed
Throws:
PortalException - if a asset tag stats with the primary key could not be found
SystemException - if a system exception occurred

deleteAssetTagStats

public AssetTagStats deleteAssetTagStats(AssetTagStats assetTagStats)
                                  throws SystemException
Deletes the asset tag stats from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetTagStats in interface AssetTagStatsLocalService
Parameters:
assetTagStats - the asset tag stats
Returns:
the asset tag stats that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface AssetTagStatsLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchAssetTagStats

public AssetTagStats fetchAssetTagStats(long tagStatsId)
                                 throws SystemException
Specified by:
fetchAssetTagStats in interface AssetTagStatsLocalService
Throws:
SystemException

getAssetTagStats

public AssetTagStats getAssetTagStats(long tagStatsId)
                               throws PortalException,
                                      SystemException
Returns the asset tag stats with the primary key.

Specified by:
getAssetTagStats in interface AssetTagStatsLocalService
Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats
Throws:
PortalException - if a asset tag stats with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface AssetTagStatsLocalService
Throws:
PortalException
SystemException

getAssetTagStatses

public List<AssetTagStats> getAssetTagStatses(int start,
                                              int end)
                                       throws SystemException
Returns a range of all the asset tag statses.

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.

Specified by:
getAssetTagStatses in interface AssetTagStatsLocalService
Parameters:
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of asset tag statses
Throws:
SystemException - if a system exception occurred

getAssetTagStatsesCount

public int getAssetTagStatsesCount()
                            throws SystemException
Returns the number of asset tag statses.

Specified by:
getAssetTagStatsesCount in interface AssetTagStatsLocalService
Returns:
the number of asset tag statses
Throws:
SystemException - if a system exception occurred

updateAssetTagStats

public AssetTagStats updateAssetTagStats(AssetTagStats assetTagStats)
                                  throws SystemException
Updates the asset tag stats in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAssetTagStats in interface AssetTagStatsLocalService
Parameters:
assetTagStats - the asset tag stats
Returns:
the asset tag stats that was updated
Throws:
SystemException - if a system exception occurred

updateAssetTagStats

public AssetTagStats updateAssetTagStats(AssetTagStats assetTagStats,
                                         boolean merge)
                                  throws SystemException
Updates the asset tag stats in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAssetTagStats in interface AssetTagStatsLocalService
Parameters:
assetTagStats - the asset tag stats
merge - whether to merge the asset tag stats with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the asset tag stats that was updated
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface AssetTagStatsLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface AssetTagStatsLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addTagStats

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

Specified by:
addTagStats in interface AssetTagStatsLocalService
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.

Specified by:
deleteTagStats in interface AssetTagStatsLocalService
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.

Specified by:
deleteTagStats in interface AssetTagStatsLocalService
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.

Specified by:
deleteTagStatsByClassNameId in interface AssetTagStatsLocalService
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.

Specified by:
deleteTagStatsByTagId in interface AssetTagStatsLocalService
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.

Specified by:
getTagStats in interface AssetTagStatsLocalService
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

Specified by:
getTagStats in interface AssetTagStatsLocalService
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.

Specified by:
updateTagStats in interface AssetTagStatsLocalService
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

getWrappedAssetTagStatsLocalService

public AssetTagStatsLocalService getWrappedAssetTagStatsLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedAssetTagStatsLocalService

public void setWrappedAssetTagStatsLocalService(AssetTagStatsLocalService assetTagStatsLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.asset.service.AssetTagStatsLocalService)


getWrappedService

public AssetTagStatsLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<AssetTagStatsLocalService>

setWrappedService

public void setWrappedService(AssetTagStatsLocalService assetTagStatsLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<AssetTagStatsLocalService>

Liferay 6.1.2-ce-ga3