public class JournalArticleAssetRenderer
extends com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.journal.model.JournalArticle>
implements com.liferay.portal.kernel.trash.TrashRenderer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
JournalArticleAssetRenderer(com.liferay.journal.model.JournalArticle article) |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.journal.model.JournalArticle |
getArticle() |
protected com.liferay.journal.model.JournalArticleDisplay |
getArticleDisplay(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
com.liferay.journal.model.JournalArticle |
getAssetObject() |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getClassName() |
long |
getClassPK() |
static long |
getClassPK(com.liferay.journal.model.JournalArticle article) |
com.liferay.asset.kernel.model.DDMFormValuesReader |
getDDMFormValuesReader() |
java.lang.String |
getDiscussionPath() |
java.util.Date |
getDisplayDate() |
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(com.liferay.journal.util.JournalContent journalContent) |
void |
setJournalConverter(com.liferay.journal.util.JournalConverter journalConverter) |
getResourceBundleLoader, getServletContext, setServletContextgetAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getControlPanelPlid, getControlPanelPlid, getIconCssClass, getIconPath, getLocale, getNewName, getPreviewPath, getSearchSummary, getSummary, getSummary, getSupportedConversions, getURLDownload, getURLEdit, getURLImagePreview, getURLView, getURLViewInContext, isCommentable, isPreviewInContext, isRatable, renderActions, setAddToPagePreferences, setAssetRendererTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNewName, getSummary, renderActionsgetIconCssClass, getIconPathgetAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getNewName, getPreviewPath, getSearchSummary, getSummary, getSummary, getSupportedConversions, getURLDownload, getURLEdit, getURLImagePreview, getURLView, isCommentable, isPreviewInContext, isRatable, setAddToPagePreferencespublic static final java.lang.String TYPE
public JournalArticleAssetRenderer(com.liferay.journal.model.JournalArticle article)
public static long getClassPK(com.liferay.journal.model.JournalArticle article)
public com.liferay.journal.model.JournalArticle getArticle()
public com.liferay.journal.model.JournalArticle getAssetObject()
getAssetObject in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getAvailableLanguageIds in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getClassName()
getClassName in interface com.liferay.asset.kernel.model.Rendererpublic long getClassPK()
getClassPK in interface com.liferay.asset.kernel.model.Rendererpublic com.liferay.asset.kernel.model.DDMFormValuesReader getDDMFormValuesReader()
getDDMFormValuesReader in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getDDMFormValuesReader in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getDiscussionPath()
getDiscussionPath in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getDiscussionPath in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public java.util.Date getDisplayDate()
getDisplayDate in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getDisplayDate in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public long getGroupId()
getGroupId in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getJspPath(javax.servlet.http.HttpServletRequest request,
java.lang.String template)
getJspPath in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getPortletId()
getPortletId in interface com.liferay.portal.kernel.trash.TrashRendererpublic int getStatus()
getStatus in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getStatus in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getSummary(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
getSummary in interface com.liferay.asset.kernel.model.Rendererpublic java.lang.String getThumbnailPath(javax.portlet.PortletRequest portletRequest)
throws java.lang.Exception
getThumbnailPath in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getThumbnailPath in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface com.liferay.asset.kernel.model.Rendererpublic java.lang.String getType()
getType in interface com.liferay.portal.kernel.trash.TrashRendererpublic 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<com.liferay.journal.model.JournalArticle>getURLEdit in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic 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<com.liferay.journal.model.JournalArticle>getURLExport in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic java.lang.String getUrlTitle()
getUrlTitle in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getUrlTitle in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.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<com.liferay.journal.model.JournalArticle>getURLViewDiffs in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic 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<com.liferay.journal.model.JournalArticle>getURLViewInContext in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic long getUserId()
getUserId in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getUserName()
getUserName in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getUuid()
getUuid in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>public java.lang.String getViewInContextMessage()
getViewInContextMessage in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>getViewInContextMessage in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.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<com.liferay.journal.model.JournalArticle>hasEditPermission in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>com.liferay.portal.kernel.exception.PortalExceptionpublic 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<com.liferay.journal.model.JournalArticle>hasViewPermission in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>com.liferay.portal.kernel.exception.PortalExceptionpublic 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.Rendererinclude in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic boolean isConvertible()
isConvertible in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>isConvertible in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public boolean isDisplayable()
isDisplayable in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>isDisplayable in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public boolean isLocalizable()
isLocalizable in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>isLocalizable in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public boolean isPrintable()
isPrintable in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle>isPrintable in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.journal.model.JournalArticle>public void setFieldsToDDMFormValuesConverter(com.liferay.dynamic.data.mapping.util.FieldsToDDMFormValuesConverter fieldsToDDMFormValuesConverter)
public void setJournalContent(com.liferay.journal.util.JournalContent journalContent)
public void setJournalConverter(com.liferay.journal.util.JournalConverter journalConverter)
protected com.liferay.journal.model.JournalArticleDisplay getArticleDisplay(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected 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.PortalExceptionprotected com.liferay.portal.kernel.portlet.PortletRequestModel getPortletRequestModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)