Liferay 7.0-ce-m3

com.liferay.portlet.assetpublisher.context
Class AssetPublisherDisplayContext

java.lang.Object
  extended by com.liferay.portlet.assetpublisher.context.AssetPublisherDisplayContext

public class AssetPublisherDisplayContext
extends Object


Constructor Summary
AssetPublisherDisplayContext(javax.servlet.http.HttpServletRequest request, PortletPreferences portletPreferences)
           
 
Method Summary
protected  void configureSubtypeFieldFilter(AssetEntryQuery assetEntryQuery, Locale locale)
           
 int getAbstractLength()
           
 long[] getAllAssetCategoryIds()
           
 String[] getAllAssetTagNames()
           
 AssetEntryQuery getAssetEntryQuery()
           
 String getAssetLinkBehavior()
           
 long[] getAvailableClassNameIds()
           
 long[] getClassNameIds()
           
 long[] getClassTypeIds()
           
 String[] getCompilerTagNames()
           
 String getDDMStructureDisplayFieldValue()
           
 String getDDMStructureFieldLabel()
           
 String getDDMStructureFieldName()
           
 String getDDMStructureFieldValue()
           
 Integer getDelta()
           
 String getDisplayStyle()
           
 long getDisplayStyleGroupId()
           
 String[] getExtensions()
           
 String[] getExtensions(AssetRenderer assetRenderer)
           
 long[] getGroupIds()
           
 String[] getMetadataFields()
           
 String getOrderByColumn1()
           
 String getOrderByColumn2()
           
 String getOrderByType1()
           
 String getOrderByType2()
           
 String getPaginationType()
           
 Long getPortletDisplayDDMTemplateId()
           
protected  String getPortletName()
           
 String getPortletResource()
           
 String getRootPortletId()
           
 int getRSSDelta()
           
 String getRSSDisplayStyle()
           
 String getRSSFeedType()
           
 String getRSSName()
           
 String getSelectionStyle()
           
 String getSocialBookmarksDisplayPosition()
           
 String getSocialBookmarksDisplayStyle()
           
 Boolean isAnyAssetType()
           
 boolean isAssetLinkBehaviorShowFullContent()
           
 boolean isAssetLinkBehaviorViewInPortlet()
           
 boolean isEnableCommentRatings()
           
 boolean isEnableComments()
           
 Boolean isEnableConversions()
           
 boolean isEnableFlags()
           
 Boolean isEnablePermissions()
           
 boolean isEnablePrint()
           
 boolean isEnableRatings()
           
 boolean isEnableRelatedAssets()
           
 boolean isEnableRSS()
           
 boolean isEnableSocialBookmarks()
           
 boolean isEnableTagBasedNavigation()
           
 boolean isExcludeZeroViewCount()
           
 boolean isMergeLayoutTags()
           
 boolean isMergeURLTags()
           
 boolean isOpenOfficeServerEnabled()
           
 boolean isOrderingAndGroupingEnabled()
           
 boolean isOrderingByTitleEnabled()
           
 boolean isPaginationTypeNone()
           
 boolean isPaginationTypeRegular()
           
 boolean isPaginationTypeSimple()
           
 boolean isSelectionStyleDynamic()
           
 boolean isSelectionStyleEnabled()
           
 boolean isSelectionStyleManual()
           
 boolean isShowAddContentButton()
           
 Boolean isShowAssetTitle()
           
 Boolean isShowAvailableLocales()
           
 Boolean isShowContextLink()
           
 boolean isShowEnableAddContentButton()
           
 Boolean isShowEnablePermissions()
           
 boolean isShowEnableRelatedAssets()
           
 boolean isShowExtraInfo()
           
 boolean isShowMetadataDescriptions()
           
 boolean isShowOnlyLayoutAssets()
           
 boolean isShowScopeSelector()
           
 boolean isShowSubtypeFieldsFilter()
           
 boolean isSubtypeFieldsFilterEnabled()
           
