com.liferay.asset.tag.stats.service.impl.AssetTagStatsLocalServiceImpl
@Deprecated @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetTagStatsLocalService extends BaseLocalService, PersistedModelLocalService
AssetTagStatsLocalServiceUtil
Modifier and Type | Method and Description |
---|---|
AssetTagStats |
addAssetTagStats(AssetTagStats assetTagStats)
Deprecated.
Adds the asset tag stats to the database.
|
AssetTagStats |
addTagStats(long tagId,
long classNameId)
Deprecated.
Adds an asset tag statistics instance.
|
AssetTagStats |
createAssetTagStats(long tagStatsId)
Deprecated.
Creates a new asset tag stats with the primary key.
|
AssetTagStats |
deleteAssetTagStats(AssetTagStats assetTagStats)
Deprecated.
Deletes the asset tag stats from the database.
|
AssetTagStats |
deleteAssetTagStats(long tagStatsId)
Deprecated.
Deletes the asset tag stats with the primary key from the database.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
Deprecated.
|
void |
deleteTagStats(AssetTagStats tagStats)
Deprecated.
Deletes the asset tag statistics instance.
|
void |
deleteTagStats(long tagStatsId)
Deprecated.
Deletes the asset tag statistics instance matching the tag statistics ID.
|
void |
deleteTagStatsByClassNameId(long classNameId)
Deprecated.
Deletes all asset tag statistics instances associated with the asset
entry matching the class name ID.
|
void |
deleteTagStatsByTagId(long tagId)
Deprecated.
Deletes all asset tag statistics instances associated with the tag.
|
DynamicQuery |
dynamicQuery()
Deprecated.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Deprecated.
Performs a dynamic query on the database and returns the matching rows.
|
<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.
|
<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.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Deprecated.
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Deprecated.
Returns the number of rows matching the dynamic query.
|
AssetTagStats |
fetchAssetTagStats(long tagStatsId)
Deprecated.
|
ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated.
|
AssetTagStats |
getAssetTagStats(long tagStatsId)
Deprecated.
Returns the asset tag stats with the primary key.
|
List<AssetTagStats> |
getAssetTagStatses(int start,
int end)
Deprecated.
Returns a range of all the asset tag statses.
|
int |
getAssetTagStatsesCount()
Deprecated.
Returns the number of asset tag statses.
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated.
|
String |
getOSGiServiceIdentifier()
Deprecated.
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
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.
|
AssetTagStats |
getTagStats(long tagId,
long classNameId)
Deprecated.
Returns the asset tag statistics instance with the tag and asset entry
matching the class name ID
|
AssetTagStats |
updateAssetTagStats(AssetTagStats assetTagStats)
Deprecated.
Updates the asset tag stats in the database or adds it if it does not yet exist.
|
AssetTagStats |
updateTagStats(long tagId,
long classNameId)
Deprecated.
Updates the asset tag statistics instance.
|
@Indexable(type=REINDEX) AssetTagStats addAssetTagStats(AssetTagStats assetTagStats)
assetTagStats
- the asset tag statsAssetTagStats addTagStats(long tagId, long classNameId)
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID@Transactional(enabled=false) AssetTagStats createAssetTagStats(long tagStatsId)
tagStatsId
- the primary key for the new asset tag stats@Indexable(type=DELETE) AssetTagStats deleteAssetTagStats(AssetTagStats assetTagStats)
assetTagStats
- the asset tag stats@Indexable(type=DELETE) 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 foundPersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface PersistedModelLocalService
PortalException
void deleteTagStats(AssetTagStats tagStats)
tagStats
- the asset tag statistics instancevoid deleteTagStats(long tagStatsId) throws PortalException
tagStatsId
- the primary key of the asset tag statistics instancePortalException
void deleteTagStatsByClassNameId(long classNameId)
classNameId
- the asset entry's class name IDvoid deleteTagStatsByTagId(long tagId)
tagId
- the primary key of the tag@Transactional(propagation=SUPPORTS, readOnly=true) DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) <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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) <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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) AssetTagStats fetchAssetTagStats(long tagStatsId)
@Transactional(propagation=SUPPORTS, readOnly=true) ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) 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 found@Transactional(propagation=SUPPORTS, readOnly=true) 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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetTagStatsModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of asset tag statsesend
- the upper bound of the range of asset tag statses (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) int getAssetTagStatsesCount()
@Transactional(propagation=SUPPORTS, readOnly=true) IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface PersistedModelLocalService
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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)@Transactional(propagation=SUPPORTS, readOnly=true) AssetTagStats getTagStats(long tagId, long classNameId)
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID@Indexable(type=REINDEX) AssetTagStats updateAssetTagStats(AssetTagStats assetTagStats)
assetTagStats
- the asset tag statsAssetTagStats updateTagStats(long tagId, long classNameId) throws PortalException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name IDPortalException