public class AssetPublisherDisplayContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PAGINATION_TYPE_NONE |
static java.lang.String |
PAGINATION_TYPE_REGULAR |
static java.lang.String |
PAGINATION_TYPE_SIMPLE |
static java.lang.String[] |
PAGINATION_TYPES |
Constructor and Description |
---|
AssetPublisherDisplayContext(AssetPublisherCustomizer assetPublisherCustomizer,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
javax.portlet.PortletPreferences portletPreferences) |
AssetPublisherDisplayContext(javax.servlet.http.HttpServletRequest request,
javax.portlet.PortletPreferences portletPreferences)
Deprecated.
As of Judson (7.1.x), replaced by
AssetPublisherDisplayContext(AssetPublisherCustomizer,
PortletRequest, PortletResponse, PortletPreferences) |
AssetPublisherDisplayContext(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
javax.portlet.PortletPreferences portletPreferences)
Deprecated.
As of Judson (7.1.x), replaced by
AssetPublisherDisplayContext(AssetPublisherCustomizer,
PortletRequest, PortletResponse, PortletPreferences) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSubtypeFieldFilter(com.liferay.asset.kernel.service.persistence.AssetEntryQuery assetEntryQuery,
java.util.Locale locale) |
int |
getAbstractLength() |
long[] |
getAllAssetCategoryIds() |
java.lang.String[] |
getAllAssetTagNames() |
java.util.List<com.liferay.asset.kernel.action.AssetEntryAction> |
getAssetEntryActions(java.lang.String className) |
com.liferay.asset.kernel.service.persistence.AssetEntryQuery |
getAssetEntryQuery() |
java.lang.String |
getAssetLinkBehavior() |
java.util.Map<java.lang.String,java.io.Serializable> |
getAttributes() |
long[] |
getAvailableClassNameIds() |
long[] |
getClassNameIds() |
long[] |
getClassTypeIds() |
java.lang.Long |
getCompanyId() |
java.lang.String[] |
getCompilerTagNames() |
java.lang.String |
getDDMStructureDisplayFieldValue() |
java.lang.String |
getDDMStructureFieldLabel() |
java.lang.String |
getDDMStructureFieldName() |
java.lang.String |
getDDMStructureFieldValue() |
java.lang.Integer |
getDelta() |
java.lang.String |
getDisplayStyle() |
long |
getDisplayStyleGroupId() |
java.lang.String[] |
getExtensions() |
java.lang.String[] |
getExtensions(com.liferay.asset.kernel.model.AssetRenderer<?> assetRenderer) |
long[] |
getGroupIds() |
com.liferay.portal.kernel.model.Layout |
getLayout() |
java.util.Locale |
getLocale() |
java.lang.String[] |
getMetadataFields() |
java.lang.String |
getOrderByColumn1() |
java.lang.String |
getOrderByColumn2() |
java.lang.String |
getOrderByType1() |
java.lang.String |
getOrderByType2() |
java.lang.String |
getPaginationType() |
java.lang.String |
getPortletName() |
java.lang.String |
getPortletResource() |
long[] |
getReferencedModelsGroupIds() |
java.lang.String |
getRootPortletId() |
int |
getRSSDelta() |
java.lang.String |
getRSSDisplayStyle() |
java.lang.String |
getRSSFeedType() |
java.lang.String |
getRSSName() |
java.util.Map<java.lang.Long,java.util.Map<java.lang.String,javax.portlet.PortletURL>> |
getScopeAddPortletURLs(int max) |
java.lang.Long |
getScopeGroupId() |
java.lang.String |
getSelectionStyle() |
java.lang.String |
getSocialBookmarksDisplayPosition() |
java.lang.String |
getSocialBookmarksDisplayStyle() |
java.util.TimeZone |
getTimeZone() |
java.lang.Long |
getUserId() |
com.liferay.asset.kernel.model.AssetEntry |
incrementViewCounter(com.liferay.asset.kernel.model.AssetEntry assetEntry) |
java.lang.Boolean |
isAnyAssetType() |
boolean |
isAssetLinkBehaviorShowFullContent() |
boolean |
isAssetLinkBehaviorViewInPortlet() |
boolean |
isDefaultAssetPublisher() |
boolean |
isEnableCommentRatings() |
boolean |
isEnableComments() |
java.lang.Boolean |
isEnableConversions() |
boolean |
isEnableFlags() |
java.lang.Boolean |
isEnablePermissions() |
boolean |
isEnablePrint() |
boolean |
isEnableRatings() |
boolean |
isEnableRelatedAssets() |
boolean |
isEnableRSS() |
boolean |
isEnableSetAsDefaultAssetPublisher() |
boolean |
isEnableSocialBookmarks() |
boolean |
isEnableTagBasedNavigation() |
boolean |
isEnableViewCountIncrement() |
boolean |
isExcludeZeroViewCount() |
boolean |
isMergeURLTags() |
boolean |
isOpenOfficeServerEnabled() |
boolean |
isOrderingAndGroupingEnabled() |
boolean |
isOrderingByTitleEnabled() |
boolean |
isPaginationTypeNone() |
boolean |
isPaginationTypeSelected(java.lang.String paginationType) |
boolean |
isSelectionStyleDynamic() |
boolean |
isSelectionStyleEnabled() |
boolean |
isSelectionStyleManual() |
boolean |
isShowAddContentButton() |
java.lang.Boolean |
isShowAssetTitle() |
java.lang.Boolean |
isShowAvailableLocales() |
java.lang.Boolean |
isShowContextLink() |
java.lang.Boolean |
isShowContextLink(long groupId,
java.lang.String portletId) |
boolean |
isShowEnableAddContentButton() |
java.lang.Boolean |
isShowEnablePermissions() |
boolean |
isShowEnableRelatedAssets() |
boolean |
isShowExtraInfo() |
boolean |
isShowMetadataDescriptions() |
boolean |
isShowOnlyLayoutAssets() |
boolean |
isShowScopeSelector() |
boolean |
isShowSubtypeFieldsFilter() |
boolean |
isSubtypeFieldsFilterEnabled() |
protected void |
setDDMStructure() |
void |
setDisplayStyle(java.lang.String displayStyle) |
void |
setLayoutAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) |
void |
setSelectionStyle(java.lang.String selectionStyle) |
void |
setShowContextLink(java.lang.Boolean showContextLink) |
public static final java.lang.String PAGINATION_TYPE_NONE
public static final java.lang.String PAGINATION_TYPE_REGULAR
public static final java.lang.String PAGINATION_TYPE_SIMPLE
public static final java.lang.String[] PAGINATION_TYPES
public AssetPublisherDisplayContext(AssetPublisherCustomizer assetPublisherCustomizer, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse, javax.portlet.PortletPreferences portletPreferences)
@Deprecated public AssetPublisherDisplayContext(javax.servlet.http.HttpServletRequest request, javax.portlet.PortletPreferences portletPreferences)
AssetPublisherDisplayContext(AssetPublisherCustomizer,
PortletRequest, PortletResponse, PortletPreferences)
@Deprecated public AssetPublisherDisplayContext(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse, javax.portlet.PortletPreferences portletPreferences)
AssetPublisherDisplayContext(AssetPublisherCustomizer,
PortletRequest, PortletResponse, PortletPreferences)
public int getAbstractLength()
public long[] getAllAssetCategoryIds() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getAllAssetTagNames() throws java.lang.Exception
java.lang.Exception
public java.util.List<com.liferay.asset.kernel.action.AssetEntryAction> getAssetEntryActions(java.lang.String className)
public com.liferay.asset.kernel.service.persistence.AssetEntryQuery getAssetEntryQuery() throws java.lang.Exception
java.lang.Exception
public java.lang.String getAssetLinkBehavior()
public java.util.Map<java.lang.String,java.io.Serializable> getAttributes()
public long[] getAvailableClassNameIds()
public long[] getClassNameIds()
public long[] getClassTypeIds()
public java.lang.Long getCompanyId()
public java.lang.String[] getCompilerTagNames()
public java.lang.String getDDMStructureDisplayFieldValue() throws java.lang.Exception
java.lang.Exception
public java.lang.String getDDMStructureFieldLabel() throws java.lang.Exception
java.lang.Exception
public java.lang.String getDDMStructureFieldName() throws java.lang.Exception
java.lang.Exception
public java.lang.String getDDMStructureFieldValue() throws java.lang.Exception
java.lang.Exception
public java.lang.Integer getDelta()
public java.lang.String getDisplayStyle()
public long getDisplayStyleGroupId()
public java.lang.String[] getExtensions()
public java.lang.String[] getExtensions(com.liferay.asset.kernel.model.AssetRenderer<?> assetRenderer)
public long[] getGroupIds()
public com.liferay.portal.kernel.model.Layout getLayout()
public java.util.Locale getLocale()
public java.lang.String[] getMetadataFields()
public java.lang.String getOrderByColumn1()
public java.lang.String getOrderByColumn2()
public java.lang.String getOrderByType1()
public java.lang.String getOrderByType2()
public java.lang.String getPaginationType()
public java.lang.String getPortletName()
public java.lang.String getPortletResource()
public long[] getReferencedModelsGroupIds() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getRootPortletId()
public int getRSSDelta()
public java.lang.String getRSSDisplayStyle()
public java.lang.String getRSSFeedType()
public java.lang.String getRSSName()
public java.util.Map<java.lang.Long,java.util.Map<java.lang.String,javax.portlet.PortletURL>> getScopeAddPortletURLs(int max) throws java.lang.Exception
java.lang.Exception
public java.lang.Long getScopeGroupId()
public java.lang.String getSelectionStyle()
public java.lang.String getSocialBookmarksDisplayPosition()
public java.lang.String getSocialBookmarksDisplayStyle()
public java.util.TimeZone getTimeZone()
public java.lang.Long getUserId()
public com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(com.liferay.asset.kernel.model.AssetEntry assetEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.lang.Boolean isAnyAssetType()
public boolean isAssetLinkBehaviorShowFullContent()
public boolean isAssetLinkBehaviorViewInPortlet()
public boolean isDefaultAssetPublisher()
public boolean isEnableCommentRatings()
public boolean isEnableComments()
public java.lang.Boolean isEnableConversions() throws java.lang.Exception
java.lang.Exception
public boolean isEnableFlags()
public java.lang.Boolean isEnablePermissions()
public boolean isEnablePrint()
public boolean isEnableRatings()
public boolean isEnableRelatedAssets()
public boolean isEnableRSS()
public boolean isEnableSetAsDefaultAssetPublisher()
public boolean isEnableSocialBookmarks()
public boolean isEnableTagBasedNavigation()
public boolean isEnableViewCountIncrement()
public boolean isExcludeZeroViewCount()
public boolean isMergeURLTags()
public boolean isOpenOfficeServerEnabled()
public boolean isOrderingAndGroupingEnabled()
public boolean isOrderingByTitleEnabled()
public boolean isPaginationTypeNone()
public boolean isPaginationTypeSelected(java.lang.String paginationType)
public boolean isSelectionStyleDynamic()
public boolean isSelectionStyleEnabled()
public boolean isSelectionStyleManual()
public boolean isShowAddContentButton()
public java.lang.Boolean isShowAssetTitle()
public java.lang.Boolean isShowAvailableLocales()
public java.lang.Boolean isShowContextLink()
public java.lang.Boolean isShowContextLink(long groupId, java.lang.String portletId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public boolean isShowEnableAddContentButton()
public java.lang.Boolean isShowEnablePermissions()
public boolean isShowEnableRelatedAssets()
public boolean isShowExtraInfo()
public boolean isShowMetadataDescriptions()
public boolean isShowOnlyLayoutAssets()
public boolean isShowScopeSelector()
public boolean isShowSubtypeFieldsFilter()
public boolean isSubtypeFieldsFilterEnabled()
public void setDisplayStyle(java.lang.String displayStyle)
public void setLayoutAssetEntry(com.liferay.asset.kernel.model.AssetEntry assetEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void setSelectionStyle(java.lang.String selectionStyle)
public void setShowContextLink(java.lang.Boolean showContextLink)
protected void configureSubtypeFieldFilter(com.liferay.asset.kernel.service.persistence.AssetEntryQuery assetEntryQuery, java.util.Locale locale) throws java.lang.Exception
java.lang.Exception
protected void setDDMStructure() throws java.lang.Exception
java.lang.Exception