public class CalendarBookingAssetRendererFactory
extends com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.calendar.model.CalendarBooking>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
CalendarBookingAssetRendererFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.asset.kernel.model.AssetRenderer<com.liferay.calendar.model.CalendarBooking> |
getAssetRenderer(long classPK,
int type) |
java.lang.String |
getClassName() |
java.lang.String |
getIconCssClass() |
java.lang.String |
getType() |
javax.portlet.PortletURL |
getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
long classTypeId) |
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 |
setCalendarBookingLocalService(com.liferay.calendar.service.CalendarBookingLocalService calendarBookingLocalService) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
getAssetEntry, getAssetEntry, getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypeFieldName, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypeReader, getClassTypes, getControlPanelPlid, getGroup, getIconPath, getPortletId, getSubtypeTitle, getTypeName, getTypeName, getTypeName, getURLAdd, getURLView, 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.calendar.model.CalendarBooking> getAssetRenderer(long classPK,
int type)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getClassName()
getClassName in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.calendar.model.CalendarBooking>getClassName in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.calendar.model.CalendarBooking>public java.lang.String getIconCssClass()
getIconCssClass in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.calendar.model.CalendarBooking>getIconCssClass in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.calendar.model.CalendarBooking>public java.lang.String getType()
public javax.portlet.PortletURL getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
long classTypeId)
throws com.liferay.portal.kernel.exception.PortalException
getURLAdd in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.calendar.model.CalendarBooking>getURLAdd in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.calendar.model.CalendarBooking>com.liferay.portal.kernel.exception.PortalExceptionpublic 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.calendar.model.CalendarBooking>hasAddPermission in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.calendar.model.CalendarBooking>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.calendar.model.CalendarBooking>hasPermission in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.calendar.model.CalendarBooking>java.lang.Exceptionpublic void setServletContext(javax.servlet.ServletContext servletContext)
protected void setCalendarBookingLocalService(com.liferay.calendar.service.CalendarBookingLocalService calendarBookingLocalService)