|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetEntryLocalService
The interface for the asset entry local service.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
AssetEntryLocalServiceUtil
,
AssetEntryLocalServiceBaseImpl
,
AssetEntryLocalServiceImpl
Method Summary | |
---|---|
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)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query. |
AssetEntry |
fetchAssetEntry(long entryId)
|
AssetEntry |
fetchEntry(long entryId)
|
AssetEntry |
fetchEntry(long groupId,
String classUuid)
|
AssetEntry |
fetchEntry(String className,
long classPK)
|
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 orderByComparator)
|
int |
getAssetCategoryAssetEntriesCount(long categoryId)
|
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 orderByComparator)
|
int |
getAssetTagAssetEntriesCount(long tagId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<AssetEntry> |
getChildEntries(long entryId)
|
List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery)
|
int |
getEntriesCount(AssetEntryQuery entryQuery)
|
AssetEntry |
getEntry(long entryId)
|
AssetEntry |
getEntry(long groupId,
String classUuid)
|
AssetEntry |
getEntry(String className,
long classPK)
|
AssetEntry |
getNextEntry(long entryId)
|
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 |
hasAssetCategoryAssetEntries(long categoryId)
|
boolean |
hasAssetCategoryAssetEntry(long categoryId,
long entryId)
|
boolean |
hasAssetTagAssetEntries(long tagId)
|
boolean |
hasAssetTagAssetEntry(long tagId,
long entryId)
|
AssetEntry |
incrementViewCounter(long userId,
String className,
long classPK)
|
AssetEntry |
incrementViewCounter(long userId,
String className,
long classPK,
int increment)
|
void |
reindex(List<AssetEntry> entries)
|
Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
String keywords,
int start,
int end)
Deprecated. search(long, long[], long, String, String, int, int,
int) |
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,
boolean andSearch,
int start,
int end)
Deprecated. search(long, long[], long, String, String, String,
String, String, String, int, boolean, int, int) |
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)
|
Hits |
search(long companyId,
long[] groupIds,
String className,
String keywords,
int start,
int end)
Deprecated. search(long, long[], long, String, String, int, int,
int) |
void |
setAssetCategoryAssetEntries(long categoryId,
long[] entryIds)
|
void |
setAssetTagAssetEntries(long tagId,
long[] entryIds)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
AssetEntry |
updateAssetEntry(AssetEntry assetEntry)
Updates the asset entry in the database or adds it if it does not yet exist. |
AssetEntry |
updateAssetEntry(AssetEntry assetEntry,
boolean merge)
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 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,
Integer priority,
boolean sync)
|
AssetEntry |
updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames)
|
AssetEntry |
updateEntry(long userId,
long groupId,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
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,
Integer priority,
boolean sync)
Deprecated. updateEntry(long, long, Date, Date, String, long,
String, long, long[], String[], boolean, Date, Date, Date,
Date, String, String, String, String, String, String, int,
int, Integer, boolean) |
AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
Date expirationDate,
boolean visible)
|
AssetEntry |
updateVisible(String className,
long classPK,
boolean visible)
|
void |
validate(long groupId,
String className,
long[] categoryIds,
String[] tagNames)
|
Method Detail |
---|
AssetEntry addAssetEntry(AssetEntry assetEntry) throws SystemException
assetEntry
- the asset entry
SystemException
- if a system exception occurredAssetEntry createAssetEntry(long entryId)
entryId
- the primary key for the new asset entry
AssetEntry deleteAssetEntry(long entryId) throws PortalException, SystemException
entryId
- the primary key of the asset entry
PortalException
- if a asset entry with the primary key could not be found
SystemException
- if a system exception occurredAssetEntry deleteAssetEntry(AssetEntry assetEntry) throws SystemException
assetEntry
- the asset entry
SystemException
- if a system exception occurredDynamicQuery dynamicQuery()
List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
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
)
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchAssetEntry(long entryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getAssetEntry(long entryId) throws PortalException, SystemException
entryId
- the primary key of the asset entry
PortalException
- if a asset entry with the primary key could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetEntries(int start, int end) throws SystemException
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.
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getAssetEntriesCount() throws SystemException
SystemException
- if a system exception occurredAssetEntry updateAssetEntry(AssetEntry assetEntry) throws SystemException
assetEntry
- the asset entry
SystemException
- if a system exception occurredAssetEntry updateAssetEntry(AssetEntry assetEntry, boolean merge) throws SystemException
assetEntry
- the asset entrymerge
- whether to merge the asset entry with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredvoid addAssetCategoryAssetEntry(long categoryId, long entryId) throws SystemException
SystemException
- if a system exception occurredvoid addAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry) throws SystemException
SystemException
- if a system exception occurredvoid addAssetCategoryAssetEntries(long categoryId, long[] entryIds) throws SystemException
SystemException
- if a system exception occurredvoid addAssetCategoryAssetEntries(long categoryId, List<AssetEntry> AssetEntries) throws SystemException
SystemException
- if a system exception occurredvoid clearAssetCategoryAssetEntries(long categoryId) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetCategoryAssetEntry(long categoryId, long entryId) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetCategoryAssetEntries(long categoryId, List<AssetEntry> AssetEntries) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetCategoryAssetEntries(long categoryId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getAssetCategoryAssetEntriesCount(long categoryId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasAssetCategoryAssetEntry(long categoryId, long entryId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasAssetCategoryAssetEntries(long categoryId) throws SystemException
SystemException
- if a system exception occurredvoid setAssetCategoryAssetEntries(long categoryId, long[] entryIds) throws SystemException
SystemException
- if a system exception occurredvoid addAssetTagAssetEntry(long tagId, long entryId) throws SystemException
SystemException
- if a system exception occurredvoid addAssetTagAssetEntry(long tagId, AssetEntry assetEntry) throws SystemException
SystemException
- if a system exception occurredvoid addAssetTagAssetEntries(long tagId, long[] entryIds) throws SystemException
SystemException
- if a system exception occurredvoid addAssetTagAssetEntries(long tagId, List<AssetEntry> AssetEntries) throws SystemException
SystemException
- if a system exception occurredvoid clearAssetTagAssetEntries(long tagId) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetTagAssetEntry(long tagId, long entryId) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetTagAssetEntries(long tagId, long[] entryIds) throws SystemException
SystemException
- if a system exception occurredvoid deleteAssetTagAssetEntries(long tagId, List<AssetEntry> AssetEntries) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetTagAssetEntries(long tagId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getAssetTagAssetEntriesCount(long tagId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasAssetTagAssetEntry(long tagId, long entryId) throws SystemException
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasAssetTagAssetEntries(long tagId) throws SystemException
SystemException
- if a system exception occurredvoid setAssetTagAssetEntries(long tagId, long[] entryIds) throws SystemException
SystemException
- if a system exception occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanvoid deleteEntry(AssetEntry entry) throws PortalException, SystemException
PortalException
SystemException
void deleteEntry(long entryId) throws PortalException, SystemException
PortalException
SystemException
void deleteEntry(String className, long classPK) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long entryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long groupId, String classUuid) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(String className, long classPK) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getAncestorEntries(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getChildEntries(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getCompanyEntries(long companyId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyEntriesCount(long companyId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getEntries(AssetEntryQuery entryQuery) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(AssetEntryQuery entryQuery) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(long groupId, String classUuid) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(String className, long classPK) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getNextEntry(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getParentEntry(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getPreviousEntry(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getTopViewedEntries(String className, boolean asc, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getTopViewedEntries(String[] className, boolean asc, int start, int end) throws SystemException
SystemException
AssetEntry incrementViewCounter(long userId, String className, long classPK) throws PortalException, SystemException
PortalException
SystemException
AssetEntry incrementViewCounter(long userId, String className, long classPK, int increment) throws SystemException
SystemException
@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, String className, String keywords, int start, int end) throws SystemException
search(long, long[], long, String, String, int, int,
int)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, long userId, String className, String keywords, int status, int start, int end) throws SystemException
SystemException
@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, boolean andSearch, int start, int end) throws SystemException
search(long, long[], long, String, String, String,
String, String, String, int, boolean, int, int)
SystemException
@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) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long companyId, long[] groupIds, String className, String keywords, int start, int end) throws SystemException
search(long, long[], long, String, String, int, int,
int)
SystemException
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 publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Integer priority, boolean sync) throws PortalException, SystemException
PortalException
SystemException
AssetEntry updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames) throws PortalException, SystemException
PortalException
SystemException
AssetEntry updateEntry(long userId, long groupId, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, 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, Integer priority, boolean sync) throws PortalException, SystemException
updateEntry(long, long, Date, Date, String, long,
String, long, long[], String[], boolean, Date, Date, Date,
Date, String, String, String, String, String, String, int,
int, Integer, boolean)
PortalException
SystemException
AssetEntry updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean visible) throws PortalException, SystemException
PortalException
SystemException
AssetEntry updateVisible(String className, long classPK, boolean visible) throws PortalException, SystemException
PortalException
SystemException
void validate(long groupId, String className, long[] categoryIds, String[] tagNames) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |