Class AssetEntryLocalServiceWrapper
- All Implemented Interfaces:
AssetEntryLocalService,BaseLocalService,CTService<AssetEntry>,PersistedModelLocalService,ServiceWrapper<AssetEntryLocalService>
AssetEntryLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionAssetEntryLocalServiceWrapper(AssetEntryLocalService assetEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddAssetEntry(AssetEntry assetEntry) Adds the asset entry to the database.booleanaddAssetTagAssetEntries(long tagId, long[] entryIds) booleanaddAssetTagAssetEntries(long tagId, List<AssetEntry> assetEntries) booleanaddAssetTagAssetEntry(long tagId, long entryId) booleanaddAssetTagAssetEntry(long tagId, AssetEntry assetEntry) voidclearAssetTagAssetEntries(long tagId) createAssetEntry(long entryId) Creates a new asset entry with the primary key.createPersistedModel(Serializable primaryKeyObj) deleteAssetEntry(long entryId) Deletes the asset entry with the primary key from the database.deleteAssetEntry(AssetEntry assetEntry) Deletes the asset entry from the database.voiddeleteAssetTagAssetEntries(long tagId, long[] entryIds) voiddeleteAssetTagAssetEntries(long tagId, List<AssetEntry> assetEntries) voiddeleteAssetTagAssetEntry(long tagId, long entryId) voiddeleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry) voiddeleteEntries(long companyId, String className) deleteEntry(long entryId) deleteEntry(AssetEntry entry) deleteEntry(String className, long classPK) voiddeleteGroupEntries(long groupId) deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(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(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.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchAssetEntry(long entryId) fetchEntry(long entryId) fetchEntry(long classNameId, long classPK) fetchEntry(long groupId, String classUuid) fetchEntry(String className, long classPK) getAssetEntries(int start, int end) Returns a range of all the asset entries.intReturns the number of asset entries.getAssetEntry(long entryId) Returns the asset entry with the primary key.getAssetTagAssetEntries(long tagId) getAssetTagAssetEntries(long tagId, int start, int end) getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) intgetAssetTagAssetEntriesCount(long tagId) long[]getAssetTagPrimaryKeys(long entryId) Returns the tagIds of the asset tags associated with the asset entry.getCompanyEntries(long companyId, int start, int end) intgetCompanyEntriesCount(long companyId) getEntries(long[] groupIds, long[] classNameIds, long[] classTypeIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator, int start, int end, String orderByCol1, String orderByCol2, String orderByType1, String orderByType2) getEntries(long[] groupIds, long[] classNameIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator, int start, int end, String orderByCol1, String orderByCol2, String orderByType1, String orderByType2) getEntries(AssetEntryQuery entryQuery) intgetEntriesCount(long[] groupIds, long[] classNameIds, long[] classTypeIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator) intgetEntriesCount(long[] groupIds, long[] classNameIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator) intgetEntriesCount(AssetEntryQuery entryQuery) getEntry(long entryId) doublegetEntryPriority(long classNameId, long classPK) doublegetEntryPriority(String className, long classPK) getGroupEntries(long groupId) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) getTopViewedEntries(String[] className, boolean asc, int start, int end) getTopViewedEntries(String className, boolean asc, int start, int end) booleanhasAssetTagAssetEntries(long tagId) booleanhasAssetTagAssetEntry(long tagId, long entryId) incrementViewCounter(long companyId, long userId, String className, long classPK) voidincrementViewCounter(long companyId, long userId, String className, long classPK, int increment) voidincrementViewCounter(long userId, AssetEntry assetEntry) voidreindex(List<AssetEntry> entries) search(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end, Sort sort) search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end) search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end, Sort sort) search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int status, int start, int end) search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, int status, int start, int end) search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showNonindexable, int[] statuses, boolean andSearch, int start, int end) search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showNonindexable, int status, boolean andSearch, int start, int end) search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, int status, boolean andSearch, int start, int end) search(long companyId, long[] groupIds, long userId, String className, String keywords, int status, int start, int end) search(long companyId, long[] groupIds, long userId, String className, String userName, String title, String description, String assetCategoryIds, String assetTagNames, int status, boolean andSearch, int start, int end) longsearchCount(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) longsearchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) longsearchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, String assetCategoryIds, String assetTagNames, boolean showInvisible, boolean showNonindexable, int[] statuses, boolean andSearch) longsearchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showInvisible, boolean showNonindexable, int[] statuses, boolean andSearch) longsearchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showNonindexable, int[] statuses, boolean andSearch) voidsetAssetTagAssetEntries(long tagId, long[] entryIds) voidsetWrappedService(AssetEntryLocalService assetEntryLocalService) updateAssetEntry(AssetEntry assetEntry) Updates the asset entry in the database or adds it if it does not yet exist.updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames) updateEntry(long userId, long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean listable, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority) updateEntry(long userId, long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean listable, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority, ServiceContext serviceContext) updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean listable, boolean visible) updateVisible(AssetEntry entry, boolean visible) updateVisible(String className, long classPK, boolean visible) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetEntry>, R, E> updateUnsafeFunction) voidvoidvalidate(long groupId, String className, long classPK, long classTypePK, long[] categoryIds, String[] tagNames) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
AssetEntryLocalServiceWrapper
public AssetEntryLocalServiceWrapper() -
AssetEntryLocalServiceWrapper
-
-
Method Details
-
addAssetEntry
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 interfaceAssetEntryLocalService- Parameters:
assetEntry- the asset entry- Returns:
- the asset entry that was added
-
addAssetTagAssetEntries
- Specified by:
addAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
addAssetTagAssetEntries
public boolean addAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
addAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
addAssetTagAssetEntry
- Specified by:
addAssetTagAssetEntryin interfaceAssetEntryLocalService
-
addAssetTagAssetEntry
public boolean addAssetTagAssetEntry(long tagId, long entryId) - Specified by:
addAssetTagAssetEntryin interfaceAssetEntryLocalService
-
clearAssetTagAssetEntries
public void clearAssetTagAssetEntries(long tagId) - Specified by:
clearAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
createAssetEntry
Creates a new asset entry with the primary key. Does not add the asset entry to the database.- Specified by:
createAssetEntryin interfaceAssetEntryLocalService- Parameters:
entryId- the primary key for the new asset entry- Returns:
- the new asset entry
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceAssetEntryLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteAssetEntry
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 interfaceAssetEntryLocalService- Parameters:
assetEntry- the asset entry- Returns:
- the asset entry that was removed
-
deleteAssetEntry
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 interfaceAssetEntryLocalService- Parameters:
entryId- the primary key of the asset entry- Returns:
- the asset entry that was removed
- Throws:
PortalException- if a asset entry with the primary key could not be foundPortalException
-
deleteAssetTagAssetEntries
- Specified by:
deleteAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
deleteAssetTagAssetEntries
public void deleteAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
deleteAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
deleteAssetTagAssetEntry
- Specified by:
deleteAssetTagAssetEntryin interfaceAssetEntryLocalService
-
deleteAssetTagAssetEntry
public void deleteAssetTagAssetEntry(long tagId, long entryId) - Specified by:
deleteAssetTagAssetEntryin interfaceAssetEntryLocalService
-
deleteEntries
- Specified by:
deleteEntriesin interfaceAssetEntryLocalService- Throws:
PortalException
-
deleteEntry
- Specified by:
deleteEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
deleteEntry
- Specified by:
deleteEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
deleteEntry
- Specified by:
deleteEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
deleteGroupEntries
- Specified by:
deleteGroupEntriesin interfaceAssetEntryLocalService- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceAssetEntryLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceAssetEntryLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceAssetEntryLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceAssetEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceAssetEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
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 interfaceAssetEntryLocalService- 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(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.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 interfaceAssetEntryLocalService- 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
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceAssetEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceAssetEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAssetEntry
- Specified by:
fetchAssetEntryin interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntryin interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntryin interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntryin interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntryin interfaceAssetEntryLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceAssetEntryLocalService
-
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 interfaceAssetEntryLocalService- 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 interfaceAssetEntryLocalService- Returns:
- the number of asset entries
-
getAssetEntry
Returns the asset entry with the primary key.- Specified by:
getAssetEntryin interfaceAssetEntryLocalService- Parameters:
entryId- the primary key of the asset entry- Returns:
- the asset entry
- Throws:
PortalException- if a asset entry with the primary key could not be foundPortalException
-
getAssetTagAssetEntries
- Specified by:
getAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
getAssetTagAssetEntries
- Specified by:
getAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
getAssetTagAssetEntries
public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) - Specified by:
getAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
getAssetTagAssetEntriesCount
public int getAssetTagAssetEntriesCount(long tagId) - Specified by:
getAssetTagAssetEntriesCountin interfaceAssetEntryLocalService
-
getAssetTagPrimaryKeys
public long[] getAssetTagPrimaryKeys(long entryId) Returns the tagIds of the asset tags associated with the asset entry.- Specified by:
getAssetTagPrimaryKeysin interfaceAssetEntryLocalService- Parameters:
entryId- the entryId of the asset entry- Returns:
- long[] the tagIds of asset tags associated with the asset entry
-
getCompanyEntries
- Specified by:
getCompanyEntriesin interfaceAssetEntryLocalService
-
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId) - Specified by:
getCompanyEntriesCountin interfaceAssetEntryLocalService
-
getEntries
- Specified by:
getEntriesin interfaceAssetEntryLocalService
-
getEntries
public List<AssetEntry> getEntries(long[] groupIds, long[] classNameIds, long[] classTypeIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator, int start, int end, String orderByCol1, String orderByCol2, String orderByType1, String orderByType2) - Specified by:
getEntriesin interfaceAssetEntryLocalService
-
getEntries
public List<AssetEntry> getEntries(long[] groupIds, long[] classNameIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator, int start, int end, String orderByCol1, String orderByCol2, String orderByType1, String orderByType2) - Specified by:
getEntriesin interfaceAssetEntryLocalService
-
getEntriesCount
- Specified by:
getEntriesCountin interfaceAssetEntryLocalService
-
getEntriesCount
public int getEntriesCount(long[] groupIds, long[] classNameIds, long[] classTypeIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator) - Specified by:
getEntriesCountin interfaceAssetEntryLocalService
-
getEntriesCount
public int getEntriesCount(long[] groupIds, long[] classNameIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator) - Specified by:
getEntriesCountin interfaceAssetEntryLocalService
-
getEntry
- Specified by:
getEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
getEntry
- Specified by:
getEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
getEntry
- Specified by:
getEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
getEntryPriority
public double getEntryPriority(long classNameId, long classPK) - Specified by:
getEntryPriorityin interfaceAssetEntryLocalService
-
getEntryPriority
- Specified by:
getEntryPriorityin interfaceAssetEntryLocalService
-
getGroupEntries
- Specified by:
getGroupEntriesin interfaceAssetEntryLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceAssetEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceAssetEntryLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceAssetEntryLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
getTopViewedEntries
- Specified by:
getTopViewedEntriesin interfaceAssetEntryLocalService
-
getTopViewedEntries
- Specified by:
getTopViewedEntriesin interfaceAssetEntryLocalService
-
hasAssetTagAssetEntries
public boolean hasAssetTagAssetEntries(long tagId) - Specified by:
hasAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
hasAssetTagAssetEntry
public boolean hasAssetTagAssetEntry(long tagId, long entryId) - Specified by:
hasAssetTagAssetEntryin interfaceAssetEntryLocalService
-
incrementViewCounter
- Specified by:
incrementViewCounterin interfaceAssetEntryLocalService- Throws:
PortalException
-
incrementViewCounter
public AssetEntry incrementViewCounter(long companyId, long userId, String className, long classPK) throws PortalException - Specified by:
incrementViewCounterin interfaceAssetEntryLocalService- Throws:
PortalException
-
incrementViewCounter
public void incrementViewCounter(long companyId, long userId, String className, long classPK, int increment) - Specified by:
incrementViewCounterin interfaceAssetEntryLocalService
-
reindex
- Specified by:
reindexin interfaceAssetEntryLocalService- Throws:
PortalException
-
search
public Hits search(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end, Sort sort) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int status, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end, Sort sort) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, int status, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showNonindexable, int status, boolean andSearch, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showNonindexable, int[] statuses, boolean andSearch, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, int status, boolean andSearch, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, String keywords, int status, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, String userName, String title, String description, String assetCategoryIds, String assetTagNames, int status, boolean andSearch, int start, int end) - Specified by:
searchin interfaceAssetEntryLocalService
-
searchCount
public long searchCount(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) - Specified by:
searchCountin interfaceAssetEntryLocalService
-
searchCount
public long searchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) - Specified by:
searchCountin interfaceAssetEntryLocalService
-
searchCount
public long searchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, String assetCategoryIds, String assetTagNames, boolean showInvisible, boolean showNonindexable, int[] statuses, boolean andSearch) - Specified by:
searchCountin interfaceAssetEntryLocalService
-
searchCount
public long searchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showInvisible, boolean showNonindexable, int[] statuses, boolean andSearch) - Specified by:
searchCountin interfaceAssetEntryLocalService
-
searchCount
public long searchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean showNonindexable, int[] statuses, boolean andSearch) - Specified by:
searchCountin interfaceAssetEntryLocalService
-
setAssetTagAssetEntries
public void setAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
setAssetTagAssetEntriesin interfaceAssetEntryLocalService
-
updateAssetEntry
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 interfaceAssetEntryLocalService- Parameters:
assetEntry- the asset entry- Returns:
- the asset entry that was updated
-
updateEntry
public AssetEntry updateEntry(long userId, long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean listable, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority) throws PortalException - Specified by:
updateEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
updateEntry
public AssetEntry updateEntry(long userId, long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean listable, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority, ServiceContext serviceContext) throws PortalException - Specified by:
updateEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
updateEntry
public AssetEntry updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames) throws PortalException - Specified by:
updateEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
updateEntry
public AssetEntry updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean listable, boolean visible) throws PortalException - Specified by:
updateEntryin interfaceAssetEntryLocalService- Throws:
PortalException
-
updateVisible
- Specified by:
updateVisiblein interfaceAssetEntryLocalService- Throws:
PortalException
-
updateVisible
public AssetEntry updateVisible(String className, long classPK, boolean visible) throws PortalException - Specified by:
updateVisiblein interfaceAssetEntryLocalService- Throws:
PortalException
-
validate
public void validate(long groupId, String className, long classPK, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException - Specified by:
validatein interfaceAssetEntryLocalService- Throws:
PortalException
-
validate
public void validate(long groupId, String className, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException - Specified by:
validatein interfaceAssetEntryLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceAssetEntryLocalService- Specified by:
getCTPersistencein interfaceCTService<AssetEntry>
-
getModelClass
- Specified by:
getModelClassin interfaceAssetEntryLocalService- Specified by:
getModelClassin interfaceCTService<AssetEntry>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceAssetEntryLocalService- Specified by:
updateWithUnsafeFunctionin interfaceCTService<AssetEntry>- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<AssetEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<AssetEntryLocalService>
-