protected  void setDDMStructure()
           
 void setSelectionStyle(String selectionStyle)
           
 void setShowContextLink(Boolean showContextLink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetPublisherDisplayContext

public AssetPublisherDisplayContext(javax.servlet.http.HttpServletRequest request,
                                    PortletPreferences portletPreferences)
Method Detail

getAbstractLength

public int getAbstractLength()

getAllAssetCategoryIds

public long[] getAllAssetCategoryIds()
                              throws Exception
Throws:
Exception

getAllAssetTagNames

public String[] getAllAssetTagNames()
                             throws Exception
Throws:
Exception

getAssetEntryQuery

public AssetEntryQuery getAssetEntryQuery()
                                   throws Exception
Throws:
Exception

getAssetLinkBehavior

public String getAssetLinkBehavior()

getAvailableClassNameIds

public long[] getAvailableClassNameIds()

getClassNameIds

public long[] getClassNameIds()

getClassTypeIds

public long[] getClassTypeIds()

getCompilerTagNames

public String[] getCompilerTagNames()

getDDMStructureDisplayFieldValue

public String getDDMStructureDisplayFieldValue()
                                        throws Exception
Throws:
Exception

getDDMStructureFieldLabel

public String getDDMStructureFieldLabel()
                                 throws Exception
Throws:
Exception

getDDMStructureFieldName

public String getDDMStructureFieldName()
                                throws Exception
Throws:
Exception

getDDMStructureFieldValue

public String getDDMStructureFieldValue()
                                 throws Exception
Throws:
Exception

getDelta

public Integer getDelta()

getDisplayStyle

public String getDisplayStyle()

getDisplayStyleGroupId

public long getDisplayStyleGroupId()

getExtensions

public String[] getExtensions()

getExtensions

public String[] getExtensions(AssetRenderer assetRenderer)

getGroupIds

public long[] getGroupIds()

getMetadataFields

public String[] getMetadataFields()

getOrderByColumn1

public String getOrderByColumn1()

getOrderByColumn2

public String getOrderByColumn2()

getOrderByType1

public String getOrderByType1()

getOrderByType2

public String getOrderByType2()

getPaginationType

public String getPaginationType()

getPortletDisplayDDMTemplateId

public Long getPortletDisplayDDMTemplateId()

getPortletResource

public String getPortletResource()

getRootPortletId

public String getRootPortletId()

getRSSDelta

public int getRSSDelta()

getRSSDisplayStyle

public String getRSSDisplayStyle()

getRSSFeedType

public String getRSSFeedType()

getRSSName

public String getRSSName()

getSelectionStyle

public String getSelectionStyle()

getSocialBookmarksDisplayPosition

public String getSocialBookmarksDisplayPosition()

getSocialBookmarksDisplayStyle

public String getSocialBookmarksDisplayStyle()

isAnyAssetType

public Boolean isAnyAssetType()

isAssetLinkBehaviorShowFullContent

public boolean isAssetLinkBehaviorShowFullContent()

isAssetLinkBehaviorViewInPortlet

public boolean isAssetLinkBehaviorViewInPortlet()

isEnableCommentRatings

public boolean isEnableCommentRatings()

isEnableComments

public boolean isEnableComments()

isEnableConversions

public Boolean isEnableConversions()
                            throws Exception
Throws:
Exception

isEnableFlags

public boolean isEnableFlags()

isEnablePermissions

public Boolean isEnablePermissions()

isEnablePrint

public boolean isEnablePrint()

isEnableRatings

public boolean isEnableRatings()

isEnableRelatedAssets

public boolean isEnableRelatedAssets()

isEnableRSS

public boolean isEnableRSS()

isEnableSocialBookmarks

public boolean isEnableSocialBookmarks()

isEnableTagBasedNavigation

public boolean isEnableTagBasedNavigation()

isExcludeZeroViewCount

public boolean isExcludeZeroViewCount()

isMergeLayoutTags

public boolean isMergeLayoutTags()

isMergeURLTags

public boolean isMergeURLTags()

isOpenOfficeServerEnabled

public boolean isOpenOfficeServerEnabled()

isOrderingAndGroupingEnabled

public boolean isOrderingAndGroupingEnabled()

isOrderingByTitleEnabled

public boolean isOrderingByTitleEnabled()

isPaginationTypeNone

public boolean isPaginationTypeNone()

isPaginationTypeRegular

public boolean isPaginationTypeRegular()

isPaginationTypeSimple

public boolean isPaginationTypeSimple()

isSelectionStyleDynamic

public boolean isSelectionStyleDynamic()

isSelectionStyleEnabled

public boolean isSelectionStyleEnabled()

isSelectionStyleManual

public boolean isSelectionStyleManual()

isShowAddContentButton

public boolean isShowAddContentButton()

isShowAssetTitle

public Boolean isShowAssetTitle()

isShowAvailableLocales

public Boolean isShowAvailableLocales()

isShowContextLink

public Boolean isShowContextLink()

isShowEnableAddContentButton

public boolean isShowEnableAddContentButton()

isShowEnablePermissions

public Boolean isShowEnablePermissions()

isShowEnableRelatedAssets

public boolean isShowEnableRelatedAssets()

isShowExtraInfo

public boolean isShowExtraInfo()

isShowMetadataDescriptions

public boolean isShowMetadataDescriptions()

isShowOnlyLayoutAssets

public boolean isShowOnlyLayoutAssets()

isShowScopeSelector

public boolean isShowScopeSelector()

isShowSubtypeFieldsFilter

public boolean isShowSubtypeFieldsFilter()

isSubtypeFieldsFilterEnabled

public boolean isSubtypeFieldsFilterEnabled()

setSelectionStyle

public void setSelectionStyle(String selectionStyle)

setShowContextLink

public void setShowContextLink(Boolean showContextLink)

configureSubtypeFieldFilter

protected void configureSubtypeFieldFilter(AssetEntryQuery assetEntryQuery,
                                           Locale locale)
                                    throws Exception
Throws:
Exception

getPortletName

protected String getPortletName()

setDDMStructure

protected void setDDMStructure()
                        throws Exception
Throws:
Exception

Liferay 7.0-ce-m3