@CTAware @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetEntryLocalService extends BaseLocalService, CTService<AssetEntry>, PersistedModelLocalService
AssetEntryLocalServiceUtil
Modifier and Type | Method and Description |
---|---|
AssetEntry |
addAssetEntry(AssetEntry assetEntry)
Adds the asset entry to the database.
|
void |
addAssetTagAssetEntries(long tagId,
List<AssetEntry> assetEntries) |
void |
addAssetTagAssetEntries(long tagId,
long[] entryIds) |
void |
addAssetTagAssetEntry(long tagId,
AssetEntry assetEntry) |
void |
addAssetTagAssetEntry(long tagId,
long entryId) |
void |
clearAssetTagAssetEntries(long tagId) |
AssetEntry |
createAssetEntry(long entryId)
Creates a new asset entry with the primary key.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
AssetEntry |
deleteAssetEntry(AssetEntry assetEntry)
Deletes the asset entry from the database.
|
AssetEntry |
deleteAssetEntry(long entryId)
Deletes the asset entry with the primary key from the database.
|
void |
deleteAssetTagAssetEntries(long tagId,
List<AssetEntry> assetEntries) |
void |
deleteAssetTagAssetEntries(long tagId,
long[] entryIds) |
void |
deleteAssetTagAssetEntry(long tagId,
AssetEntry assetEntry) |
void |
deleteAssetTagAssetEntry(long tagId,
long entryId) |
void |
deleteEntry(AssetEntry entry) |
void |
deleteEntry(long entryId) |
void |
deleteEntry(String className,
long classPK) |
void |
deleteGroupEntries(long groupId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<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.
|
AssetEntry |
fetchAssetEntry(long entryId) |
AssetEntry |
fetchEntry(long entryId) |
AssetEntry |
fetchEntry(long classNameId,
long classPK) |
AssetEntry |
fetchEntry(long groupId,
String classUuid) |
AssetEntry |
fetchEntry(String className,
long classPK) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
List<AssetEntry> |
getAncestorEntries(long entryId) |
List<AssetEntry> |
getAssetEntries(int start,
int end)
Returns a range of all the asset entries.
|
int |
getAssetEntriesCount()
Returns the number of asset entries.
|
AssetEntry |
getAssetEntry(long entryId)
Returns the asset entry with the primary key.
|
List<AssetEntry> |
getAssetTagAssetEntries(long tagId) |
List<AssetEntry> |
getAssetTagAssetEntries(long tagId,
int start,
int end) |
List<AssetEntry> |
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.
|
List<AssetEntry> |
getChildEntries(long entryId) |
List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end) |
int |
getCompanyEntriesCount(long companyId) |
CTPersistence<AssetEntry> |
getCTPersistence() |
List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery) |
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) |
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) |
int |
getEntriesCount(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) |
AssetEntry |
getEntry(long entryId) |
AssetEntry |
getEntry(long groupId,
String classUuid) |
AssetEntry |
getEntry(String className,
long classPK) |
double |
getEntryPriority(long classNameId,
long classPK) |
double |
getEntryPriority(String className,
long classPK) |
List<AssetEntry> |
getGroupEntries(long groupId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
Class<AssetEntry> |
getModelClass() |
AssetEntry |
getNextEntry(long entryId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
AssetEntry |
getParentEntry(long entryId) |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
AssetEntry |
getPreviousEntry(long entryId) |
List<AssetEntry> |
getTopViewedEntries(String[] className,
boolean asc,
int start,
int end) |
List<AssetEntry> |
getTopViewedEntries(String className,
boolean asc,
int start,
int end) |
boolean |
hasAssetTagAssetEntries(long tagId) |
boolean |
hasAssetTagAssetEntry(long tagId,
long entryId) |
void |
incrementViewCounter(long userId,
AssetEntry assetEntry) |
AssetEntry |
incrementViewCounter(long companyId,
long userId,
String className,
long classPK) |
void |
incrementViewCounter(long companyId,
long userId,
String className,
long classPK,
int increment) |
void |
reindex(List<AssetEntry> entries) |
Hits |
search(long companyId,
long[] groupIds,
long userId,
long[] classNameIds,
long classTypeId,
String keywords,
boolean showNonindexable,
int[] statuses,
int start,
int end,
Sort sort) |
Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int[] statuses,
int start,
int end) |
Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int[] statuses,
int start,
int end,
Sort sort) |
Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int status,
int start,
int end) |
Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
int status,
int start,
int end) |
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) |
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) |
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) |
Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
String keywords,
int status,
int start,
int end) |
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) |
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) |
AssetEntry |
updateAssetEntry(AssetEntry assetEntry)
Updates the asset entry in the database or adds it if it does not yet exist.
|
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) |
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) |
AssetEntry |
updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames) |
AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
Date expirationDate,
boolean listable,
boolean visible) |
AssetEntry |
updateVisible(AssetEntry entry,
boolean visible) |
AssetEntry |
updateVisible(String className,
long classPK,
boolean visible) |
<R,E extends Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetEntry>,R,E> updateUnsafeFunction) |
void |
validate(long groupId,
String className,
long classTypePK,
long[] categoryIds,
String[] tagNames) |
void |
validate(long groupId,
String className,
long classPK,
long classTypePK,
long[] categoryIds,
String[] tagNames) |
getBasePersistence
@Indexable(type=REINDEX) AssetEntry addAssetEntry(AssetEntry assetEntry)
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.
assetEntry
- the asset entryvoid addAssetTagAssetEntries(long tagId, List<AssetEntry> assetEntries)
void addAssetTagAssetEntries(long tagId, long[] entryIds)
void addAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
void addAssetTagAssetEntry(long tagId, long entryId)
void clearAssetTagAssetEntries(long tagId)
@Transactional(enabled=false) AssetEntry createAssetEntry(long entryId)
entryId
- the primary key for the new asset entryPersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel
in interface PersistedModelLocalService
PortalException
@Indexable(type=DELETE) AssetEntry deleteAssetEntry(AssetEntry assetEntry)
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.
assetEntry
- the asset entry@Indexable(type=DELETE) AssetEntry deleteAssetEntry(long entryId) throws PortalException
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.
entryId
- the primary key of the asset entryPortalException
- if a asset entry with the primary key could not be foundvoid deleteAssetTagAssetEntries(long tagId, List<AssetEntry> assetEntries)
void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
void deleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
void deleteAssetTagAssetEntry(long tagId, long entryId)
@SystemEvent(type=1) void deleteEntry(AssetEntry entry) throws PortalException
PortalException
void deleteEntry(long entryId) throws PortalException
PortalException
void deleteEntry(String className, long classPK) throws PortalException
PortalException
void deleteGroupEntries(long groupId) throws PortalException
PortalException
PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface PersistedModelLocalService
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface PersistedModelLocalService
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface PersistedModelLocalService
@Transactional(propagation=SUPPORTS, readOnly=true) DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchAssetEntry(long entryId)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long entryId)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long classNameId, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long groupId, String classUuid)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(String className, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAncestorEntries(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetEntries(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.asset.model.impl.AssetEntryModelImpl
.
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) int getAssetEntriesCount()
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getAssetEntry(long entryId) throws PortalException
entryId
- the primary key of the asset entryPortalException
- if a asset entry with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetTagAssetEntries(long tagId)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getAssetTagAssetEntriesCount(long tagId)
@Transactional(propagation=SUPPORTS, readOnly=true) long[] getAssetTagPrimaryKeys(long entryId)
entryId
- the entryId of the asset entry@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getChildEntries(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyEntriesCount(long companyId)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(AssetEntryQuery entryQuery)
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(long[] groupIds, long[] classNameIds, long[] classTypeIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(long[] groupIds, long[] classNameIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(long groupId, String classUuid) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(String className, long classPK) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) double getEntryPriority(long classNameId, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) double getEntryPriority(String className, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getGroupEntries(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getNextEntry(long entryId) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getParentEntry(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface PersistedModelLocalService
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getPreviousEntry(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getTopViewedEntries(String className, boolean asc, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getTopViewedEntries(String[] className, boolean asc, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasAssetTagAssetEntries(long tagId)
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasAssetTagAssetEntry(long tagId, long entryId)
void incrementViewCounter(long userId, AssetEntry assetEntry) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry incrementViewCounter(long companyId, long userId, String className, long classPK) throws PortalException
PortalException
@Transactional(enabled=false) void incrementViewCounter(long companyId, long userId, String className, long classPK, int increment)
@Transactional(propagation=SUPPORTS, readOnly=true) void reindex(List<AssetEntry> entries) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end, Sort sort)
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end, Sort sort)
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, long userId, String className, String keywords, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) long searchCount(long companyId, long[] groupIds, long userId, long[] classNameIds, long classTypeId, String keywords, boolean showNonindexable, int[] statuses)
@Transactional(propagation=SUPPORTS, readOnly=true) long searchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Transactional(propagation=SUPPORTS, readOnly=true) 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)
@Indexable(type=REINDEX) AssetEntry updateAssetEntry(AssetEntry assetEntry)
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.
assetEntry
- the asset entryAssetEntry 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
PortalException
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
PortalException
AssetEntry updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames) throws PortalException
PortalException
AssetEntry updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean listable, boolean visible) throws PortalException
PortalException
AssetEntry updateVisible(AssetEntry entry, boolean visible) throws PortalException
PortalException
AssetEntry updateVisible(String className, long classPK, boolean visible) throws PortalException
PortalException
void validate(long groupId, String className, long classPK, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException
PortalException
void validate(long groupId, String className, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException
PortalException
@Transactional(enabled=false) CTPersistence<AssetEntry> getCTPersistence()
getCTPersistence
in interface CTService<AssetEntry>
@Transactional(enabled=false) Class<AssetEntry> getModelClass()
getModelClass
in interface CTService<AssetEntry>
@Transactional(rollbackFor=java.lang.Throwable.class) <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetEntry>,R,E> updateUnsafeFunction) throws E extends Throwable
updateWithUnsafeFunction
in interface CTService<AssetEntry>
E extends Throwable