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.boolean
addAssetTagAssetEntries
(long tagId, long[] entryIds) boolean
addAssetTagAssetEntries
(long tagId, List<AssetEntry> assetEntries) boolean
addAssetTagAssetEntry
(long tagId, long entryId) boolean
addAssetTagAssetEntry
(long tagId, AssetEntry assetEntry) void
clearAssetTagAssetEntries
(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.void
deleteAssetTagAssetEntries
(long tagId, long[] entryIds) void
deleteAssetTagAssetEntries
(long tagId, List<AssetEntry> assetEntries) void
deleteAssetTagAssetEntry
(long tagId, long entryId) void
deleteAssetTagAssetEntry
(long tagId, AssetEntry assetEntry) void
deleteEntries
(long companyId, String className) deleteEntry
(long entryId) deleteEntry
(AssetEntry entry) deleteEntry
(String className, long classPK) void
deleteGroupEntries
(long groupId) deletePersistedModel
(PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(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.int
Returns 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) int
getAssetTagAssetEntriesCount
(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) int
getCompanyEntriesCount
(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) int
getEntriesCount
(long[] groupIds, long[] classNameIds, long[] classTypeIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator) int
getEntriesCount
(long[] groupIds, long[] classNameIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator) int
getEntriesCount
(AssetEntryQuery entryQuery) getEntry
(long entryId) double
getEntryPriority
(long classNameId, long classPK) double
getEntryPriority
(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) boolean
hasAssetTagAssetEntries
(long tagId) boolean
hasAssetTagAssetEntry
(long tagId, long entryId) incrementViewCounter
(long companyId, long userId, String className, long classPK) void
incrementViewCounter
(long companyId, long userId, String className, long classPK, int increment) void
incrementViewCounter
(long userId, AssetEntry assetEntry) void
reindex
(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) long
searchCount
(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) long
searchCount
(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) 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) 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) 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) void
setAssetTagAssetEntries
(long tagId, long[] entryIds) void
setWrappedService
(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) void
void
validate
(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, wait
Methods 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:
addAssetEntry
in interfaceAssetEntryLocalService
- Parameters:
assetEntry
- the asset entry- Returns:
- the asset entry that was added
-
addAssetTagAssetEntries
- Specified by:
addAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
addAssetTagAssetEntries
public boolean addAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
addAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
addAssetTagAssetEntry
- Specified by:
addAssetTagAssetEntry
in interfaceAssetEntryLocalService
-
addAssetTagAssetEntry
public boolean addAssetTagAssetEntry(long tagId, long entryId) - Specified by:
addAssetTagAssetEntry
in interfaceAssetEntryLocalService
-
clearAssetTagAssetEntries
public void clearAssetTagAssetEntries(long tagId) - Specified by:
clearAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
createAssetEntry
Creates a new asset entry with the primary key. Does not add the asset entry to the database.- Specified by:
createAssetEntry
in interfaceAssetEntryLocalService
- Parameters:
entryId
- the primary key for the new asset entry- Returns:
- the new asset entry
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceAssetEntryLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
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:
deleteAssetEntry
in 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:
deleteAssetEntry
in 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:
deleteAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
deleteAssetTagAssetEntries
public void deleteAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
deleteAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
deleteAssetTagAssetEntry
- Specified by:
deleteAssetTagAssetEntry
in interfaceAssetEntryLocalService
-
deleteAssetTagAssetEntry
public void deleteAssetTagAssetEntry(long tagId, long entryId) - Specified by:
deleteAssetTagAssetEntry
in interfaceAssetEntryLocalService
-
deleteEntries
- Specified by:
deleteEntries
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
deleteEntry
- Specified by:
deleteEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
deleteEntry
- Specified by:
deleteEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
deleteEntry
- Specified by:
deleteEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
deleteGroupEntries
- Specified by:
deleteGroupEntries
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceAssetEntryLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceAssetEntryLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceAssetEntryLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceAssetEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in 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 - 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 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 - 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 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:
dynamicQueryCount
in 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:
dynamicQueryCount
in 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:
fetchAssetEntry
in interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntry
in interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntry
in interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntry
in interfaceAssetEntryLocalService
-
fetchEntry
- Specified by:
fetchEntry
in interfaceAssetEntryLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceAssetEntryLocalService
-
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 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:
getAssetEntriesCount
in interfaceAssetEntryLocalService
- Returns:
- the number of asset entries
-
getAssetEntry
Returns the asset entry with the primary key.- Specified by:
getAssetEntry
in 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:
getAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
getAssetTagAssetEntries
- Specified by:
getAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
getAssetTagAssetEntries
public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator<AssetEntry> orderByComparator) - Specified by:
getAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
getAssetTagAssetEntriesCount
public int getAssetTagAssetEntriesCount(long tagId) - Specified by:
getAssetTagAssetEntriesCount
in interfaceAssetEntryLocalService
-
getAssetTagPrimaryKeys
public long[] getAssetTagPrimaryKeys(long entryId) Returns the tagIds of the asset tags associated with the asset entry.- Specified by:
getAssetTagPrimaryKeys
in interfaceAssetEntryLocalService
- Parameters:
entryId
- the entryId of the asset entry- Returns:
- long[] the tagIds of asset tags associated with the asset entry
-
getCompanyEntries
- Specified by:
getCompanyEntries
in interfaceAssetEntryLocalService
-
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId) - Specified by:
getCompanyEntriesCount
in interfaceAssetEntryLocalService
-
getEntries
- Specified by:
getEntries
in 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:
getEntries
in 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:
getEntries
in interfaceAssetEntryLocalService
-
getEntriesCount
- Specified by:
getEntriesCount
in 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:
getEntriesCount
in 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:
getEntriesCount
in interfaceAssetEntryLocalService
-
getEntry
- Specified by:
getEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
getEntry
- Specified by:
getEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
getEntry
- Specified by:
getEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
getEntryPriority
public double getEntryPriority(long classNameId, long classPK) - Specified by:
getEntryPriority
in interfaceAssetEntryLocalService
-
getEntryPriority
- Specified by:
getEntryPriority
in interfaceAssetEntryLocalService
-
getGroupEntries
- Specified by:
getGroupEntries
in interfaceAssetEntryLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceAssetEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAssetEntryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceAssetEntryLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
getTopViewedEntries
- Specified by:
getTopViewedEntries
in interfaceAssetEntryLocalService
-
getTopViewedEntries
- Specified by:
getTopViewedEntries
in interfaceAssetEntryLocalService
-
hasAssetTagAssetEntries
public boolean hasAssetTagAssetEntries(long tagId) - Specified by:
hasAssetTagAssetEntries
in interfaceAssetEntryLocalService
-
hasAssetTagAssetEntry
public boolean hasAssetTagAssetEntry(long tagId, long entryId) - Specified by:
hasAssetTagAssetEntry
in interfaceAssetEntryLocalService
-
incrementViewCounter
- Specified by:
incrementViewCounter
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
incrementViewCounter
public AssetEntry incrementViewCounter(long companyId, long userId, String className, long classPK) throws PortalException - Specified by:
incrementViewCounter
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
incrementViewCounter
public void incrementViewCounter(long companyId, long userId, String className, long classPK, int increment) - Specified by:
incrementViewCounter
in interfaceAssetEntryLocalService
-
reindex
- Specified by:
reindex
in 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:
search
in 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:
search
in 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:
search
in 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:
search
in 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:
search
in 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:
search
in 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:
search
in 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:
search
in interfaceAssetEntryLocalService
-
search
public Hits search(long companyId, long[] groupIds, long userId, String className, String keywords, int status, int start, int end) - Specified by:
search
in 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:
search
in interfaceAssetEntryLocalService
-
searchCount
public long searchCount(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) - Specified by:
searchCount
in interfaceAssetEntryLocalService
-
searchCount
public long searchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses) - Specified by:
searchCount
in 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:
searchCount
in 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:
searchCount
in 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:
searchCount
in interfaceAssetEntryLocalService
-
setAssetTagAssetEntries
public void setAssetTagAssetEntries(long tagId, long[] entryIds) - Specified by:
setAssetTagAssetEntries
in 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:
updateAssetEntry
in 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:
updateEntry
in 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:
updateEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
updateEntry
public AssetEntry updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames) throws PortalException - Specified by:
updateEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
updateEntry
public AssetEntry updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean listable, boolean visible) throws PortalException - Specified by:
updateEntry
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
updateVisible
- Specified by:
updateVisible
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
updateVisible
public AssetEntry updateVisible(String className, long classPK, boolean visible) throws PortalException - Specified by:
updateVisible
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
validate
public void validate(long groupId, String className, long classPK, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException - Specified by:
validate
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
validate
public void validate(long groupId, String className, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException - Specified by:
validate
in interfaceAssetEntryLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceAssetEntryLocalService
- Specified by:
getCTPersistence
in interfaceCTService<AssetEntry>
-
getModelClass
- Specified by:
getModelClass
in interfaceAssetEntryLocalService
- Specified by:
getModelClass
in interfaceCTService<AssetEntry>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceAssetEntryLocalService
- Specified by:
updateWithUnsafeFunction
in interfaceCTService<AssetEntry>
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<AssetEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<AssetEntryLocalService>
-