Java Doc for FxPropertyAssignmentEdit.java in  » J2EE » fleXive » com » flexive » shared » structure » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » fleXive » com.flexive.shared.structure 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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)



Constructor Summary
public  FxPropertyAssignmentEdit(FxPropertyAssignment pa)
    

Method Summary
public  FxPropertyAssignmentEditclearDefaultLanguage()
    
public  voidclearOption(String key)
    
public static  FxPropertyAssignmentEditcreateNew(FxPropertyAssignment pa, FxType type, String alias, String parentXPath, FxAssignment parent)
    
public static  FxPropertyAssignmentEditcreateNew(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  FxPropertyEditgetPropertyEdit()
     Returns the property of this assignment as editable.
public  booleanisNew()
    
public static  FxPropertyAssignmentEditreuse(String originalProperty, String type, String parentXPath, String alias)
    
public static  FxPropertyAssignmentEditreuse(String originalProperty, String type, String parentXPath)
    
public  FxPropertyAssignmentEditsetACL(ACL ACL)
    
public  FxPropertyAssignmentEditsetAlias(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  FxPropertyAssignmentEditsetDefaultLanguage(long language)
     Set a default language.
public  FxPropertyAssignmentEditsetDefaultMultiplicity(int defaultMultiplicity)
     Set the default multiplicity (used i.e.
public  FxPropertyAssignmentEditsetDefaultValue(FxValue defaultValue)
    
public  FxPropertyAssignmentEditsetEnabled(boolean enabled)
     Set this property assignment as (temporary) disabled - it will not be initialized when creating new instances, etc.
public  FxPropertyAssignmentEditsetHint(FxString hint)
    
public  FxPropertyAssignmentEditsetInOverview(boolean inOverview)
    
public  FxPropertyAssignmentEditsetLabel(FxString label)
    
public  FxPropertyAssignmentEditsetMultiLang(boolean multiLang)
    
public  FxPropertyAssignmentEditsetMultiLine(boolean multiLine)
    
public  FxPropertyAssignmentEditsetMultiplicity(FxMultiplicity multiplicity)
    
public  FxPropertyAssignmentEditsetOption(String key, String value)
    
public  FxPropertyAssignmentEditsetOption(String key, boolean value)
    
public  voidsetParentGroupAssignment(FxGroupAssignment parent)
     Sets the parent group assignment.
public  FxPropertyAssignmentEditsetPosition(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  FxPropertyAssignmentEditsetSearchable(boolean searchable)
    
public  FxPropertyAssignmentEditsetUseHTMLEditor(boolean useHTMLEditor)
    
public  FxPropertyAssignmentEditsetXPath(String XPath)
    


Constructor Detail
FxPropertyAssignmentEdit
public FxPropertyAssignmentEdit(FxPropertyAssignment pa)(Code)
Create an editable instance from an existing FxPropertyAssignment
Parameters:
  pa - existing FxPropertyAssignment




Method Detail
clearDefaultLanguage
public FxPropertyAssignmentEdit clearDefaultLanguage()(Code)
Reset the default language to the system language this



clearOption
public void clearOption(String key)(Code)
Clear an option entry
Parameters:
  key - option name



createNew
public static FxPropertyAssignmentEdit createNew(FxPropertyAssignment pa, FxType type, String alias, String parentXPath, FxAssignment parent) throws FxNotFoundException, FxInvalidParameterException(Code)
Create a new FxPropertyAssignmentEdit from an existing FxPropertyAssignment as a new one for a given type with a new alias and a given parentXPath
Parameters:
  pa - original property assignment
Parameters:
  type - type to assign it
Parameters:
  alias - new alias
Parameters:
  parentXPath - parent XPath within the type to assign
Parameters:
  parent - optional parent assignment if already known (prevents lookup of parentXPath if valid) new FxPropertyAssignmentEdit
throws:
  FxNotFoundException - if parentXPath is invalid
throws:
  FxInvalidParameterException - if parentXPath is invalid



createNew
public static FxPropertyAssignmentEdit createNew(FxPropertyAssignment pa, FxType type, String alias, String parentXPath) throws FxNotFoundException, FxInvalidParameterException(Code)
Create a new FxPropertyAssignmentEdit from an existing FxPropertyAssignment as a new one for a given type with a new alias and a given parentXPath
Parameters:
  pa - original property assignment
Parameters:
  type - type to assign it
Parameters:
  alias - new alias
Parameters:
  parentXPath - parent XPath within the type to assign new FxPropertyAssignmentEdit
throws:
  FxNotFoundException - if parentXPath is invalid
throws:
  FxInvalidParameterException - if parentXPath is invalid



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)



reuse
public static FxPropertyAssignmentEdit reuse(String originalProperty, String type, String parentXPath, String alias) throws FxNotFoundException, FxInvalidParameterException(Code)
Convenience method to create a new FxPropertyAssignmentEdit from an existing FxPropertyAssignment as a new one for a given type with a new alias and a given parentXPath
Parameters:
  originalProperty - the original properties XPath (like ROOT/CAPTION)
Parameters:
  type - name of the type to assign it
Parameters:
  parentXPath - parent XPath within the type to assign
Parameters:
  alias - new alias new FxPropertyAssignmentEdit
throws:
  FxNotFoundException - if parentXPath is invalid
throws:
  FxInvalidParameterException - if parentXPath is invalid



reuse
public static FxPropertyAssignmentEdit reuse(String originalProperty, String type, String parentXPath) throws FxNotFoundException, FxInvalidParameterException(Code)
Convenience method to create a new FxPropertyAssignmentEdit from an existing FxPropertyAssignment as a new one for a given type with a new alias and a given parentXPath
Parameters:
  originalProperty - the original properties XPath (like ROOT/CAPTION)
Parameters:
  type - name of the type to assign it
Parameters:
  parentXPath - parent XPath within the type to assign new FxPropertyAssignmentEdit
throws:
  FxNotFoundException - if parentXPath is invalid
throws:
  FxInvalidParameterException - if parentXPath is invalid



setACL
public FxPropertyAssignmentEdit setACL(ACL ACL) throws FxInvalidParameterException(Code)



setAlias
public FxPropertyAssignmentEdit setAlias(String alias) throws FxInvalidParameterException(Code)
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. The alias is the rightmost part of the XPath used to address an assignment.
Parameters:
  alias - the alias of this assignment this
throws:
  FxInvalidParameterException - on errors



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



setDefaultMultiplicity
public FxPropertyAssignmentEdit setDefaultMultiplicity(int defaultMultiplicity) throws FxInvalidParameterException(Code)
Set the default multiplicity (used i.e. in user interfaces editors and determines the amount of values that will be initialized when creating an empty element).
Parameters:
  defaultMultiplicity - the default multiplicity this
throws:
  com.flexive.shared.exceptions.FxInvalidParameterException - if the defaultMultiplicity is not within the range of min and max



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



setHint
public FxPropertyAssignmentEdit setHint(FxString hint)(Code)
Set the hint message
Parameters:
  hint - hint message the property itself, useful for chained calls



setInOverview
public FxPropertyAssignmentEdit setInOverview(boolean inOverview) throws FxInvalidParameterException(Code)
Set overview appearance setting
Parameters:
  inOverview - overview appearance setting the property itself, useful for chained calls
throws:
  FxInvalidParameterException - if not allowed to override



setLabel
public FxPropertyAssignmentEdit setLabel(FxString label)(Code)
Setter for the label
Parameters:
  label - label to set this



setMultiLang
public FxPropertyAssignmentEdit setMultiLang(boolean multiLang) throws FxInvalidParameterException(Code)
Should this assignment support multilingual data?
Parameters:
  multiLang - multi lingual data supported? this
throws:
  FxInvalidParameterException - on errors



setMultiLine
public FxPropertyAssignmentEdit setMultiLine(boolean multiLine) throws FxInvalidParameterException(Code)
Set multiline display ability
Parameters:
  multiLine - render property in multiple lines? the property itself, useful for chained calls
throws:
  FxInvalidParameterException - on errors



setMultiplicity
public FxPropertyAssignmentEdit setMultiplicity(FxMultiplicity multiplicity) throws FxInvalidParameterException(Code)
Set the multiplicity of this assignment
Parameters:
  multiplicity - new multiplicity this
throws:
  FxInvalidParameterException - on errors



setOption
public FxPropertyAssignmentEdit setOption(String key, String value) throws FxInvalidParameterException(Code)
Set an option
Parameters:
  key - option key
Parameters:
  value - value of the option the assignment itself, useful for chained calls
throws:
  FxInvalidParameterException - if the property does not allow overriding



setOption
public FxPropertyAssignmentEdit setOption(String key, boolean value) throws FxInvalidParameterException(Code)
Set a boolean option
Parameters:
  key - option key
Parameters:
  value - value of the option the assignemnt itself, useful for chained calls
throws:
  FxInvalidParameterException - if the property does not allow overriding



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



setSearchable
public FxPropertyAssignmentEdit setSearchable(boolean searchable) throws FxInvalidParameterException(Code)
Set if this property be used in the visual query editor (UI hint)
Parameters:
  searchable - property can be used in the visual query editor the property itself, useful for chained calls
throws:
  FxInvalidParameterException - if overriding is not allowed



setUseHTMLEditor
public FxPropertyAssignmentEdit setUseHTMLEditor(boolean useHTMLEditor) throws FxInvalidParameterException(Code)
Set if to use an HTML editor to edit values of this property?
Parameters:
  useHTMLEditor - use HTML editor to edit values of this property? the property itself, useful for chained calls
throws:
  FxInvalidParameterException - if not allowed to override



setXPath
public FxPropertyAssignmentEdit setXPath(String XPath) throws FxInvalidParameterException(Code)
Set the XPath of this assignment - this is used mainly internally and affects new assignments only
Parameters:
  XPath - the XPath to set this
throws:
  FxInvalidParameterException - on errors



Fields inherited from com.flexive.shared.structure.FxPropertyAssignment
protected ACL ACL(Code)(Java Doc)
protected long defaultLang(Code)(Java Doc)
protected FxValue defaultValue(Code)(Java Doc)
protected FxProperty property(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxPropertyAssignment
public FxPropertyAssignmentEdit asEditable()(Code)(Java Doc)
public FxData createEmptyData(FxGroupData parent, int index) throws FxCreateException(Code)(Java Doc)
public FxData createRandomData(Random rnd, FxEnvironment env, FxGroupData parent, int index, int maxMultiplicity) throws FxCreateException(Code)(Java Doc)
public ACL getACL()(Code)(Java Doc)
public long getDefaultLanguage()(Code)(Java Doc)
public FxValue getDefaultValue()(Code)(Java Doc)
public FxValue getEmptyValue()(Code)(Java Doc)
public FxMultiplicity getMultiplicity()(Code)(Java Doc)
public FxStructureOption getOption(String key)(Code)(Java Doc)
public FxProperty getProperty()(Code)(Java Doc)
public boolean hasDefaultLanguage()(Code)(Java Doc)
public boolean hasOption(String key)(Code)(Java Doc)
public boolean isInOverview()(Code)(Java Doc)
public boolean isMultiLang()(Code)(Java Doc)
public boolean isMultiLine()(Code)(Java Doc)
public boolean isSearchable()(Code)(Java Doc)
public boolean isUseHTMLEditor()(Code)(Java Doc)
public boolean isValid(Object value)(Code)(Java Doc)

Fields inherited from com.flexive.shared.structure.FxAssignment
final public static long NO_PARENT(Code)(Java Doc)
final public static long ROOT_BASE(Code)(Java Doc)
final public static int TYPE_GROUP(Code)(Java Doc)
final public static int TYPE_PROPERTY(Code)(Java Doc)
protected String XPath(Code)(Java Doc)
protected String alias(Code)(Java Doc)
protected int defaultMultiplicity(Code)(Java Doc)
protected boolean enabled(Code)(Java Doc)
protected FxString hint(Code)(Java Doc)
protected FxString label(Code)(Java Doc)
protected FxMultiplicity multiplicity(Code)(Java Doc)
List<FxStructureOption> options(Code)(Java Doc)
protected FxGroupAssignment parentGroupAssignment(Code)(Java Doc)
protected int position(Code)(Java Doc)
protected Map<FxScriptEvent, long[]> scriptMapping(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxAssignment
public FxAssignment _setSystemInternal()(Code)(Java Doc)
public int compareTo(FxAssignment o)(Code)(Java Doc)
abstract public FxData createEmptyData(FxGroupData parent, int index) throws FxCreateException(Code)(Java Doc)
abstract public FxData createRandomData(Random rnd, FxEnvironment env, FxGroupData parent, int index, int maxMultiplicity) throws FxCreateException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public String getAlias()(Code)(Java Doc)
public FxType getAssignedType()(Code)(Java Doc)
public long getBaseAssignmentId()(Code)(Java Doc)
public int getDefaultMultiplicity()(Code)(Java Doc)
public FxString getDisplayLabel()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public FxString getHint()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public FxString getLabel()(Code)(Java Doc)
abstract public FxMultiplicity getMultiplicity()(Code)(Java Doc)
public FxStructureOption getOption(String key)(Code)(Java Doc)
public FxGroupAssignment getParentGroupAssignment()(Code)(Java Doc)
public int getPosition()(Code)(Java Doc)
public long[] getScriptMapping(FxScriptEvent event)(Code)(Java Doc)
public synchronized String getXPath()(Code)(Java Doc)
public boolean hasOption(String key)(Code)(Java Doc)
public boolean hasParentGroupAssignment()(Code)(Java Doc)
public boolean hasScriptMapping(FxScriptEvent event)(Code)(Java Doc)
public boolean hasScriptMappings()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isDerivedAssignment()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isSystemInternal()(Code)(Java Doc)
public boolean isValid(Object value)(Code)(Java Doc)
public void resolveParentDependencies(List<FxAssignment> assignments)(Code)(Java Doc)
public void resolvePreloadDependencies(List<FxAssignment> assignments)(Code)(Java Doc)
public void resolveReferences(FxEnvironment environment) throws FxNotFoundException(Code)(Java Doc)
public static List<FxAssignment> sort(List<FxAssignment> assignments)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.