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.AssetEntryFinder
protected com.liferay.asset.kernel.service.AssetEntryLocalService
protected com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence
protected com.liferay.counter.kernel.service.CounterLocalService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.asset.kernel.model.AssetEntry
addAssetEntry
(com.liferay.asset.kernel.model.AssetEntry assetEntry) Adds the asset entry to the database.boolean
addAssetTagAssetEntries
(long tagId, long[] entryIds) boolean
addAssetTagAssetEntries
(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) boolean
addAssetTagAssetEntry
(long tagId, long entryId) boolean
addAssetTagAssetEntry
(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) void
void
clearAssetTagAssetEntries
(long tagId) com.liferay.asset.kernel.model.AssetEntry
createAssetEntry
(long entryId) Creates a new asset entry with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) com.liferay.asset.kernel.model.AssetEntry
deleteAssetEntry
(long entryId) Deletes the asset entry with the primary key from the database.com.liferay.asset.kernel.model.AssetEntry
deleteAssetEntry
(com.liferay.asset.kernel.model.AssetEntry assetEntry) Deletes the asset entry from the database.void
deleteAssetTagAssetEntries
(long tagId, long[] entryIds) void
deleteAssetTagAssetEntries
(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) void
deleteAssetTagAssetEntry
(long tagId, long entryId) void
deleteAssetTagAssetEntry
(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) void
destroy()
<T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.com.liferay.asset.kernel.model.AssetEntry
fetchAssetEntry
(long entryId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
List<com.liferay.asset.kernel.model.AssetEntry>
getAssetEntries
(int start, int end) Returns a range of all the asset entries.int
Returns the number of asset entries.com.liferay.asset.kernel.model.AssetEntry
getAssetEntry
(long entryId) Returns the asset entry with the primary key.com.liferay.asset.kernel.service.persistence.AssetEntryFinder
Returns the asset entry finder.com.liferay.asset.kernel.service.AssetEntryLocalService
Returns the asset entry local service.com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
Returns 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) int
getAssetTagAssetEntriesCount
(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.CounterLocalService
Returns 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.IndexableActionableDynamicQuery
Class<com.liferay.asset.kernel.model.AssetEntry>
protected String
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) boolean
hasAssetTagAssetEntries
(long tagId) boolean
hasAssetTagAssetEntry
(long tagId, long entryId) protected void
initActionableDynamicQuery
(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) protected void
Performs a SQL query.void
setAssetEntryFinder
(com.liferay.asset.kernel.service.persistence.AssetEntryFinder assetEntryFinder) Sets the asset entry finder.void
setAssetEntryLocalService
(com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) Sets the asset entry local service.void
setAssetEntryPersistence
(com.liferay.asset.kernel.service.persistence.AssetEntryPersistence assetEntryPersistence) Sets the asset entry persistence.void
setAssetTagAssetEntries
(long tagId, long[] entryIds) void
setCounterLocalService
(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.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.<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, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, validate
Methods 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:
addAssetEntry
in 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:
createAssetEntry
in 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:
deleteAssetEntry
in 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:
deleteAssetEntry
in 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:
dslQuery
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetEntryModelImpl
.- Specified by:
dynamicQuery
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetEntryModelImpl
.- Specified by:
dynamicQuery
in 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchAssetEntry
in 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:
getAssetEntry
in 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:
getActionableDynamicQuery
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in 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:
createPersistedModel
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
createPersistedModel
in 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:
deletePersistedModel
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
deletePersistedModel
in 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:
getBasePersistence
in 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:
getPersistedModel
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
getPersistedModel
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetEntryModelImpl
.- Specified by:
getAssetEntries
in 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:
getAssetEntriesCount
in 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:
updateAssetEntry
in 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:
addAssetTagAssetEntry
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
addAssetTagAssetEntry
public boolean addAssetTagAssetEntry(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) - Specified by:
addAssetTagAssetEntry
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
addAssetTagAssetEntries
public boolean addAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
addAssetTagAssetEntries
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
addAssetTagAssetEntries
public boolean addAssetTagAssetEntries(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) - Specified by:
addAssetTagAssetEntries
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
clearAssetTagAssetEntries
public void clearAssetTagAssetEntries(long tagId) - Specified by:
clearAssetTagAssetEntries
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntry
public void deleteAssetTagAssetEntry(long tagId, long entryId) - Specified by:
deleteAssetTagAssetEntry
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntry
public void deleteAssetTagAssetEntry(long tagId, com.liferay.asset.kernel.model.AssetEntry assetEntry) - Specified by:
deleteAssetTagAssetEntry
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntries
public void deleteAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
deleteAssetTagAssetEntries
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
deleteAssetTagAssetEntries
public void deleteAssetTagAssetEntries(long tagId, List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) - Specified by:
deleteAssetTagAssetEntries
in 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:
getAssetTagPrimaryKeys
in 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:
getAssetTagAssetEntries
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetTagAssetEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end) - Specified by:
getAssetTagAssetEntries
in 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:
getAssetTagAssetEntries
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
getAssetTagAssetEntriesCount
public int getAssetTagAssetEntriesCount(long tagId) - Specified by:
getAssetTagAssetEntriesCount
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
hasAssetTagAssetEntry
public boolean hasAssetTagAssetEntry(long tagId, long entryId) - Specified by:
hasAssetTagAssetEntry
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
hasAssetTagAssetEntries
public boolean hasAssetTagAssetEntries(long tagId) - Specified by:
hasAssetTagAssetEntries
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
-
setAssetTagAssetEntries
public void setAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
setAssetTagAssetEntries
in 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:
getOSGiServiceIdentifier
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
getOSGiServiceIdentifier
in 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:
getCTPersistence
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.asset.kernel.model.AssetEntry>
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
getModelClass
in 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:
updateWithUnsafeFunction
in interfacecom.liferay.asset.kernel.service.AssetEntryLocalService
- Specified by:
updateWithUnsafeFunction
in 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
-