@ProviderType public class AssetEntryLocalServiceWrapper extends Object implements AssetEntryLocalService, ServiceWrapper<AssetEntryLocalService>
AssetEntryLocalService
.AssetEntryLocalService
Constructor and Description |
---|
AssetEntryLocalServiceWrapper(AssetEntryLocalService assetEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
void |
addAssetCategoryAssetEntries(long categoryId,
List<AssetEntry> assetEntries) |
void |
addAssetCategoryAssetEntries(long categoryId,
long[] entryIds) |
void |
addAssetCategoryAssetEntry(long categoryId,
AssetEntry assetEntry) |
void |
addAssetCategoryAssetEntry(long categoryId,
long entryId) |
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 |
clearAssetCategoryAssetEntries(long categoryId) |
void |
clearAssetTagAssetEntries(long tagId) |
AssetEntry |
createAssetEntry(long entryId)
Creates a new asset entry with the primary key.
|
void |
deleteAssetCategoryAssetEntries(long categoryId,
List<AssetEntry> assetEntries) |
void |
deleteAssetCategoryAssetEntries(long categoryId,
long[] entryIds) |
void |
deleteAssetCategoryAssetEntry(long categoryId,
AssetEntry assetEntry) |
void |
deleteAssetCategoryAssetEntry(long categoryId,
long entryId) |
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) |
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 groupId,
String classUuid) |
AssetEntry |
fetchEntry(String className,
long classPK) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
List<AssetEntry> |
getAncestorEntries(long entryId) |
List<AssetEntry> |
getAssetCategoryAssetEntries(long categoryId) |
List<AssetEntry> |
getAssetCategoryAssetEntries(long categoryId,
int start,
int end) |
List<AssetEntry> |
getAssetCategoryAssetEntries(long categoryId,
int start,
int end,
OrderByComparator<AssetEntry> orderByComparator) |
int |
getAssetCategoryAssetEntriesCount(long categoryId) |
long[] |
getAssetCategoryPrimaryKeys(long entryId)
Returns the categoryIds of the asset categories associated with the asset entry.
|
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) |
List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery) |
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,
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) |
List<AssetEntry> |
getGroupEntries(long groupId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
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) |
AssetEntryLocalService |
getWrappedService() |
boolean |
hasAssetCategoryAssetEntries(long categoryId) |
boolean |
hasAssetCategoryAssetEntry(long categoryId,
long entryId) |
boolean |
hasAssetTagAssetEntries(long tagId) |
boolean |
hasAssetTagAssetEntry(long tagId,
long entryId) |
void |
incrementViewCounter(long userId,
AssetEntry assetEntry) |
AssetEntry |
incrementViewCounter(long userId,
String className,
long classPK) |
void |
incrementViewCounter(long userId,
String className,
long classPK,
int increment) |
void |
reindex(List<AssetEntry> entries) |
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,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int[] statuses) |
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 |
setAssetCategoryAssetEntries(long categoryId,
long[] entryIds) |
void |
setAssetTagAssetEntries(long tagId,
long[] entryIds) |
void |
setWrappedService(AssetEntryLocalService assetEntryLocalService) |
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 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 visible,
Date startDate,
Date endDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
Deprecated.
|
AssetEntry |
updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames) |
AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
boolean visible)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateEntry(String, long, Date, Date, boolean, boolean) |
AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
Date expirationDate,
boolean visible)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateEntry(String, long, Date, Date, boolean, boolean) |
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) |
void |
validate(long groupId,
String className,
long[] categoryIds,
String[] tagNames)
Deprecated.
As of Wilberforce (7.0.x), replaced by
validate(long,
String, long, long[], String[]) |
void |
validate(long groupId,
String className,
long classTypePK,
long[] categoryIds,
String[] tagNames)
Deprecated.
As of Judson (7.1.x), replaced by
validate(long,
String, long, long, long[], String[]) |
void |
validate(long groupId,
String className,
long classPK,
long classTypePK,
long[] categoryIds,
String[] tagNames) |
public AssetEntryLocalServiceWrapper(AssetEntryLocalService assetEntryLocalService)
public void addAssetCategoryAssetEntries(long categoryId, List<AssetEntry> assetEntries)
addAssetCategoryAssetEntries
in interface AssetEntryLocalService
public void addAssetCategoryAssetEntries(long categoryId, long[] entryIds)
addAssetCategoryAssetEntries
in interface AssetEntryLocalService
public void addAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry)
addAssetCategoryAssetEntry
in interface AssetEntryLocalService
public void addAssetCategoryAssetEntry(long categoryId, long entryId)
addAssetCategoryAssetEntry
in interface AssetEntryLocalService
public AssetEntry addAssetEntry(AssetEntry assetEntry)
addAssetEntry
in interface AssetEntryLocalService
assetEntry
- the asset entrypublic void addAssetTagAssetEntries(long tagId, List<AssetEntry> assetEntries)
addAssetTagAssetEntries
in interface AssetEntryLocalService
public void addAssetTagAssetEntries(long tagId, long[] entryIds)
addAssetTagAssetEntries
in interface AssetEntryLocalService
public void addAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
addAssetTagAssetEntry
in interface AssetEntryLocalService
public void addAssetTagAssetEntry(long tagId, long entryId)
addAssetTagAssetEntry
in interface AssetEntryLocalService
public void clearAssetCategoryAssetEntries(long categoryId)
clearAssetCategoryAssetEntries
in interface AssetEntryLocalService
public void clearAssetTagAssetEntries(long tagId)
clearAssetTagAssetEntries
in interface AssetEntryLocalService
public AssetEntry createAssetEntry(long entryId)
createAssetEntry
in interface AssetEntryLocalService
entryId
- the primary key for the new asset entrypublic void deleteAssetCategoryAssetEntries(long categoryId, List<AssetEntry> assetEntries)
deleteAssetCategoryAssetEntries
in interface AssetEntryLocalService
public void deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds)
deleteAssetCategoryAssetEntries
in interface AssetEntryLocalService
public void deleteAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry)
deleteAssetCategoryAssetEntry
in interface AssetEntryLocalService
public void deleteAssetCategoryAssetEntry(long categoryId, long entryId)
deleteAssetCategoryAssetEntry
in interface AssetEntryLocalService
public AssetEntry deleteAssetEntry(AssetEntry assetEntry)
deleteAssetEntry
in interface AssetEntryLocalService
assetEntry
- the asset entrypublic AssetEntry deleteAssetEntry(long entryId) throws PortalException
deleteAssetEntry
in interface AssetEntryLocalService
entryId
- the primary key of the asset entryPortalException
- if a asset entry with the primary key could not be foundpublic void deleteAssetTagAssetEntries(long tagId, List<AssetEntry> assetEntries)
deleteAssetTagAssetEntries
in interface AssetEntryLocalService
public void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
deleteAssetTagAssetEntries
in interface AssetEntryLocalService
public void deleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
deleteAssetTagAssetEntry
in interface AssetEntryLocalService
public void deleteAssetTagAssetEntry(long tagId, long entryId)
deleteAssetTagAssetEntry
in interface AssetEntryLocalService
public void deleteEntry(AssetEntry entry) throws PortalException
deleteEntry
in interface AssetEntryLocalService
PortalException
public void deleteEntry(long entryId) throws PortalException
deleteEntry
in interface AssetEntryLocalService
PortalException
public void deleteEntry(String className, long classPK) throws PortalException
deleteEntry
in interface AssetEntryLocalService
PortalException
public void deleteGroupEntries(long groupId) throws PortalException
deleteGroupEntries
in interface AssetEntryLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface AssetEntryLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public DynamicQuery dynamicQuery()
dynamicQuery
in interface AssetEntryLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface AssetEntryLocalService
dynamicQuery
- the dynamic querypublic <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 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AssetEntryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <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 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AssetEntryLocalService
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
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface AssetEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface AssetEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic AssetEntry fetchAssetEntry(long entryId)
fetchAssetEntry
in interface AssetEntryLocalService
public AssetEntry fetchEntry(long entryId)
fetchEntry
in interface AssetEntryLocalService
public AssetEntry fetchEntry(long groupId, String classUuid)
fetchEntry
in interface AssetEntryLocalService
public AssetEntry fetchEntry(String className, long classPK)
fetchEntry
in interface AssetEntryLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface AssetEntryLocalService
public List<AssetEntry> getAncestorEntries(long entryId) throws PortalException
getAncestorEntries
in interface AssetEntryLocalService
PortalException
public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId)
getAssetCategoryAssetEntries
in interface AssetEntryLocalService
public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end)
getAssetCategoryAssetEntries
in interface AssetEntryLocalService
public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
getAssetCategoryAssetEntries
in interface AssetEntryLocalService
public int getAssetCategoryAssetEntriesCount(long categoryId)
getAssetCategoryAssetEntriesCount
in interface AssetEntryLocalService
public long[] getAssetCategoryPrimaryKeys(long entryId)
getAssetCategoryPrimaryKeys
in interface AssetEntryLocalService
entryId
- the entryId of the asset entrypublic 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 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetEntries
in interface AssetEntryLocalService
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public int getAssetEntriesCount()
getAssetEntriesCount
in interface AssetEntryLocalService
public AssetEntry getAssetEntry(long entryId) throws PortalException
getAssetEntry
in interface AssetEntryLocalService
entryId
- the primary key of the asset entryPortalException
- if a asset entry with the primary key could not be foundpublic List<AssetEntry> getAssetTagAssetEntries(long tagId)
getAssetTagAssetEntries
in interface AssetEntryLocalService
public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end)
getAssetTagAssetEntries
in interface AssetEntryLocalService
public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
getAssetTagAssetEntries
in interface AssetEntryLocalService
public int getAssetTagAssetEntriesCount(long tagId)
getAssetTagAssetEntriesCount
in interface AssetEntryLocalService
public long[] getAssetTagPrimaryKeys(long entryId)
getAssetTagPrimaryKeys
in interface AssetEntryLocalService
entryId
- the entryId of the asset entrypublic List<AssetEntry> getChildEntries(long entryId) throws PortalException
getChildEntries
in interface AssetEntryLocalService
PortalException
public List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
getCompanyEntries
in interface AssetEntryLocalService
public int getCompanyEntriesCount(long companyId)
getCompanyEntriesCount
in interface AssetEntryLocalService
public List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
getEntries
in interface AssetEntryLocalService
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)
getEntries
in interface AssetEntryLocalService
public int getEntriesCount(AssetEntryQuery entryQuery)
getEntriesCount
in interface AssetEntryLocalService
public int getEntriesCount(long[] groupIds, long[] classNameIds, String keywords, String userName, String title, String description, Boolean listable, boolean advancedSearch, boolean andOperator)
getEntriesCount
in interface AssetEntryLocalService
public AssetEntry getEntry(long entryId) throws PortalException
getEntry
in interface AssetEntryLocalService
PortalException
public AssetEntry getEntry(long groupId, String classUuid) throws PortalException
getEntry
in interface AssetEntryLocalService
PortalException
public AssetEntry getEntry(String className, long classPK) throws PortalException
getEntry
in interface AssetEntryLocalService
PortalException
public List<AssetEntry> getGroupEntries(long groupId)
getGroupEntries
in interface AssetEntryLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface AssetEntryLocalService
public AssetEntry getNextEntry(long entryId) throws PortalException
getNextEntry
in interface AssetEntryLocalService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AssetEntryLocalService
public AssetEntry getParentEntry(long entryId) throws PortalException
getParentEntry
in interface AssetEntryLocalService
PortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface AssetEntryLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public AssetEntry getPreviousEntry(long entryId) throws PortalException
getPreviousEntry
in interface AssetEntryLocalService
PortalException
public List<AssetEntry> getTopViewedEntries(String className, boolean asc, int start, int end)
getTopViewedEntries
in interface AssetEntryLocalService
public List<AssetEntry> getTopViewedEntries(String[] className, boolean asc, int start, int end)
getTopViewedEntries
in interface AssetEntryLocalService
public boolean hasAssetCategoryAssetEntries(long categoryId)
hasAssetCategoryAssetEntries
in interface AssetEntryLocalService
public boolean hasAssetCategoryAssetEntry(long categoryId, long entryId)
hasAssetCategoryAssetEntry
in interface AssetEntryLocalService
public boolean hasAssetTagAssetEntries(long tagId)
hasAssetTagAssetEntries
in interface AssetEntryLocalService
public boolean hasAssetTagAssetEntry(long tagId, long entryId)
hasAssetTagAssetEntry
in interface AssetEntryLocalService
public void incrementViewCounter(long userId, AssetEntry assetEntry) throws PortalException
incrementViewCounter
in interface AssetEntryLocalService
PortalException
public AssetEntry incrementViewCounter(long userId, String className, long classPK) throws PortalException
incrementViewCounter
in interface AssetEntryLocalService
PortalException
public void incrementViewCounter(long userId, String className, long classPK, int increment)
incrementViewCounter
in interface AssetEntryLocalService
public void reindex(List<AssetEntry> entries) throws PortalException
reindex
in interface AssetEntryLocalService
PortalException
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int status, int start, int end)
search
in interface AssetEntryLocalService
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses, int start, int end)
search
in interface AssetEntryLocalService
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)
search
in interface AssetEntryLocalService
public Hits search(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, int status, int start, int end)
search
in interface AssetEntryLocalService
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)
search
in interface AssetEntryLocalService
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)
search
in interface AssetEntryLocalService
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)
search
in interface AssetEntryLocalService
public Hits search(long companyId, long[] groupIds, long userId, String className, String keywords, int status, int start, int end)
search
in interface AssetEntryLocalService
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)
search
in interface AssetEntryLocalService
public long searchCount(long companyId, long[] groupIds, long userId, String className, long classTypeId, String keywords, boolean showNonindexable, int[] statuses)
searchCount
in interface AssetEntryLocalService
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)
searchCount
in interface AssetEntryLocalService
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)
searchCount
in interface AssetEntryLocalService
public void setAssetCategoryAssetEntries(long categoryId, long[] entryIds)
setAssetCategoryAssetEntries
in interface AssetEntryLocalService
public void setAssetTagAssetEntries(long tagId, long[] entryIds)
setAssetTagAssetEntries
in interface AssetEntryLocalService
public AssetEntry updateAssetEntry(AssetEntry assetEntry)
updateAssetEntry
in interface AssetEntryLocalService
assetEntry
- the asset entrypublic 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
updateEntry
in interface AssetEntryLocalService
PortalException
@Deprecated 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 expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority) throws PortalException
updateEntry(long,
long, Date, Date, String, long, String, long, long[],
String[], boolean, boolean, Date, Date, Date, Date, String,
String, String, String, String, String, int, int, Double)
updateEntry
in interface AssetEntryLocalService
PortalException
@Deprecated public AssetEntry updateEntry(long userId, long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Integer priority, boolean sync) throws PortalException
updateEntry(long, long, Date, Date, String, long, String,
long, long[], String[], boolean, boolean, Date, Date, Date,
Date, String, String, String, String, String, String, int,
int, Double)
updateEntry
in interface AssetEntryLocalService
PortalException
public AssetEntry updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames) throws PortalException
updateEntry
in interface AssetEntryLocalService
PortalException
@Deprecated public AssetEntry updateEntry(String className, long classPK, Date publishDate, boolean visible) throws PortalException
updateEntry(String, long, Date, Date, boolean, boolean)
updateEntry
in interface AssetEntryLocalService
PortalException
@Deprecated public AssetEntry updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean visible) throws PortalException
updateEntry(String, long, Date, Date, boolean, boolean)
updateEntry
in interface AssetEntryLocalService
PortalException
public AssetEntry updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean listable, boolean visible) throws PortalException
updateEntry
in interface AssetEntryLocalService
PortalException
public AssetEntry updateVisible(AssetEntry entry, boolean visible) throws PortalException
updateVisible
in interface AssetEntryLocalService
PortalException
public AssetEntry updateVisible(String className, long classPK, boolean visible) throws PortalException
updateVisible
in interface AssetEntryLocalService
PortalException
public void validate(long groupId, String className, long classPK, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException
validate
in interface AssetEntryLocalService
PortalException
@Deprecated public void validate(long groupId, String className, long classTypePK, long[] categoryIds, String[] tagNames) throws PortalException
validate(long,
String, long, long, long[], String[])
validate
in interface AssetEntryLocalService
PortalException
@Deprecated public void validate(long groupId, String className, long[] categoryIds, String[] tagNames) throws PortalException
validate(long,
String, long, long[], String[])
validate
in interface AssetEntryLocalService
PortalException
public AssetEntryLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<AssetEntryLocalService>
public void setWrappedService(AssetEntryLocalService assetEntryLocalService)
setWrappedService
in interface ServiceWrapper<AssetEntryLocalService>