|
static String | getString (Object entity, Object wrapper, String label, EntityInfoType type, LinkType link) |
|
static String | getString (Object entity, Object wrapper, String label, EntityInfoType type, LinkType link, Map< String, Object > args) |
|
static String | getTextString (Object entity, Object wrapper, String label, EntityInfoType type, LinkType link) |
|
static String | getTextString (Object entity, Object wrapper, String label, EntityInfoType type, LinkType link, Map< String, Object > args) |
|
static boolean | writeEntityInfo (Writer out, String path, EntityInfoType type, LinkType link) |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 35 of file EntitiesInfo.java.
◆ getString() [1/2]
static String org.turro.action.EntitiesInfo.getString |
( |
Object |
entity, |
|
|
Object |
wrapper, |
|
|
String |
label, |
|
|
EntityInfoType |
type, |
|
|
LinkType |
link |
|
) |
| |
|
static |
Definition at line 37 of file EntitiesInfo.java.
38 return getString(entity, wrapper, label, type, link,
null);
static String getString(Object entity, Object wrapper, String label, EntityInfoType type, LinkType link)
◆ getString() [2/2]
static String org.turro.action.EntitiesInfo.getString |
( |
Object |
entity, |
|
|
Object |
wrapper, |
|
|
String |
label, |
|
|
EntityInfoType |
type, |
|
|
LinkType |
link, |
|
|
Map< String, Object > |
args |
|
) |
| |
|
static |
Definition at line 41 of file EntitiesInfo.java.
42 ElephantMarker marker =
new ElephantMarker(Application.getApplication().getConstructor());
43 marker.put(label, entity);
44 marker.put(
"wrapper", wrapper);
45 marker.put(
"link", link.toString());
46 marker.put(
"type", type.toString());
47 marker.put(
"iee", Entities.getController(entity));
51 return marker.parse(label,
"entityInfo");
◆ getTextString() [1/2]
static String org.turro.action.EntitiesInfo.getTextString |
( |
Object |
entity, |
|
|
Object |
wrapper, |
|
|
String |
label, |
|
|
EntityInfoType |
type, |
|
|
LinkType |
link |
|
) |
| |
|
static |
Definition at line 54 of file EntitiesInfo.java.
55 return getTextString(entity, wrapper, label, type, link,
null);
static String getTextString(Object entity, Object wrapper, String label, EntityInfoType type, LinkType link)
◆ getTextString() [2/2]
static String org.turro.action.EntitiesInfo.getTextString |
( |
Object |
entity, |
|
|
Object |
wrapper, |
|
|
String |
label, |
|
|
EntityInfoType |
type, |
|
|
LinkType |
link, |
|
|
Map< String, Object > |
args |
|
) |
| |
|
static |
◆ writeEntityInfo()
static boolean org.turro.action.EntitiesInfo.writeEntityInfo |
( |
Writer |
out, |
|
|
String |
path, |
|
|
EntityInfoType |
type, |
|
|
LinkType |
link |
|
) |
| |
|
static |
Definition at line 64 of file EntitiesInfo.java.
65 Path entityPath =
new Path(path);
66 for(IEntityInfo iEntity : Instances.cached().byAnnotation(EntityInfo.class, IEntityInfo.class)) {
67 if(iEntity.writeEntityInfo(out, entityPath, type, link)) {
The documentation for this class was generated from the following file: