|
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.info.save.LyFormSave
leon.info.save.LyFormSaveFile
public class LyFormSaveFile
Save of a field controller
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.save.LyFormSave |
---|
LyFormSave.Type |
Field Summary | |
---|---|
LyAction |
_action
Action that created the save. |
java.lang.String |
_file
File containing the form save. |
static java.lang.String |
PREFIX
|
Fields inherited from class leon.info.save.LyFormSave |
---|
_classInfo, _datas, _fieldSaves, _objectId, _type |
Fields inherited from interface leon.info.infointerface.LyExtraInfoInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyFormSaveFile(LyAction action,
java.lang.String user,
LyFormSave save)
|
|
LyFormSaveFile(LyAction action,
java.lang.String user,
java.lang.String path)
|
Method Summary | |
---|---|
boolean |
deleteFile()
Method for deleting extra info file. |
void |
free()
Method for freeing extra info (and sub-infos). |
java.lang.String |
getFile()
Accessor to the file of this info. |
static java.lang.String |
getFileName(LyAction action,
LyClassInfo classInfo,
LyObjectId objectId,
java.lang.String userId)
|
java.lang.String |
getId()
Accessor to the id of this info. |
static java.lang.String |
getId(LyAction action,
LyClassInfo classInfo,
LyObjectId objectId)
|
java.lang.String |
getUser()
Get owner of this extra info. |
static LyFormSaveFile |
loadSave(LyAction action,
LyClassInfo classInfo,
LyObject object,
java.lang.String userId)
|
boolean |
saveFile(LyXmlWriterInterface writer)
Method for saving extra info file. |
void |
setFile(java.lang.String file)
Accessor to the file of this info. |
void |
writeXml(java.io.PrintWriter pw)
Method to rewrite XML corresponding to this component. |
void |
writeXml(java.io.PrintWriter pw,
boolean header,
boolean body)
Method to rewrite XML corresponding to this component. |
Methods inherited from class leon.info.save.LyFormSave |
---|
addFieldSave, contains, fromString, getData, putData, removeData, saveAsString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PREFIX
public LyAction _action
public java.lang.String _file
Constructor Detail |
---|
public LyFormSaveFile(LyAction action, java.lang.String user, LyFormSave save)
public LyFormSaveFile(LyAction action, java.lang.String user, java.lang.String path)
Method Detail |
---|
public static java.lang.String getId(LyAction action, LyClassInfo classInfo, LyObjectId objectId)
public static java.lang.String getFileName(LyAction action, LyClassInfo classInfo, LyObjectId objectId, java.lang.String userId)
public static LyFormSaveFile loadSave(LyAction action, LyClassInfo classInfo, LyObject object, java.lang.String userId)
public void free()
LyExtraInfoInterface
free
in interface LyExtraInfoInterface
public final java.lang.String getId()
public final java.lang.String getFile()
LyExtraInfoInterface
getFile
in interface LyExtraInfoInterface
public final java.lang.String getUser()
LyExtraInfoInterface
getUser
in interface LyExtraInfoInterface
public boolean saveFile(LyXmlWriterInterface writer)
LyExtraInfoInterface
saveFile
in interface LyExtraInfoInterface
public void setFile(java.lang.String file)
LyExtraInfoInterface
setFile
in interface LyExtraInfoInterface
public boolean deleteFile()
LyExtraInfoInterface
deleteFile
in interface LyExtraInfoInterface
public void writeXml(java.io.PrintWriter pw)
LyExtraInfoInterface
writeXml
in interface LyExtraInfoInterface
pw
- the printWriter on which the XML is written.public void writeXml(java.io.PrintWriter pw, boolean header, boolean body)
LyExtraInfoInterface
writeXml
in interface LyExtraInfoInterface
pw
- The printWriter on which the XML is written.header
- Boolean indicating if header must be written.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |