|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.control.LyController
leon.control.content.LyImportContentController
public abstract class LyImportContentController
This class is the shared code between import on logical level.
LyImportController
,
LyImportTableController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyImportContentController(LySession session,
LyController parent,
LyAction action)
Constructor. |
Method Summary | |
---|---|
LyAction |
getAction()
Accessor to the action associated to this controller. |
LyClassInfo |
getClassInfo()
Class info : content description. |
LyInfoList<LyFieldInfo> |
getFields()
Accessor to the list of fields for import. |
abstract LyObjectList |
getInternalObjectList(LyObject importedObject)
Accessor to the Internal objects (Struct objects) generated during the import This objects are used by imported objects in relations. |
java.lang.String |
getLastErrorMessage()
Accessor to the Last error that was shown during import This may be used to check by code if import was Ok. |
LyViewController |
getViewController()
Accessor to the view controller (Frame or dialog controller) which is the container of this view. |
abstract LyObjectList |
loadData(java.io.InputStream istream)
Load the XML data from the specified stream. |
abstract LyObjectList |
loadData(java.io.Reader reader)
Load the XML data from the specified stream. |
LyObjectList |
loadData(java.lang.String buffer)
Load the XML data from the specified buffer as an XML String. |
LyObjectList |
loadDataFile(java.lang.String filePath)
Load the XML data from the specified file. |
void |
setClassInfo(LyClassInfo classInfo)
Class info : content description. |
void |
setFields(LyInfoList<LyFieldInfo> fields)
Accessor to the list of fields for import. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyImportContentController(LySession session, LyController parent, LyAction action)
session
- current session associated to the controller. The controller automatically
registers on the specified session.parent
- parent controller (or null for 'root' controller).action
- related action.Method Detail |
---|
public LyAction getAction()
public LyObjectList loadData(java.lang.String buffer)
buffer
- current buffer to read
public LyObjectList loadDataFile(java.lang.String filePath)
filePath
- filename to read.
public abstract LyObjectList loadData(java.io.InputStream istream)
istream
- current XML Stream to read
public abstract LyObjectList loadData(java.io.Reader reader)
reader
- current XML Stream to read
public abstract LyObjectList getInternalObjectList(LyObject importedObject)
importedObject
- real imported object which caused the creation of these internal
objects
public void setClassInfo(LyClassInfo classInfo)
classInfo
- the classInfo being importedpublic LyClassInfo getClassInfo()
public void setFields(LyInfoList<LyFieldInfo> fields)
fields
- the list of fields to be read from the import filepublic LyInfoList<LyFieldInfo> getFields()
public LyViewController getViewController()
getViewController
in class LyController
public java.lang.String getLastErrorMessage()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |