org.riotfamily.riot.editor
Class EditorDefinitionUtils
java.lang.Object
org.riotfamily.riot.editor.EditorDefinitionUtils
public final class EditorDefinitionUtils
- extends Object
Method Summary |
static ListDefinition |
getListDefinition(EditorDefinition def)
|
static ListDefinition |
getListDefinition(EditorRepository repository,
String editorId)
|
static String |
getListUrl(EditorDefinition def,
Object bean,
MessageResolver messageResolver)
|
static String |
getListUrl(EditorDefinition def,
String objectId,
String parentId,
String parentEditorId,
MessageResolver messageResolver)
|
static ListDefinition |
getNextListDefinition(ListDefinition start,
ListDefinition destination)
|
static String |
getObjectId(EditorDefinition def,
Object item)
|
static Object |
getParent(EditorDefinition def,
Object bean)
|
static String |
getParentId(EditorDefinition def,
Object bean)
|
static ListDefinition |
getParentListDefinition(EditorDefinition def)
|
static ListDefinition |
getParentListDefinition(EditorDefinition def,
String objectId)
|
static ListDefinition |
getRootListDefinition(EditorDefinition def)
|
static Object |
loadBean(EditorDefinition def,
String objectId)
|
static Object |
loadParent(EditorDefinition def,
String parentId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getListDefinition
public static ListDefinition getListDefinition(EditorRepository repository,
String editorId)
getListDefinition
public static ListDefinition getListDefinition(EditorDefinition def)
getParentListDefinition
public static ListDefinition getParentListDefinition(EditorDefinition def)
getRootListDefinition
public static ListDefinition getRootListDefinition(EditorDefinition def)
getNextListDefinition
public static ListDefinition getNextListDefinition(ListDefinition start,
ListDefinition destination)
getObjectId
public static String getObjectId(EditorDefinition def,
Object item)
loadBean
public static Object loadBean(EditorDefinition def,
String objectId)
getParent
public static Object getParent(EditorDefinition def,
Object bean)
getParentId
public static String getParentId(EditorDefinition def,
Object bean)
getParentListDefinition
public static ListDefinition getParentListDefinition(EditorDefinition def,
String objectId)
loadParent
public static Object loadParent(EditorDefinition def,
String parentId)
getListUrl
public static String getListUrl(EditorDefinition def,
Object bean,
MessageResolver messageResolver)
getListUrl
public static String getListUrl(EditorDefinition def,
String objectId,
String parentId,
String parentEditorId,
MessageResolver messageResolver)