org.riotfamily.components.view
Class InplaceMacroHelper
java.lang.Object
org.riotfamily.components.view.InplaceMacroHelper
public class InplaceMacroHelper
- extends Object
- Since:
- 6.5
- Author:
- Felix Gnass [fgnass at neteye dot de]
Method Summary |
String |
getDefaultListId(Object object)
|
String |
getInitScript()
|
String |
getObjectId(String listId,
Object object)
|
List<String> |
getToolbarScripts()
|
boolean |
isEditGranted()
|
boolean |
isEditMode()
|
boolean |
isLiveModePreview()
|
boolean |
isPublishGranted()
|
String |
renderComponentList(ContentContainer container,
String key,
Integer minComponents,
Integer maxComponents,
List<String> initalComponentTypes,
List<?> validComponentTypes)
|
String |
renderNestedComponentList(Component parent,
String key,
Integer minComponents,
Integer maxComponents,
List<String> initalComponentTypes,
List<?> validComponentTypes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InplaceMacroHelper
public InplaceMacroHelper(HttpServletRequest request,
HttpServletResponse response,
List<String> toolbarScripts,
List<DynamicToolbarScript> dynamicToolbarScripts,
ComponentListRenderer componentListRenderer,
RiotDaoService riotDaoService)
isEditMode
public boolean isEditMode()
isLiveModePreview
public boolean isLiveModePreview()
getToolbarScripts
public List<String> getToolbarScripts()
isEditGranted
public boolean isEditGranted()
isPublishGranted
public boolean isPublishGranted()
getInitScript
public String getInitScript()
getObjectId
public String getObjectId(String listId,
Object object)
getDefaultListId
public String getDefaultListId(Object object)
renderComponentList
public String renderComponentList(ContentContainer container,
String key,
Integer minComponents,
Integer maxComponents,
List<String> initalComponentTypes,
List<?> validComponentTypes)
throws Exception
- Throws:
Exception
renderNestedComponentList
public String renderNestedComponentList(Component parent,
String key,
Integer minComponents,
Integer maxComponents,
List<String> initalComponentTypes,
List<?> validComponentTypes)
throws Exception
- Throws:
Exception