|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.service.AssetTagStatsLocalServiceUtil
@ProviderType public class AssetTagStatsLocalServiceUtil
Provides the local service utility for AssetTagStats. This utility wraps
AssetTagStatsLocalServiceImpl and is the
primary 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,
AssetTagStatsLocalServiceBaseImpl,
AssetTagStatsLocalServiceImpl| Constructor Summary | |
|---|---|
AssetTagStatsLocalServiceUtil()
|
|
| Method Summary | ||
|---|---|---|
static AssetTagStats |
addAssetTagStats(AssetTagStats assetTagStats)
Adds the asset tag stats to the database. |
|
static AssetTagStats |
addTagStats(long tagId,
long classNameId)
Adds an asset tag statistics instance. |
|
static AssetTagStats |
createAssetTagStats(long tagStatsId)
Creates a new asset tag stats with the primary key. |
|
static AssetTagStats |
deleteAssetTagStats(AssetTagStats assetTagStats)
Deletes the asset tag stats from the database. |
|
static AssetTagStats |
deleteAssetTagStats(long tagStatsId)
Deletes the asset tag stats with the primary key from the database. |
|
static PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
static void |
deleteTagStats(AssetTagStats tagStats)
Deletes the asset tag statistics instance. |
|
static void |
deleteTagStats(long tagStatsId)
Deletes the asset tag statistics instance matching the tag statistics ID. |
|
static void |
deleteTagStatsByClassNameId(long classNameId)
Deletes all asset tag statistics instances associated with the asset entry matching the class name ID. |
|
static void |
deleteTagStatsByTagId(long tagId)
Deletes all asset tag statistics instances associated with the tag. |
|
static DynamicQuery |
dynamicQuery()
|
|
static
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
static
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
static
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
static AssetTagStats |
fetchAssetTagStats(long tagStatsId)
|
|
static ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
static AssetTagStats |
getAssetTagStats(long tagStatsId)
Returns the asset tag stats with the primary key. |
|
static List<AssetTagStats> |
getAssetTagStatses(int start,
int end)
Returns a range of all the asset tag statses. |
|
static int |
getAssetTagStatsesCount()
Returns the number of asset tag statses. |
|
static IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
static PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
static AssetTagStatsLocalService |
getService()
|
|
static 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. |
|
static AssetTagStats |
getTagStats(long tagId,
long classNameId)
Returns the asset tag statistics instance with the tag and asset entry matching the class name ID |
|
static AssetTagStats |
updateAssetTagStats(AssetTagStats assetTagStats)
Updates the asset tag stats in the database or adds it if it does not yet exist. |
|
static 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 |
|---|
public AssetTagStatsLocalServiceUtil()
| Method Detail |
|---|
public static AssetTagStats addAssetTagStats(AssetTagStats assetTagStats)
assetTagStats - the asset tag stats
public static AssetTagStats addTagStats(long tagId,
long classNameId)
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
public static AssetTagStats createAssetTagStats(long tagStatsId)
tagStatsId - the primary key for the new asset tag stats
public static AssetTagStats deleteAssetTagStats(AssetTagStats assetTagStats)
assetTagStats - the asset tag stats
public static AssetTagStats deleteAssetTagStats(long tagStatsId)
throws PortalException
tagStatsId - the primary key of the asset tag stats
PortalException - if a asset tag stats with the primary key could not be found
public static PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
PortalExceptionpublic static void deleteTagStats(AssetTagStats tagStats)
tagStats - the asset tag statistics instance
public static void deleteTagStats(long tagStatsId)
throws PortalException
tagStatsId - the primary key of the asset tag statistics instance
PortalExceptionpublic 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 query
public 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 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 QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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)
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 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 QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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)
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery - the dynamic query
public static long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQuery - the dynamic queryprojection - the projection to apply to the query
public 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 stats
PortalException - if a asset tag stats with the primary key could not be found
public 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 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 QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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)
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 ID
public static AssetTagStats updateAssetTagStats(AssetTagStats assetTagStats)
assetTagStats - the asset tag stats
public static AssetTagStats updateTagStats(long tagId,
long classNameId)
throws PortalException
tagId - the primary key of the tagclassNameId - the asset entry's class name ID
PortalExceptionpublic static AssetTagStatsLocalService getService()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||