public class JournalArticleAssetRenderer extends com.liferay.asset.kernel.model.BaseJSPAssetRenderer<JournalArticle> implements com.liferay.portal.kernel.trash.TrashRenderer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE |
Constructor and Description |
---|
JournalArticleAssetRenderer(JournalArticle article) |
Modifier and Type | Method and Description |
---|---|
JournalArticle |
getArticle() |
protected JournalArticleDisplay |
getArticleDisplay(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
JournalArticle |
getAssetObject() |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getClassName() |
long |
getClassPK() |
static long |
getClassPK(JournalArticle article) |
com.liferay.asset.kernel.model.DDMFormValuesReader |
getDDMFormValuesReader() |
java.lang.String |
getDiscussionPath() |
java.util.Date |
getDisplayDate()
Deprecated.
As of 1.3.0, with no direct replacement
|
long |
getGroupId() |
protected java.lang.String |
getHitLayoutURL(boolean privateLayout,
java.lang.String noSuchEntryRedirect,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getJspPath(javax.servlet.http.HttpServletRequest request,
java.lang.String template) |
java.lang.String |
getPortletId() |
protected com.liferay.portal.kernel.portlet.PortletRequestModel |
getPortletRequestModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
int |
getStatus() |
java.lang.String |
getSummary(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
java.lang.String |
getThumbnailPath(javax.portlet.PortletRequest portletRequest) |
java.lang.String |
getTitle(java.util.Locale locale) |
java.lang.String |
getType() |
javax.portlet.PortletURL |
getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) |
javax.portlet.PortletURL |
getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) |
java.lang.String |
getUrlTitle() |
javax.portlet.PortletURL |
getURLViewDiffs(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) |
java.lang.String |
getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
java.lang.String noSuchEntryRedirect) |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUuid() |
java.lang.String |
getViewInContextMessage() |
boolean |
hasEditPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
hasViewPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
include(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String template) |
boolean |
isConvertible() |
boolean |
isDisplayable() |
boolean |
isLocalizable() |
boolean |
isPrintable() |
void |
setFieldsToDDMFormValuesConverter(com.liferay.dynamic.data.mapping.util.FieldsToDDMFormValuesConverter fieldsToDDMFormValuesConverter) |
void |
setJournalContent(JournalContent journalContent) |
void |
setJournalConverter(JournalConverter journalConverter) |
protected void |
setJournalServiceConfiguration()
Deprecated.
As of 1.7.0, with no direct replacement
|
getResourceBundleLoader, getServletContext, setServletContext
getAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getControlPanelPlid, getControlPanelPlid, getIconCssClass, getIconPath, getLocale, getNewName, getPreviewPath, getSearchSummary, getSummary, getSummary, getSupportedConversions, getURLDownload, getURLEdit, getURLImagePreview, getURLView, getURLViewInContext, isCommentable, isPreviewInContext, isRatable, renderActions, setAddToPagePreferences, setAssetRendererType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNewName, getSummary, renderActions
getIconCssClass, getIconPath
getAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getNewName, getPreviewPath, getSearchSummary, getSummary, getSummary, getSupportedConversions, getURLDownload, getURLEdit, getURLImagePreview, getURLView, isCommentable, isPreviewInContext, isRatable, setAddToPagePreferences
public static final java.lang.String TYPE
public JournalArticleAssetRenderer(JournalArticle article)
public static long getClassPK(JournalArticle article)
public JournalArticle getArticle()
public JournalArticle getAssetObject()
getAssetObject
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getAvailableLanguageIds
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public java.lang.String getClassName()
getClassName
in interface com.liferay.asset.kernel.model.Renderer
public long getClassPK()
getClassPK
in interface com.liferay.asset.kernel.model.Renderer
public com.liferay.asset.kernel.model.DDMFormValuesReader getDDMFormValuesReader()
getDDMFormValuesReader
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getDDMFormValuesReader
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public java.lang.String getDiscussionPath()
getDiscussionPath
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getDiscussionPath
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
@Deprecated public java.util.Date getDisplayDate()
getDisplayDate
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getDisplayDate
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public long getGroupId()
getGroupId
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
public java.lang.String getJspPath(javax.servlet.http.HttpServletRequest request, java.lang.String template)
getJspPath
in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<JournalArticle>
public java.lang.String getPortletId()
getPortletId
in interface com.liferay.portal.kernel.trash.TrashRenderer
public int getStatus()
getStatus
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getStatus
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public java.lang.String getSummary(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
getSummary
in interface com.liferay.asset.kernel.model.Renderer
public java.lang.String getThumbnailPath(javax.portlet.PortletRequest portletRequest) throws java.lang.Exception
getThumbnailPath
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getThumbnailPath
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
java.lang.Exception
public java.lang.String getTitle(java.util.Locale locale)
getTitle
in interface com.liferay.asset.kernel.model.Renderer
public java.lang.String getType()
getType
in interface com.liferay.portal.kernel.trash.TrashRenderer
public javax.portlet.PortletURL getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) throws java.lang.Exception
getURLEdit
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getURLEdit
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
java.lang.Exception
public javax.portlet.PortletURL getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) throws java.lang.Exception
getURLExport
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getURLExport
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
java.lang.Exception
public java.lang.String getUrlTitle()
getUrlTitle
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getUrlTitle
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public javax.portlet.PortletURL getURLViewDiffs(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) throws java.lang.Exception
getURLViewDiffs
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getURLViewDiffs
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
java.lang.Exception
public java.lang.String getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse, java.lang.String noSuchEntryRedirect) throws java.lang.Exception
getURLViewInContext
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getURLViewInContext
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
java.lang.Exception
public long getUserId()
getUserId
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
public java.lang.String getUserName()
getUserName
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
public java.lang.String getUuid()
getUuid
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
public java.lang.String getViewInContextMessage()
getViewInContextMessage
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
getViewInContextMessage
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public boolean hasEditPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) throws com.liferay.portal.kernel.exception.PortalException
hasEditPermission
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
hasEditPermission
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
com.liferay.portal.kernel.exception.PortalException
public boolean hasViewPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) throws com.liferay.portal.kernel.exception.PortalException
hasViewPermission
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
hasViewPermission
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
com.liferay.portal.kernel.exception.PortalException
public boolean include(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String template) throws java.lang.Exception
include
in interface com.liferay.asset.kernel.model.Renderer
include
in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<JournalArticle>
java.lang.Exception
public boolean isConvertible()
isConvertible
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
isConvertible
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public boolean isDisplayable()
isDisplayable
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
isDisplayable
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public boolean isLocalizable()
isLocalizable
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
isLocalizable
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public boolean isPrintable()
isPrintable
in interface com.liferay.asset.kernel.model.AssetRenderer<JournalArticle>
isPrintable
in class com.liferay.asset.kernel.model.BaseAssetRenderer<JournalArticle>
public void setFieldsToDDMFormValuesConverter(com.liferay.dynamic.data.mapping.util.FieldsToDDMFormValuesConverter fieldsToDDMFormValuesConverter)
public void setJournalContent(JournalContent journalContent)
public void setJournalConverter(JournalConverter journalConverter)
protected JournalArticleDisplay getArticleDisplay(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected java.lang.String getHitLayoutURL(boolean privateLayout, java.lang.String noSuchEntryRedirect, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.portlet.PortletRequestModel getPortletRequestModel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@Deprecated protected void setJournalServiceConfiguration()