LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.form
Class LyMultiCompositionFieldSetController

java.lang.Object
  extended by leon.control.LyController
      extended by leon.control.form.LyFieldController
          extended by leon.control.form.LyFieldConsultController
              extended by leon.control.form.LyFieldSetController
                  extended by leon.control.form.LyCompositionFieldSetController
                      extended by leon.control.form.LyMultiCompositionFieldSetController
All Implemented Interfaces:
LyGetSessionInterface, LyControllerContextInterface, LyFormResultInterface, LyGuiListener, LyEvaluator, LyDemandListener
Direct Known Subclasses:
LyMultiCompositionArrayFieldSetController

public class LyMultiCompositionFieldSetController
extends LyCompositionFieldSetController

Field controller for modification of a multiple composition relation.

See Also:
LySetController

Field Summary
static java.lang.String __VERSION
          File version
 
Fields inherited from class leon.control.form.LyFieldSetController
STANDARD_ARRAY_TOOL, STANDARD_CLASSINFO, TRANSVERSE_ACTION_SEP
 
Fields inherited from class leon.control.form.LyFieldController
FORM_FIELD_SEP, OLD_FORM_FIELD_SEP
 
Fields inherited from class leon.control.LyController
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP
 
Constructor Summary
LyMultiCompositionFieldSetController(LySetController parent, LyRelationFieldInfo relation)
          Constructor.
 
Method Summary
 void cancel()
          Method called when editions is cancelled.
 void clear()
          Clears fieldInfo value : setting value to null.
 void clearViewCache()
          Clear view cache.
 void commit()
          Method called when all modifications are committed.
 short control()
          Controls current edition.
 void free()
          Free this controller.
 LyClassInfo getFieldType()
          Gets the classInfo of the object pointed by the relation in the current form.
 boolean restore(LyFieldSave fieldSave)
          Restore field input.
 LyFieldSave save(boolean full)
          Save field input.
 
Methods inherited from class leon.control.form.LyCompositionFieldSetController
actionDemand, checkIfModified, endValidate, getAreaController, getFieldValue, getFieldValue, invokeTransverseAction, notifyFormResult, reset, resetFromValue, setEditable, setEnabled, startValidate
 
Methods inherited from class leon.control.form.LyFieldSetController
addTempFilePath, completeValue, getControllerContext, getDefaultBuilder, getFinalValue, getLastValue, getModel, getParentFieldController, getSetController, getTransverseActions, getUnit, getValue, isCreation, isEditable, isEnabled, isOptional, setFieldValue, setHidden, setInternal, setOptional, unitChanged, update, updateFieldItem, updateViewContent, updateViewFromValues
 
Methods inherited from class leon.control.form.LyFieldConsultController
isHidden, propagate, setLabel
 
Methods inherited from class leon.control.form.LyFieldController
getAction, getBehavior, getClassInfo, getComponent, getDefaultFieldUnit, getDefaultFieldUnit, getEnvironment, getFieldController, getFieldInfo, getFormController, getFormField, getFormField, getImage, getInfoLabel, getInfoLabel, getLabel, getObject, getState, getViewController, hasMark, isIdle, menuDemand, setAreaNoScroll, setFieldValue, setFormField, setState, toString
 
Methods inherited from class leon.control.LyController
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getBehaviorInterface, getBuilder, getClassInfo, getId, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getKeyValue, getLastModified, getName, getObjectId, getParent, getSession, getUserData, getView, getViewManager, hasViewController, helpDemand, hideView, hideView, isFreed, selectionDemand, setBuilder, setBuilderClass, setIdle, setLastModified, setName, setUserData, showError, showError, showView, showWarning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyMultiCompositionFieldSetController

public LyMultiCompositionFieldSetController(LySetController parent,
                                            LyRelationFieldInfo relation)
Constructor.

Parameters:
parent - parent controller
relation - relation field handled by this controller
Method Detail

free

public void free()
Free this controller.

Overrides:
free in class LyCompositionFieldSetController

clearViewCache

public void clearViewCache()
Clear view cache.

Overrides:
clearViewCache in class LyCompositionFieldSetController

getFieldType

public LyClassInfo getFieldType()
Gets the classInfo of the object pointed by the relation in the current form.

Overrides:
getFieldType in class LyCompositionFieldSetController
Returns:
The classInfo of the object pointed by the relation in the current form.

commit

public void commit()
Method called when all modifications are committed.

Overrides:
commit in class LyCompositionFieldSetController

cancel

public void cancel()
Method called when editions is cancelled.

Overrides:
cancel in class LyCompositionFieldSetController

control

public short control()
Controls current edition.

Overrides:
control in class LyCompositionFieldSetController
Returns:
The error status.

clear

public void clear()
Clears fieldInfo value : setting value to null.

Overrides:
clear in class LyFieldSetController

save

public LyFieldSave save(boolean full)
Save field input.

Overrides:
save in class LyCompositionFieldSetController

restore

public boolean restore(LyFieldSave fieldSave)
Restore field input.

Overrides:
restore in class LyCompositionFieldSetController

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com