public class JournalArticleAssetRendererFactory extends com.liferay.asset.kernel.model.BaseAssetRendererFactory<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<JournalArticle> |
getAssetRenderer(JournalArticle journalArticle,
int type) |
com.liferay.asset.kernel.model.AssetRenderer<JournalArticle> |
getAssetRenderer(long classPK,
int type) |
com.liferay.asset.kernel.model.AssetRenderer<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(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(JournalArticleLocalService journalArticleLocalService) |
protected void |
setJournalArticleResourceLocalService(JournalArticleResourceLocalService journalArticleResourceLocalService) |
protected void |
setJournalArticleService(JournalArticleService journalArticleService) |
protected void |
setJournalContent(JournalContent journalContent) |
protected void |
setJournalConverter(JournalConverter journalConverter) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getClassTypeFieldName, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getTypeName, getTypeName, getURLAdd, hasClassTypeFieldNames, isActive, isCategorizable, isLinkable, isSearchable, isSelectable, isSupportsClassTypes, setCategorizable, setClassName, setLinkable, setPortletId, setSearchable, setSelectable, setSupportsClassTypes, toTuple
public static final java.lang.String TYPE
public com.liferay.asset.kernel.model.AssetRenderer<JournalArticle> getAssetRenderer(JournalArticle journalArticle, int type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetRenderer<JournalArticle> getAssetRenderer(long classPK, int type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetRenderer<JournalArticle> getAssetRenderer(long groupId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
getAssetRenderer
in interface com.liferay.asset.kernel.model.AssetRendererFactory<JournalArticle>
getAssetRenderer
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<JournalArticle>
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getClassName()
getClassName
in interface com.liferay.asset.kernel.model.AssetRendererFactory<JournalArticle>
getClassName
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<JournalArticle>
public com.liferay.asset.kernel.model.ClassTypeReader getClassTypeReader()
getClassTypeReader
in interface com.liferay.asset.kernel.model.AssetRendererFactory<JournalArticle>
getClassTypeReader
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<JournalArticle>
public java.lang.String getIconCssClass()
getIconCssClass
in interface com.liferay.asset.kernel.model.AssetRendererFactory<JournalArticle>
getIconCssClass
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<JournalArticle>
public java.lang.String getSubtypeTitle(java.util.Locale locale)
getSubtypeTitle
in interface com.liferay.asset.kernel.model.AssetRendererFactory<JournalArticle>
getSubtypeTitle
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<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<JournalArticle>
getTypeName
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<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<JournalArticle>
getURLAdd
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<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<JournalArticle>
getURLView
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<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<JournalArticle>
hasAddPermission
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<JournalArticle>
java.lang.Exception
public 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<JournalArticle>
hasPermission
in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<JournalArticle>
java.lang.Exception
public void setFieldsToDDMFormValuesConverter(com.liferay.dynamic.data.mapping.util.FieldsToDDMFormValuesConverter fieldsToDDMFormValuesConverter)
public void setServletContext(javax.servlet.ServletContext servletContext)
protected JournalArticleAssetRenderer getJournalArticleAssetRenderer(JournalArticle article)
protected void setDDMStructureLocalService(com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService)
protected void setJournalArticleLocalService(JournalArticleLocalService journalArticleLocalService)
protected void setJournalArticleResourceLocalService(JournalArticleResourceLocalService journalArticleResourceLocalService)
protected void setJournalArticleService(JournalArticleService journalArticleService)
protected void setJournalContent(JournalContent journalContent)
protected void setJournalConverter(JournalConverter journalConverter)