Class AssetEntryLocalServiceBaseImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.AssetEntryLocalService,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.asset.kernel.model.AssetEntry>,com.liferay.portal.kernel.service.PersistedModelLocalService
- Direct Known Subclasses:
AssetEntryLocalServiceImpl
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in AssetEntryLocalServiceImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.asset.kernel.service.persistence.AssetEntryFinderprotected com.liferay.asset.kernel.service.AssetEntryLocalServiceprotected com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceprotected com.liferay.asset.kernel.service.persistence.AssetTagPersistenceprotected com.liferay.counter.kernel.service.CounterLocalService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.asset.kernel.model.AssetEntryaddAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) Adds the asset entry to the database.booleanaddAssetTagAssetEntries(long tagId, long[] entryIds) booleanaddAssetTagAssetEntries(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) booleanaddAssetTagAssetEntry(long tagId, long entryId) booleanaddAssetTagAssetEntry(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) voidvoidclearAssetTagAssetEntries(long tagId) com.liferay.asset.kernel.model.AssetEntrycreateAssetEntry(long entryId) Creates a new asset entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) com.liferay.asset.kernel.model.AssetEntrydeleteAssetEntry(long entryId) Deletes the asset entry with the primary key from the database.com.liferay.asset.kernel.model.AssetEntrydeleteAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) Deletes the asset entry from the database.voiddeleteAssetTagAssetEntries(long tagId, long[] entryIds) voiddeleteAssetTagAssetEntries(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) voiddeleteAssetTagAssetEntry(long tagId, long entryId) voiddeleteAssetTagAssetEntry(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) voiddestroy()<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.com.liferay.asset.kernel.model.AssetEntryfetchAssetEntry(long entryId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQueryList<com.liferay.asset.kernel.model.AssetEntry>getAssetEntries(int start, int end) Returns a range of all the asset entries.intReturns the number of asset entries.com.liferay.asset.kernel.model.AssetEntrygetAssetEntry(long entryId) Returns the asset entry with the primary key.com.liferay.asset.kernel.service.persistence.AssetEntryFinderReturns the asset entry finder.com.liferay.asset.kernel.service.AssetEntryLocalServiceReturns the asset entry local service.com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceReturns the asset entry persistence.List<com.liferay.asset.kernel.model.AssetEntry>getAssetTagAssetEntries(long tagId) List<com.liferay.asset.kernel.model.AssetEntry>getAssetTagAssetEntries(long tagId, int start, int end) List<com.liferay.asset.kernel.model.AssetEntry>getAssetTagAssetEntries(long tagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) intgetAssetTagAssetEntriesCount(long tagId) long[]getAssetTagPrimaryKeys(long entryId) Returns the tagIds of the asset tags associated with the asset entry.com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>com.liferay.counter.kernel.service.CounterLocalServiceReturns the counter local service.com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryClass<com.liferay.asset.kernel.model.AssetEntry>protected StringReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) booleanhasAssetTagAssetEntries(long tagId) booleanhasAssetTagAssetEntry(long tagId, long entryId) protected voidinitActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) protected voidPerforms a SQL query.voidsetAssetEntryFinder(com.liferay.asset.kernel.service.persistence.AssetEntryFinder assetEntryFinder) Sets the asset entry finder.voidsetAssetEntryLocalService(com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) Sets the asset entry local service.voidsetAssetEntryPersistence(com.liferay.asset.kernel.service.persistence.AssetEntryPersistence assetEntryPersistence) Sets the asset entry persistence.voidsetAssetTagAssetEntries(long tagId, long[] entryIds) voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.com.liferay.asset.kernel.model.AssetEntryupdateAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) Updates the asset entry in the database or adds it if it does not yet exist.<R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>, R, E> updateUnsafeFunction) Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.asset.kernel.service.AssetEntryLocalService
deleteEntries, deleteEntry, deleteEntry, deleteEntry, deleteGroupEntries, fetchEntry, fetchEntry, fetchEntry, fetchEntry, getCompanyEntries, getCompanyEntriesCount, getEntries, getEntries, getEntries, getEntriesCount, getEntriesCount, getEntriesCount, getEntry, getEntry, getEntry, getEntryPriority, getEntryPriority, getGroupEntries, getTopViewedEntries, getTopViewedEntries, incrementViewCounter, incrementViewCounter, incrementViewCounter, reindex, search, search, search, search, search, search, search, search, search, search, searchCount, searchCount, searchCount, searchCount, searchCount, updateEntry, updateEntry, updateEntry, updateEntry, updateVisible, updateVisible, validate, validateMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Field Details
-
assetEntryLocalService
@BeanReference(type=com.liferay.asset.kernel.service.AssetEntryLocalService.class) protected com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService -
assetEntryPersistence
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetEntryPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetEntryPersistence assetEntryPersistence -
assetEntryFinder
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetEntryFinder.class) protected com.liferay.asset.kernel.service.persistence.AssetEntryFinder assetEntryFinder -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService -
assetTagPersistence
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetTagPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence
-
-
Constructor Details
-
AssetEntryLocalServiceBaseImpl
public AssetEntryLocalServiceBaseImpl()
-
-
Method Details
-
addAssetEntry
@Indexable(type=REINDEX) public com.liferay.asset.kernel.model.AssetEntry addAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) Adds the asset entry to the database. Also notifies the appropriate model listeners.Important: Inspect AssetEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
assetEntry- the asset entry- Returns:
- the asset entry that was added
-
createAssetEntry
@Transactional(enabled=false) public com.liferay.asset.kernel.model.AssetEntry createAssetEntry(long entryId) Creates a new asset entry with the primary key. Does not add the asset entry to the database.- Specified by:
createAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
entryId- the primary key for the new asset entry- Returns:
- the new asset entry
-
deleteAssetEntry
@Indexable(type=DELETE) public com.liferay.asset.kernel.model.AssetEntry deleteAssetEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect AssetEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
entryId- the primary key of the asset entry- Returns:
- the asset entry that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a asset entry with the primary key could not be found
-
deleteAssetEntry
@Indexable(type=DELETE) public com.liferay.asset.kernel.model.AssetEntry deleteAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) Deletes the asset entry from the database. Also notifies the appropriate model listeners.Important: Inspect AssetEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
assetEntry- the asset entry- Returns:
- the asset entry that was removed
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetEntryModelImpl.- Specified by:
dynamicQueryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetEntryModelImpl.- Specified by:
dynamicQueryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAssetEntry
public com.liferay.asset.kernel.model.AssetEntry fetchAssetEntry(long entryId) - Specified by:
fetchAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetEntry
public com.liferay.asset.kernel.model.AssetEntry getAssetEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException Returns the asset entry with the primary key.- Specified by:
getAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
entryId- the primary key of the asset entry- Returns:
- the asset entry
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a asset entry with the primary key could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
initActionableDynamicQuery
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) -
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAssetEntries
Returns a range of all the asset entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetEntryModelImpl.- Specified by:
getAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
start- the lower bound of the range of asset entriesend- the upper bound of the range of asset entries (not inclusive)- Returns:
- the range of asset entries
-
getAssetEntriesCount
public int getAssetEntriesCount()Returns the number of asset entries.- Specified by:
getAssetEntriesCountin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Returns:
- the number of asset entries
-
updateAssetEntry
@Indexable(type=REINDEX) public com.liferay.asset.kernel.model.AssetEntry updateAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect AssetEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
assetEntry- the asset entry- Returns:
- the asset entry that was updated
-
addAssetTagAssetEntry
public boolean addAssetTagAssetEntry(long tagId, long entryId) - Specified by:
addAssetTagAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
addAssetTagAssetEntry
public boolean addAssetTagAssetEntry(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) - Specified by:
addAssetTagAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
addAssetTagAssetEntries
public boolean addAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
addAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
addAssetTagAssetEntries
public boolean addAssetTagAssetEntries(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) - Specified by:
addAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
clearAssetTagAssetEntries
public void clearAssetTagAssetEntries(long tagId) - Specified by:
clearAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntry
public void deleteAssetTagAssetEntry(long tagId, long entryId) - Specified by:
deleteAssetTagAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntry
public void deleteAssetTagAssetEntry(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) - Specified by:
deleteAssetTagAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntries
public void deleteAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
deleteAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntries
public void deleteAssetTagAssetEntries(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) - Specified by:
deleteAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetTagPrimaryKeys
public long[] getAssetTagPrimaryKeys(long entryId) Returns the tagIds of the asset tags associated with the asset entry.- Specified by:
getAssetTagPrimaryKeysin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Parameters:
entryId- the entryId of the asset entry- Returns:
- long[] the tagIds of asset tags associated with the asset entry
-
getAssetTagAssetEntries
- Specified by:
getAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetTagAssetEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end) - Specified by:
getAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetTagAssetEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) - Specified by:
getAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetTagAssetEntriesCount
public int getAssetTagAssetEntriesCount(long tagId) - Specified by:
getAssetTagAssetEntriesCountin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
hasAssetTagAssetEntry
public boolean hasAssetTagAssetEntry(long tagId, long entryId) - Specified by:
hasAssetTagAssetEntryin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
hasAssetTagAssetEntries
public boolean hasAssetTagAssetEntries(long tagId) - Specified by:
hasAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
setAssetTagAssetEntries
public void setAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
setAssetTagAssetEntriesin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetEntryLocalService
public com.liferay.asset.kernel.service.AssetEntryLocalService getAssetEntryLocalService()Returns the asset entry local service.- Returns:
- the asset entry local service
-
setAssetEntryLocalService
public void setAssetEntryLocalService(com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) Sets the asset entry local service.- Parameters:
assetEntryLocalService- the asset entry local service
-
getAssetEntryPersistence
public com.liferay.asset.kernel.service.persistence.AssetEntryPersistence getAssetEntryPersistence()Returns the asset entry persistence.- Returns:
- the asset entry persistence
-
setAssetEntryPersistence
public void setAssetEntryPersistence(com.liferay.asset.kernel.service.persistence.AssetEntryPersistence assetEntryPersistence) Sets the asset entry persistence.- Parameters:
assetEntryPersistence- the asset entry persistence
-
getAssetEntryFinder
public com.liferay.asset.kernel.service.persistence.AssetEntryFinder getAssetEntryFinder()Returns the asset entry finder.- Returns:
- the asset entry finder
-
setAssetEntryFinder
public void setAssetEntryFinder(com.liferay.asset.kernel.service.persistence.AssetEntryFinder assetEntryFinder) Sets the asset entry finder.- Parameters:
assetEntryFinder- the asset entry finder
-
getCounterLocalService
public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()Returns the counter local service.- Returns:
- the counter local service
-
setCounterLocalService
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.- Parameters:
counterLocalService- the counter local service
-
afterPropertiesSet
public void afterPropertiesSet() -
destroy
public void destroy() -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Returns:
- the OSGi service identifier
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.asset.kernel.model.AssetEntry>
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.asset.kernel.model.AssetEntry>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.asset.kernel.service.AssetEntryLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.asset.kernel.model.AssetEntry>- Throws:
E extends Throwable
-
getModelClassName
-
runSQL
Performs a SQL query.- Parameters:
sql- the sql query
-