com.liferay.portlet.asset.service.impl
Class AssetEntryLocalServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.asset.kernel.service.AssetEntryLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
public class AssetEntryLocalServiceImpl
- extends AssetEntryLocalServiceBaseImpl
Provides the local service for accessing, deleting, updating, and validating
asset entries.
| Fields inherited from class com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, classNameLocalService, classNamePersistence, companyLocalService, companyPersistence, counterLocalService, groupFinder, groupLocalService, groupPersistence, persistedModelLocalServiceRegistry, socialActivityCounterFinder, socialActivityCounterLocalService, socialActivityCounterPersistence, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence |
|
Method Summary |
protected long[] |
checkCategories(String className,
long classPK,
long[] categoryIds)
|
protected String[] |
checkTags(String className,
long classPK,
String[] tagNames)
|
void |
deleteEntry(com.liferay.asset.kernel.model.AssetEntry entry)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(String className,
long classPK)
|
void |
deleteGroupEntries(long groupId)
|
com.liferay.asset.kernel.model.AssetEntry |
fetchEntry(long entryId)
|
com.liferay.asset.kernel.model.AssetEntry |
fetchEntry(long groupId,
String classUuid)
|
com.liferay.asset.kernel.model.AssetEntry |
fetchEntry(String className,
long classPK)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getAncestorEntries(long entryId)
|
protected com.liferay.asset.kernel.service.persistence.AssetEntryQuery |
getAssetEntryQuery(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)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getChildEntries(long entryId)
|
protected long[] |
getClassNameIds(long companyId,
String className)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
|
List<com.liferay.asset.kernel.model.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(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
|
int |
getEntriesCount(long[] groupIds,
long[] classNameIds,
String keywords,
String userName,
String title,
String description,
Boolean listable,
boolean advancedSearch,
boolean andOperator)
|
com.liferay.asset.kernel.model.AssetEntry |
getEntry(long entryId)
|
com.liferay.asset.kernel.model.AssetEntry |
getEntry(long groupId,
String classUuid)
|
com.liferay.asset.kernel.model.AssetEntry |
getEntry(String className,
long classPK)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getGroupEntries(long groupId)
|
com.liferay.asset.kernel.model.AssetEntry |
getNextEntry(long entryId)
|
com.liferay.asset.kernel.model.AssetEntry |
getParentEntry(long entryId)
|
com.liferay.asset.kernel.model.AssetEntry |
getPreviousEntry(long entryId)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getTopViewedEntries(String[] className,
boolean asc,
int start,
int end)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getTopViewedEntries(String className,
boolean asc,
int start,
int end)
|
com.liferay.asset.kernel.model.AssetEntry |
incrementViewCounter(long userId,
String className,
long classPK)
|
void |
incrementViewCounter(long userId,
String className,
long classPK,
int increment)
|
protected void |
reindex(com.liferay.asset.kernel.model.AssetEntry entry)
|
void |
reindex(List<com.liferay.asset.kernel.model.AssetEntry> entries)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int[] statuses,
int start,
int end)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int status,
int start,
int end)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
int status,
int start,
int end)
|
com.liferay.portal.kernel.search.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)
|
com.liferay.portal.kernel.search.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)
|
com.liferay.portal.kernel.search.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)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
String keywords,
int status,
int start,
int end)
|
com.liferay.portal.kernel.search.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)
|
com.liferay.asset.kernel.model.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,
Double priority)
|
com.liferay.asset.kernel.model.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. As of 7.0.0, replaced by updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, Date, Date, Date, String, String, String, String,
String, String, int, int, Double) |
com.liferay.asset.kernel.model.AssetEntry |
updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames)
|
com.liferay.asset.kernel.model.AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
boolean visible)
|
com.liferay.asset.kernel.model.AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
Date expirationDate,
boolean visible)
|
com.liferay.asset.kernel.model.AssetEntry |
updateVisible(com.liferay.asset.kernel.model.AssetEntry entry,
boolean visible)
|
com.liferay.asset.kernel.model.AssetEntry |
updateVisible(String className,
long classPK,
boolean visible)
|
void |
validate(long groupId,
String className,
long[] categoryIds,
String[] tagNames)
Deprecated. As of 7.0.0, replaced by validate(long, String, long,
long[], String[]) |
void |
validate(long groupId,
String className,
long classTypePK,
long[] categoryIds,
String[] tagNames)
|
| Methods inherited from class com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl |
addAssetCategoryAssetEntries, addAssetCategoryAssetEntries, addAssetCategoryAssetEntry, addAssetCategoryAssetEntry, addAssetEntry, addAssetTagAssetEntries, addAssetTagAssetEntries, addAssetTagAssetEntry, addAssetTagAssetEntry, afterPropertiesSet, clearAssetCategoryAssetEntries, clearAssetTagAssetEntries, createAssetEntry, deleteAssetCategoryAssetEntries, deleteAssetCategoryAssetEntries, deleteAssetCategoryAssetEntry, deleteAssetCategoryAssetEntry, deleteAssetEntry, deleteAssetEntry, deleteAssetTagAssetEntries, deleteAssetTagAssetEntries, deleteAssetTagAssetEntry, deleteAssetTagAssetEntry, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAssetEntry, getActionableDynamicQuery, getAssetCategoryAssetEntries, getAssetCategoryAssetEntries, getAssetCategoryAssetEntries, getAssetCategoryAssetEntriesCount, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPrimaryKeys, getAssetEntries, getAssetEntriesCount, getAssetEntry, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagAssetEntries, getAssetTagAssetEntries, getAssetTagAssetEntries, getAssetTagAssetEntriesCount, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPrimaryKeys, getClassNameLocalService, getClassNamePersistence, getCompanyLocalService, getCompanyPersistence, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getSocialActivityCounterFinder, getSocialActivityCounterLocalService, getSocialActivityCounterPersistence, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, hasAssetCategoryAssetEntries, hasAssetCategoryAssetEntry, hasAssetTagAssetEntries, hasAssetTagAssetEntry, initActionableDynamicQuery, runSQL, setAssetCategoryAssetEntries, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagAssetEntries, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setClassNameLocalService, setClassNamePersistence, setCompanyLocalService, setCompanyPersistence, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setSocialActivityCounterFinder, setSocialActivityCounterLocalService, setSocialActivityCounterPersistence, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateAssetEntry |
| Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl |
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryLocalServiceImpl
public AssetEntryLocalServiceImpl()
deleteEntry
public void deleteEntry(com.liferay.asset.kernel.model.AssetEntry entry)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteEntry
public void deleteEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteEntry
public void deleteEntry(String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteGroupEntries
public void deleteGroupEntries(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
fetchEntry
public com.liferay.asset.kernel.model.AssetEntry fetchEntry(long entryId)
fetchEntry
public com.liferay.asset.kernel.model.AssetEntry fetchEntry(long groupId,
String classUuid)
fetchEntry
public com.liferay.asset.kernel.model.AssetEntry fetchEntry(String className,
long classPK)
getAncestorEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getAncestorEntries(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getChildEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getChildEntries(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getCompanyEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId)
getEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
getEntries
public List<com.liferay.asset.kernel.model.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)
getEntriesCount
public int getEntriesCount(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
getEntriesCount
public int getEntriesCount(long[] groupIds,
long[] classNameIds,
String keywords,
String userName,
String title,
String description,
Boolean listable,
boolean advancedSearch,
boolean andOperator)
getEntry
public com.liferay.asset.kernel.model.AssetEntry getEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getEntry
public com.liferay.asset.kernel.model.AssetEntry getEntry(long groupId,
String classUuid)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getEntry
public com.liferay.asset.kernel.model.AssetEntry getEntry(String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getGroupEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getGroupEntries(long groupId)
getNextEntry
public com.liferay.asset.kernel.model.AssetEntry getNextEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getParentEntry
public com.liferay.asset.kernel.model.AssetEntry getParentEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getPreviousEntry
public com.liferay.asset.kernel.model.AssetEntry getPreviousEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getTopViewedEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getTopViewedEntries(String className,
boolean asc,
int start,
int end)
getTopViewedEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getTopViewedEntries(String[] className,
boolean asc,
int start,
int end)
incrementViewCounter
public com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(long userId,
String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
incrementViewCounter
@BufferedIncrement(configuration="AssetEntry",
incrementClass=com.liferay.portal.kernel.increment.NumberIncrement.class)
public void incrementViewCounter(long userId,
String className,
long classPK,
int increment)
reindex
public void reindex(List<com.liferay.asset.kernel.model.AssetEntry> entries)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int status,
int start,
int end)
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int[] statuses,
int start,
int end)
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
int status,
int start,
int end)
search
public com.liferay.portal.kernel.search.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
public com.liferay.portal.kernel.search.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
public com.liferay.portal.kernel.search.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
public com.liferay.portal.kernel.search.Hits search(long companyId,
long[] groupIds,
long userId,
String className,
String keywords,
int status,
int start,
int end)
search
public com.liferay.portal.kernel.search.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)
updateEntry
public com.liferay.asset.kernel.model.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,
Double priority)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateEntry
@Deprecated
public com.liferay.asset.kernel.model.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 com.liferay.portal.kernel.exception.PortalException
- Deprecated. As of 7.0.0, replaced by
updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, Date, Date, Date, String, String, String, String,
String, String, int, int, Double)
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateEntry
public com.liferay.asset.kernel.model.AssetEntry updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateEntry
public com.liferay.asset.kernel.model.AssetEntry updateEntry(String className,
long classPK,
Date publishDate,
boolean visible)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateEntry
public com.liferay.asset.kernel.model.AssetEntry updateEntry(String className,
long classPK,
Date publishDate,
Date expirationDate,
boolean visible)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateVisible
public com.liferay.asset.kernel.model.AssetEntry updateVisible(com.liferay.asset.kernel.model.AssetEntry entry,
boolean visible)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateVisible
public com.liferay.asset.kernel.model.AssetEntry updateVisible(String className,
long classPK,
boolean visible)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
validate
public void validate(long groupId,
String className,
long classTypePK,
long[] categoryIds,
String[] tagNames)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
validate
@Deprecated
public void validate(long groupId,
String className,
long[] categoryIds,
String[] tagNames)
throws com.liferay.portal.kernel.exception.PortalException
- Deprecated. As of 7.0.0, replaced by
validate(long, String, long,
long[], String[])
- Throws:
com.liferay.portal.kernel.exception.PortalException
checkCategories
protected long[] checkCategories(String className,
long classPK,
long[] categoryIds)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
checkTags
protected String[] checkTags(String className,
long classPK,
String[] tagNames)
getAssetEntryQuery
protected com.liferay.asset.kernel.service.persistence.AssetEntryQuery getAssetEntryQuery(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)
getClassNameIds
protected long[] getClassNameIds(long companyId,
String className)
reindex
protected void reindex(com.liferay.asset.kernel.model.AssetEntry entry)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException