Package se.conciliate.extensions.store
Interface MTListHeader
- All Superinterfaces:
Comparable<MTNamedObject>
,MTNamedObject
- All Known Subinterfaces:
MTList
- Author:
- Per-Erik
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionexpand()
Returns aMTList
for this list.Returns a string representation of the action object that this list works with or the string "STATIC" if this is a static list (a static list has no action object).Returns the columns that this list will generate.Returns the time when the list was last modified.Returns the script for this list.boolean
Returns true if this list-script was generated by a ui.Methods inherited from interface se.conciliate.extensions.store.MTNamedObject
compareTo, getID, getParentRevisionID, getTitle, getTitle, getUUID
-
Method Details
-
getLastModified
Date getLastModified()Returns the time when the list was last modified.- Returns:
- The last modified time.
-
isUIGenerated
boolean isUIGenerated()Returns true if this list-script was generated by a ui. This is usefull information when loading the list into a ui. That is, it answers the question: "Can this list be easily loaded to a ui or do I have to present the list-script as a string in a text editor?".- Returns:
- true if this list-script was generated by a ui.
-
getActionObject
String getActionObject()Returns a string representation of the action object that this list works with or the string "STATIC" if this is a static list (a static list has no action object).- Returns:
- the action object or the string "STATIC" (without citation marks).
-
getScript
String getScript()Returns the script for this list.- Since:
- 3.0
-
getColumns
Returns the columns that this list will generate.- Since:
- 3.0
-
expand
Returns aMTList
for this list. Beware that this might require querying the storage layer for more data.- Returns:
- A
MTList
representing this list. - Throws:
MTAccessException
- Since:
- 3.0
-