|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
public class AssetEntryLocalServiceImpl
Provides the local service for accessing, deleting, updating, and validating asset entries.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
AssetEntryLocalServiceImpl()
|
|
| Method Summary | |
|---|---|
protected long[] |
checkCategories(String className,
long classPK,
long[] categoryIds)
|
protected String[] |
checkTags(String className,
long classPK,
String[] tagNames)
|
void |
deleteEntry(AssetEntry entry)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(String className,
long classPK)
|
void |
deleteGroupEntries(long groupId)
|
AssetEntry |
fetchEntry(long entryId)
|
AssetEntry |
fetchEntry(long groupId,
String classUuid)
|
AssetEntry |
fetchEntry(String className,
long classPK)
|
List<AssetEntry> |
getAncestorEntries(long entryId)
|
protected 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<AssetEntry> |
getChildEntries(long entryId)
|
protected long[] |
getClassNameIds(long companyId,
String className)
|
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)
|
AssetEntry |
getNextEntry(long entryId)
|
AssetEntry |
getParentEntry(long entryId)
|
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)
|
AssetEntry |
incrementViewCounter(long userId,
String className,
long classPK)
|
void |
incrementViewCounter(long userId,
String className,
long classPK,
int increment)
|
protected void |
reindex(AssetEntry entry)
|
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 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 start,
int end)
Deprecated. As of 6.2.0, replaced by 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. As of 6.2.0, replaced by 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. As of 6.2.0, replaced by search(long, long[], long,
String, String, int, int, int) |
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)
|
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) |
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. As of 6.2.0, replaced by updateEntry(long, long,
String, long, String, long, long[], String[], boolean, Date,
Date, Date, String, String, String, String, String, String,
int, int, Integer, boolean) |
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 expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
Deprecated. As of 6.2.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, Integer, boolean) |
AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
boolean visible)
|
AssetEntry |
updateEntry(String className,
long classPK,
Date publishDate,
Date expirationDate,
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 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.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetEntryLocalServiceImpl()
| Method Detail |
|---|
public void deleteEntry(AssetEntry entry)
throws PortalException
PortalException
public void deleteEntry(long entryId)
throws PortalException
PortalException
public void deleteEntry(String className,
long classPK)
throws PortalException
PortalException
public void deleteGroupEntries(long groupId)
throws PortalException
PortalExceptionpublic AssetEntry fetchEntry(long entryId)
public AssetEntry fetchEntry(long groupId,
String classUuid)
public AssetEntry fetchEntry(String className,
long classPK)
public List<AssetEntry> getAncestorEntries(long entryId)
throws PortalException
PortalException
public List<AssetEntry> getChildEntries(long entryId)
throws PortalException
PortalException
public List<AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
public int getCompanyEntriesCount(long companyId)
public List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
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)
public int getEntriesCount(AssetEntryQuery entryQuery)
public int getEntriesCount(long[] groupIds,
long[] classNameIds,
String keywords,
String userName,
String title,
String description,
Boolean listable,
boolean advancedSearch,
boolean andOperator)
public AssetEntry getEntry(long entryId)
throws PortalException
PortalException
public AssetEntry getEntry(long groupId,
String classUuid)
throws PortalException
PortalException
public AssetEntry getEntry(String className,
long classPK)
throws PortalException
PortalExceptionpublic List<AssetEntry> getGroupEntries(long groupId)
public AssetEntry getNextEntry(long entryId)
throws PortalException
PortalException
public AssetEntry getParentEntry(long entryId)
throws PortalException
PortalException
public AssetEntry getPreviousEntry(long entryId)
throws PortalException
PortalException
public List<AssetEntry> getTopViewedEntries(String className,
boolean asc,
int start,
int end)
public List<AssetEntry> getTopViewedEntries(String[] className,
boolean asc,
int start,
int end)
public AssetEntry incrementViewCounter(long userId,
String className,
long classPK)
throws PortalException
PortalException
@BufferedIncrement(configuration="AssetEntry",
incrementClass=NumberIncrement.class)
public void incrementViewCounter(long userId,
String className,
long classPK,
int increment)
public void reindex(List<AssetEntry> entries)
throws PortalException
PortalException
public Hits search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int status,
int start,
int end)
public Hits search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
boolean showNonindexable,
int[] statuses,
int start,
int end)
public Hits search(long companyId,
long[] groupIds,
long userId,
String className,
long classTypeId,
String keywords,
int status,
int start,
int end)
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)
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)
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)
@Deprecated
public Hits search(long companyId,
long[] groupIds,
long userId,
String className,
String keywords,
int start,
int end)
search(long, long[], long,
String, String, int, int, int)
public Hits search(long companyId,
long[] groupIds,
long userId,
String className,
String keywords,
int status,
int start,
int end)
@Deprecated
public 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)
search(long, long[], long,
String, String, String, String, String, String, int, boolean,
int, int)
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)
@Deprecated
public Hits search(long companyId,
long[] groupIds,
String className,
String keywords,
int start,
int end)
search(long, long[], long,
String, String, int, int, int)
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,
Double priority)
throws PortalException
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, Date, Date, Date, String, String, String, String,
String, String, int, int, Double)
PortalException
public AssetEntry updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames)
throws PortalException
PortalException
@Deprecated
public 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
updateEntry(long, long,
String, long, String, long, long[], String[], boolean, Date,
Date, Date, String, String, String, String, String, String,
int, int, Integer, boolean)
PortalException
@Deprecated
public 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 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, Date, Date, Date, String, String, String, String,
String, String, int, int, Integer, boolean)
PortalException
public AssetEntry updateEntry(String className,
long classPK,
Date publishDate,
boolean visible)
throws PortalException
PortalException
public AssetEntry updateEntry(String className,
long classPK,
Date publishDate,
Date expirationDate,
boolean visible)
throws PortalException
PortalException
public AssetEntry updateVisible(AssetEntry entry,
boolean visible)
throws PortalException
PortalException
public AssetEntry updateVisible(String className,
long classPK,
boolean visible)
throws PortalException
PortalException
public void validate(long groupId,
String className,
long classTypePK,
long[] categoryIds,
String[] tagNames)
throws PortalException
PortalException
@Deprecated
public void validate(long groupId,
String className,
long[] categoryIds,
String[] tagNames)
throws PortalException
validate(long, String, long,
long[], String[])
PortalException
protected long[] checkCategories(String className,
long classPK,
long[] categoryIds)
throws PortalException
PortalException
protected String[] checkTags(String className,
long classPK,
String[] tagNames)
protected 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)
protected long[] getClassNameIds(long companyId,
String className)
protected void reindex(AssetEntry entry)
throws PortalException
PortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||