com.liferay.asset.tag.stats.service.impl.AssetTagStatsLocalServiceImpl
@Deprecated
public class AssetTagStatsLocalServiceUtil
extends Object
com.liferay.portlet.asset.service.impl.AssetTagStatsLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.AssetTagStatsLocalService
Constructor and Description |
---|
AssetTagStatsLocalServiceUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AssetTagStats |
addAssetTagStats(AssetTagStats assetTagStats)
Deprecated.
Adds the asset tag stats to the database.
|
static AssetTagStats |
addTagStats(long tagId,
long classNameId)
Deprecated.
Adds an asset tag statistics instance.
|
static AssetTagStats |
createAssetTagStats(long tagStatsId)
Deprecated.
Creates a new asset tag stats with the primary key.
|
static AssetTagStats |
deleteAssetTagStats(AssetTagStats assetTagStats)
Deprecated.
Deletes the asset tag stats from the database.
|
static AssetTagStats |
deleteAssetTagStats(long tagStatsId)
Deprecated.
Deletes the asset tag stats with the primary key from the database.
|
static PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
Deprecated.
|
static void |
deleteTagStats(AssetTagStats tagStats)
Deprecated.
Deletes the asset tag statistics instance.
|
static void |
deleteTagStats(long tagStatsId)
Deprecated.
Deletes the asset tag statistics instance matching the tag statistics ID.
|
static void |
deleteTagStatsByClassNameId(long classNameId)
Deprecated.
Deletes all asset tag statistics instances associated with the asset
entry matching the class name ID.
|
static void |
deleteTagStatsByTagId(long tagId)
Deprecated.
Deletes all asset tag statistics instances associated with the tag.
|
static DynamicQuery |
dynamicQuery()
Deprecated.
|
static <T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Deprecated.
Performs a dynamic query on the database and returns the matching rows.
|
static <T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Deprecated.
Performs a dynamic query on the database and returns a range of the matching rows.
|
static <T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Deprecated.
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Deprecated.
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Deprecated.
Returns the number of rows matching the dynamic query.
|
static AssetTagStats |
fetchAssetTagStats(long tagStatsId)
Deprecated.
|
static ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated.
|
static AssetTagStats |
getAssetTagStats(long tagStatsId)
Deprecated.
Returns the asset tag stats with the primary key.
|
static List<AssetTagStats> |
getAssetTagStatses(int start,
int end)
Deprecated.
Returns a range of all the asset tag statses.
|
static int |
getAssetTagStatsesCount()
Deprecated.
Returns the number of asset tag statses.
|
static IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated.
|
static String |
getOSGiServiceIdentifier()
Deprecated.
Returns the OSGi service identifier.
|
static PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
static AssetTagStatsLocalService |
getService()
Deprecated.
|
static List<AssetTagStats> |
getTagStats(long classNameId,
int start,
int end)
Deprecated.
Returns a range of all the asset tag statistics instances associated with
the asset entry matching the class name ID.
|
static AssetTagStats |
getTagStats(long tagId,
long classNameId)
Deprecated.
Returns the asset tag statistics instance with the tag and asset entry
matching the class name ID
|
static AssetTagStats |
updateAssetTagStats(AssetTagStats assetTagStats)
Deprecated.
Updates the asset tag stats in the database or adds it if it does not yet exist.
|
static AssetTagStats |
updateTagStats(long tagId,
long classNameId)
Deprecated.
Updates the asset tag statistics instance.
|
public static AssetTagStats addAssetTagStats(AssetTagStats assetTagStats)
assetTagStats
- the asset tag statspublic static AssetTagStats addTagStats(long tagId, long classNameId)
tagId
- the primary key of the tagclassNameId
- the asset entry's class name IDpublic static AssetTagStats createAssetTagStats(long tagStatsId)
tagStatsId
- the primary key for the new asset tag statspublic static AssetTagStats deleteAssetTagStats(AssetTagStats assetTagStats)
assetTagStats
- the asset tag statspublic static AssetTagStats deleteAssetTagStats(long tagStatsId) throws PortalException
tagStatsId
- the primary key of the asset tag statsPortalException
- if a asset tag stats with the primary key could not be foundpublic static PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
PortalException
public static void deleteTagStats(AssetTagStats tagStats)
tagStats
- the asset tag statistics instancepublic static void deleteTagStats(long tagStatsId) throws PortalException
tagStatsId
- the primary key of the asset tag statistics instancePortalException
public static void deleteTagStatsByClassNameId(long classNameId)
classNameId
- the asset entry's class name IDpublic static void deleteTagStatsByTagId(long tagId)
tagId
- the primary key of the tagpublic static DynamicQuery dynamicQuery()
public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, 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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic static AssetTagStats fetchAssetTagStats(long tagStatsId)
public static ActionableDynamicQuery getActionableDynamicQuery()
public static AssetTagStats getAssetTagStats(long tagStatsId) throws PortalException
tagStatsId
- the primary key of the asset tag statsPortalException
- if a asset tag stats with the primary key could not be foundpublic static List<AssetTagStats> getAssetTagStatses(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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl
.
start
- the lower bound of the range of asset tag statsesend
- the upper bound of the range of asset tag statses (not inclusive)public static int getAssetTagStatsesCount()
public static IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static String getOSGiServiceIdentifier()
public static PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
PortalException
public static 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 static AssetTagStats getTagStats(long tagId, long classNameId)
tagId
- the primary key of the tagclassNameId
- the asset entry's class name IDpublic static AssetTagStats updateAssetTagStats(AssetTagStats assetTagStats)
assetTagStats
- the asset tag statspublic static AssetTagStats updateTagStats(long tagId, long classNameId) throws PortalException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name IDPortalException
public static AssetTagStatsLocalService getService()