public class JournalArticleAssetRendererFactory
extends com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
JournalArticleAssetRendererFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle> |
getAssetRenderer(long classPK,
int type) |
com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle> |
getAssetRenderer(long groupId,
java.lang.String urlTitle) |
java.lang.String |
getClassName() |
com.liferay.asset.kernel.model.ClassTypeReader |
getClassTypeReader() |
java.lang.String |
getIconCssClass() |
protected JournalArticleAssetRenderer |
getJournalArticleAssetRenderer(com.liferay.journal.model.JournalArticle article) |
java.lang.String |
getSubtypeTitle(java.util.Locale locale) |
java.lang.String |
getType() |
java.lang.String |
getTypeName(java.util.Locale locale,
long subtypeId) |
javax.portlet.PortletURL |
getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
long classTypeId) |
javax.portlet.PortletURL |
getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
boolean |
hasAddPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long classTypeId) |
boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId) |
protected void |
setDDMStructureLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService) |
void |
setFieldsToDDMFormValuesConverter(com.liferay.dynamic.data.mapping.util.FieldsToDDMFormValuesConverter fieldsToDDMFormValuesConverter) |
protected void |
setJournalArticleLocalService(com.liferay.journal.service.JournalArticleLocalService journalArticleLocalService) |
protected void |
setJournalArticleResourceLocalService(com.liferay.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) |
protected void |
setJournalArticleService(com.liferay.journal.service.JournalArticleService journalArticleService) |
protected void |
setJournalContent(com.liferay.journal.util.JournalContent journalContent) |
protected void |
setJournalConverter(com.liferay.journal.util.JournalConverter journalConverter) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getClassTypeFieldName, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypes, getControlPanelPlid, getGroup, getIconPath, getPortletId, getTypeName, getTypeName, getURLAdd, hasClassTypeFieldNames, isActive, isCategorizable, isLinkable, isSearchable, isSelectable, isSupportsClassTypes, setCategorizable, setClassName, setLinkable, setPortletId, setSearchable, setSelectable, setSupportsClassTypes, toTuplepublic static final java.lang.String TYPE
public com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle> getAssetRenderer(long classPK,
int type)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.asset.kernel.model.AssetRenderer<com.liferay.journal.model.JournalArticle> getAssetRenderer(long groupId,
java.lang.String urlTitle)
throws com.liferay.portal.kernel.exception.PortalException
getAssetRenderer in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getAssetRenderer in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getClassName()
getClassName in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getClassName in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>public com.liferay.asset.kernel.model.ClassTypeReader getClassTypeReader()
getClassTypeReader in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getClassTypeReader in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>public java.lang.String getIconCssClass()
getIconCssClass in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getIconCssClass in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>public java.lang.String getSubtypeTitle(java.util.Locale locale)
getSubtypeTitle in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getSubtypeTitle in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>public java.lang.String getType()
public java.lang.String getTypeName(java.util.Locale locale,
long subtypeId)
getTypeName in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getTypeName in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>public javax.portlet.PortletURL getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
long classTypeId)
getURLAdd in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getURLAdd in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>public javax.portlet.PortletURL getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
getURLView in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>getURLView in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>public boolean hasAddPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long classTypeId)
throws java.lang.Exception
hasAddPermission in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>hasAddPermission in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
throws java.lang.Exception
hasPermission in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.journal.model.JournalArticle>hasPermission in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.journal.model.JournalArticle>java.lang.Exceptionpublic void setFieldsToDDMFormValuesConverter(com.liferay.dynamic.data.mapping.util.FieldsToDDMFormValuesConverter fieldsToDDMFormValuesConverter)
public void setServletContext(javax.servlet.ServletContext servletContext)
protected JournalArticleAssetRenderer getJournalArticleAssetRenderer(com.liferay.journal.model.JournalArticle article)
protected void setDDMStructureLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService)
protected void setJournalArticleLocalService(com.liferay.journal.service.JournalArticleLocalService journalArticleLocalService)
protected void setJournalArticleResourceLocalService(com.liferay.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService)
protected void setJournalArticleService(com.liferay.journal.service.JournalArticleService journalArticleService)
protected void setJournalContent(com.liferay.journal.util.JournalContent journalContent)
protected void setJournalConverter(com.liferay.journal.util.JournalConverter journalConverter)