|
Liferay 7.0-ga1 portal-kernel | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.asset.kernel.model.BaseAssetRendererFactory<T>
public abstract class BaseAssetRendererFactory<T>
| Field Summary |
|---|
| Fields inherited from interface com.liferay.asset.kernel.model.AssetRendererFactory |
|---|
TYPE_LATEST, TYPE_LATEST_APPROVED |
| Constructor Summary | |
|---|---|
BaseAssetRendererFactory()
|
|
| Method Summary | |
|---|---|
AssetEntry |
getAssetEntry(long assetEntryId)
|
AssetEntry |
getAssetEntry(String className,
long classPK)
|
AssetRenderer<T> |
getAssetRenderer(long classPK)
|
AssetRenderer<T> |
getAssetRenderer(long groupId,
String urlTitle)
|
String |
getClassName()
|
long |
getClassNameId()
|
Tuple |
getClassTypeFieldName(long classTypeId,
String fieldName,
Locale locale)
Deprecated. |
List<Tuple> |
getClassTypeFieldNames(long classTypeId,
Locale locale,
int start,
int end)
Deprecated. |
int |
getClassTypeFieldNamesCount(long classTypeId,
Locale locale)
Deprecated. |
ClassTypeReader |
getClassTypeReader()
|
Map<Long,String> |
getClassTypes(long[] groupIds,
Locale locale)
Deprecated. |
protected long |
getControlPanelPlid(ThemeDisplay themeDisplay)
|
protected Group |
getGroup(LiferayPortletRequest liferayPortletRequest)
|
String |
getIconCssClass()
|
String |
getIconPath(PortletRequest portletRequest)
Deprecated. As of 7.0.0, with no direct replacement |
String |
getPortletId()
|
String |
getSubtypeTitle(Locale locale)
|
String |
getTypeName(Locale locale)
|
String |
getTypeName(Locale locale,
boolean hasSubtypes)
Deprecated. As of 7.0.0, replaced by getTypeName(Locale) |
String |
getTypeName(Locale locale,
long subtypeId)
|
PortletURL |
getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
Deprecated. |
PortletURL |
getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
long classTypeId)
|
PortletURL |
getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState)
|
boolean |
hasAddPermission(PermissionChecker permissionChecker,
long groupId,
long classTypeId)
|
boolean |
hasClassTypeFieldNames(long classTypeId,
Locale locale)
Deprecated. |
boolean |
hasPermission(PermissionChecker permissionChecker,
long classPK,
String actionId)
|
boolean |
isActive(long companyId)
|
boolean |
isCategorizable()
|
boolean |
isLinkable()
|
boolean |
isSearchable()
|
boolean |
isSelectable()
|
boolean |
isSupportsClassTypes()
|
protected void |
setCategorizable(boolean categorizable)
|
void |
setClassName(String className)
|
protected void |
setLinkable(boolean linkable)
|
void |
setPortletId(String portletId)
|
protected void |
setSearchable(boolean searchable)
|
protected void |
setSelectable(boolean selectable)
|
protected void |
setSupportsClassTypes(boolean supportsClassTypes)
|
protected Tuple |
toTuple(ClassTypeField classTypeField)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.asset.kernel.model.AssetRendererFactory |
|---|
getAssetRenderer, getType |
| Constructor Detail |
|---|
public BaseAssetRendererFactory()
| Method Detail |
|---|
public AssetEntry getAssetEntry(long assetEntryId)
throws PortalException
getAssetEntry in interface AssetRendererFactory<T>PortalException
public AssetEntry getAssetEntry(String className,
long classPK)
throws PortalException
getAssetEntry in interface AssetRendererFactory<T>PortalException
public AssetRenderer<T> getAssetRenderer(long classPK)
throws PortalException
getAssetRenderer in interface AssetRendererFactory<T>PortalException
public AssetRenderer<T> getAssetRenderer(long groupId,
String urlTitle)
throws PortalException
getAssetRenderer in interface AssetRendererFactory<T>PortalExceptionpublic String getClassName()
getClassName in interface AssetRendererFactory<T>public long getClassNameId()
getClassNameId in interface AssetRendererFactory<T>
@Deprecated
public Tuple getClassTypeFieldName(long classTypeId,
String fieldName,
Locale locale)
throws Exception
getClassTypeFieldName in interface AssetRendererFactory<T>Exception
@Deprecated
public List<Tuple> getClassTypeFieldNames(long classTypeId,
Locale locale,
int start,
int end)
throws Exception
getClassTypeFieldNames in interface AssetRendererFactory<T>Exception
@Deprecated
public int getClassTypeFieldNamesCount(long classTypeId,
Locale locale)
throws Exception
getClassTypeFieldNamesCount in interface AssetRendererFactory<T>Exceptionpublic ClassTypeReader getClassTypeReader()
getClassTypeReader in interface AssetRendererFactory<T>
@Deprecated
public Map<Long,String> getClassTypes(long[] groupIds,
Locale locale)
throws Exception
getClassTypes in interface AssetRendererFactory<T>Exceptionpublic String getIconCssClass()
getIconCssClass in interface AssetRendererFactory<T>@Deprecated public String getIconPath(PortletRequest portletRequest)
getIconPath in interface AssetRendererFactory<T>public String getPortletId()
getPortletId in interface AssetRendererFactory<T>public String getSubtypeTitle(Locale locale)
getSubtypeTitle in interface AssetRendererFactory<T>public String getTypeName(Locale locale)
getTypeName in interface AssetRendererFactory<T>
@Deprecated
public String getTypeName(Locale locale,
boolean hasSubtypes)
getTypeName(Locale)
getTypeName in interface AssetRendererFactory<T>
public String getTypeName(Locale locale,
long subtypeId)
getTypeName in interface AssetRendererFactory<T>
@Deprecated
public PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
throws PortalException
getURLAdd in interface AssetRendererFactory<T>PortalException
public PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
long classTypeId)
throws PortalException
getURLAdd in interface AssetRendererFactory<T>PortalException
public PortletURL getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState)
throws PortalException
getURLView in interface AssetRendererFactory<T>PortalException
public boolean hasAddPermission(PermissionChecker permissionChecker,
long groupId,
long classTypeId)
throws Exception
hasAddPermission in interface AssetRendererFactory<T>Exception
@Deprecated
public boolean hasClassTypeFieldNames(long classTypeId,
Locale locale)
throws Exception
hasClassTypeFieldNames in interface AssetRendererFactory<T>Exception
public boolean hasPermission(PermissionChecker permissionChecker,
long classPK,
String actionId)
throws Exception
hasPermission in interface AssetRendererFactory<T>Exceptionpublic boolean isActive(long companyId)
isActive in interface AssetRendererFactory<T>public boolean isCategorizable()
isCategorizable in interface AssetRendererFactory<T>public boolean isLinkable()
isLinkable in interface AssetRendererFactory<T>public boolean isSearchable()
isSearchable in interface AssetRendererFactory<T>public boolean isSelectable()
isSelectable in interface AssetRendererFactory<T>public boolean isSupportsClassTypes()
isSupportsClassTypes in interface AssetRendererFactory<T>public void setClassName(String className)
setClassName in interface AssetRendererFactory<T>public void setPortletId(String portletId)
setPortletId in interface AssetRendererFactory<T>
protected long getControlPanelPlid(ThemeDisplay themeDisplay)
throws PortalException
PortalExceptionprotected Group getGroup(LiferayPortletRequest liferayPortletRequest)
protected void setCategorizable(boolean categorizable)
protected void setLinkable(boolean linkable)
protected void setSearchable(boolean searchable)
protected void setSelectable(boolean selectable)
protected void setSupportsClassTypes(boolean supportsClassTypes)
protected Tuple toTuple(ClassTypeField classTypeField)
|
Liferay 7.0-ga1 portal-kernel | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||