| java.lang.Object com.flexive.shared.structure.FxAssignment com.flexive.shared.structure.FxPropertyAssignment com.flexive.shared.structure.FxPropertyAssignmentEdit
FxPropertyAssignmentEdit | public class FxPropertyAssignmentEdit extends FxPropertyAssignment (Code) | | FxPropertyAssignment for editing
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Method Summary | |
public FxPropertyAssignmentEdit | clearDefaultLanguage() | public void | clearOption(String key) | public static FxPropertyAssignmentEdit | createNew(FxPropertyAssignment pa, FxType type, String alias, String parentXPath, FxAssignment parent) | public static FxPropertyAssignmentEdit | createNew(FxPropertyAssignment pa, FxType type, String alias, String parentXPath) | protected List<FxStructureOption> | getAllAvailableOptions() Returns a new List of all available options.
The options include those of the class itsself and of its assigned FxProperty
To eliminate duplicate keys and determine the correct overriding oder,
the FxPropertyAssignment.getOption(key) method
is used. | public List<FxStructureOption> | getOptions() | public FxPropertyEdit | getPropertyEdit() Returns the property of this assignment as editable. | public boolean | isNew() | public static FxPropertyAssignmentEdit | reuse(String originalProperty, String type, String parentXPath, String alias) | public static FxPropertyAssignmentEdit | reuse(String originalProperty, String type, String parentXPath) | public FxPropertyAssignmentEdit | setACL(ACL ACL) | public FxPropertyAssignmentEdit | setAlias(String alias) Set the alias of this property assignment.
Property assignments may define an alias to allow multiple use of the same property but
using a different name. | public FxPropertyAssignmentEdit | setDefaultLanguage(long language) Set a default language. | public FxPropertyAssignmentEdit | setDefaultMultiplicity(int defaultMultiplicity) Set the default multiplicity (used i.e. | public FxPropertyAssignmentEdit | setDefaultValue(FxValue defaultValue) | public FxPropertyAssignmentEdit | setEnabled(boolean enabled) Set this property assignment as (temporary) disabled - it will not be initialized when creating new instances, etc. | public FxPropertyAssignmentEdit | setHint(FxString hint) | public FxPropertyAssignmentEdit | setInOverview(boolean inOverview) | public FxPropertyAssignmentEdit | setLabel(FxString label) | public FxPropertyAssignmentEdit | setMultiLang(boolean multiLang) | public FxPropertyAssignmentEdit | setMultiLine(boolean multiLine) | public FxPropertyAssignmentEdit | setMultiplicity(FxMultiplicity multiplicity) | public FxPropertyAssignmentEdit | setOption(String key, String value) | public FxPropertyAssignmentEdit | setOption(String key, boolean value) | public void | setParentGroupAssignment(FxGroupAssignment parent) Sets the parent group assignment. | public FxPropertyAssignmentEdit | setPosition(int position) Set the position of this assignment (within the same parent group).
Changing an assignments position will be upate all affected other assignments within the same
group. | public FxPropertyAssignmentEdit | setSearchable(boolean searchable) | public FxPropertyAssignmentEdit | setUseHTMLEditor(boolean useHTMLEditor) | public FxPropertyAssignmentEdit | setXPath(String XPath) |
FxPropertyAssignmentEdit | public FxPropertyAssignmentEdit(FxPropertyAssignment pa)(Code) | | Create an editable instance from an existing FxPropertyAssignment
Parameters: pa - existing FxPropertyAssignment |
clearOption | public void clearOption(String key)(Code) | | Clear an option entry
Parameters: key - option name |
getAllAvailableOptions | protected List<FxStructureOption> getAllAvailableOptions()(Code) | | Returns a new List of all available options.
The options include those of the class itsself and of its assigned FxProperty
To eliminate duplicate keys and determine the correct overriding oder,
the FxPropertyAssignment.getOption(key) method
is used. If an option is contained in the returned List then hasOption(key)
==true , otherwise false .
new List containing all availiable options. |
getOptions | public List<FxStructureOption> getOptions()(Code) | | Get a (unmodifiable) list of all options set for this property assignment
(unmodifiable) list of all options set for this property assignment |
getPropertyEdit | public FxPropertyEdit getPropertyEdit()(Code) | | Returns the property of this assignment as editable.
the editable property object. |
isNew | public boolean isNew()(Code) | | |
setDefaultLanguage | public FxPropertyAssignmentEdit setDefaultLanguage(long language)(Code) | | Set a default language. Multilingual FxPropertyData instances will be initialized with this language
Parameters: language - the default language this |
setDefaultValue | public FxPropertyAssignmentEdit setDefaultValue(FxValue defaultValue)(Code) | | Set the default value for this property assignment
Parameters: defaultValue - default value this |
setEnabled | public FxPropertyAssignmentEdit setEnabled(boolean enabled)(Code) | | Set this property assignment as (temporary) disabled - it will not be initialized when creating new instances, etc.
Parameters: enabled - enabled flag this |
setParentGroupAssignment | public void setParentGroupAssignment(FxGroupAssignment parent)(Code) | | Sets the parent group assignment.
Parameters: parent - the parent group assignment. |
setPosition | public FxPropertyAssignmentEdit setPosition(int position)(Code) | | Set the position of this assignment (within the same parent group).
Changing an assignments position will be upate all affected other assignments within the same
group. Invalid values will be adjusted (to 0 or the max. possible position)
Parameters: position - position within the parent group this |
|
|