|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetTagStatsLocalService
The interface for the asset tag stats local service.
This is a local service. 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.
AssetTagStatsLocalServiceUtil
,
AssetTagStatsLocalServiceBaseImpl
,
AssetTagStatsLocalServiceImpl
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 |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
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. |
Method Detail |
---|
AssetTagStats addAssetTagStats(AssetTagStats assetTagStats) throws SystemException
assetTagStats
- the asset tag stats
SystemException
- if a system exception occurredAssetTagStats createAssetTagStats(long tagStatsId)
tagStatsId
- the primary key for the new asset tag stats
AssetTagStats deleteAssetTagStats(long tagStatsId) throws PortalException, SystemException
tagStatsId
- the primary key of the asset tag stats
PortalException
- if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurredAssetTagStats deleteAssetTagStats(AssetTagStats assetTagStats) throws SystemException
assetTagStats
- the asset tag stats
SystemException
- if a system exception occurredDynamicQuery dynamicQuery()
List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
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
)
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) AssetTagStats fetchAssetTagStats(long tagStatsId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetTagStats getAssetTagStats(long tagStatsId) throws PortalException, SystemException
tagStatsId
- the primary key of the asset tag stats
PortalException
- if a asset tag stats with the primary key could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetTagStats> getAssetTagStatses(int start, int end) throws SystemException
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.
start
- the lower bound of the range of asset tag statsesend
- the upper bound of the range of asset tag statses (not inclusive)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getAssetTagStatsesCount() throws SystemException
SystemException
- if a system exception occurredAssetTagStats updateAssetTagStats(AssetTagStats assetTagStats) throws SystemException
assetTagStats
- the asset tag stats
SystemException
- if a system exception occurredAssetTagStats updateAssetTagStats(AssetTagStats assetTagStats, boolean merge) throws SystemException
assetTagStats
- the asset tag statsmerge
- 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.
SystemException
- if a system exception occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanAssetTagStats addTagStats(long tagId, long classNameId) throws SystemException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID
SystemException
- if a system exception occurredvoid deleteTagStats(AssetTagStats tagStats) throws SystemException
tagStats
- the asset tag statistics instance
SystemException
- if a system exception occurredvoid deleteTagStats(long tagStatsId) throws PortalException, SystemException
tagStatsId
- the primary key of the asset tag statistics instance
PortalException
- if the assetTagStats with the primary key could
not be found
SystemException
- if a system exception occurredvoid deleteTagStatsByClassNameId(long classNameId) throws SystemException
classNameId
- the asset entry's class name ID
SystemException
- if a system exception occurredvoid deleteTagStatsByTagId(long tagId) throws SystemException
tagId
- the primary key of the tag
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetTagStats> getTagStats(long classNameId, int start, int end) throws SystemException
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)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) AssetTagStats getTagStats(long tagId, long classNameId) throws SystemException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID
SystemException
- if a system exception occurredAssetTagStats updateTagStats(long tagId, long classNameId) throws PortalException, SystemException
tagId
- the primary key of the tagclassNameId
- the asset entry's class name ID
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 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |