Java Doc for FxPropertyEdit.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.FxStructureElement
      com.flexive.shared.structure.FxProperty
         com.flexive.shared.structure.FxPropertyEdit

FxPropertyEdit
public class FxPropertyEdit extends FxProperty (Code)
FxProperty used for structure editing
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)



Constructor Summary
public  FxPropertyEdit(FxProperty prop)
    

Method Summary
public  voidcheckConsistency()
    
public  voidclearOption(String key)
    
public static  FxPropertyEditcreateNew(FxProperty base, String newName, boolean autoUniquePropertyName)
    
public static  FxPropertyEditcreateNew(FxProperty base, String newName)
    
public static  FxPropertyEditcreateNew(String name, FxString description, FxString hint, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity, boolean overrideACL, ACL acl, FxDataType dataType, FxString defaultValue, boolean fulltextIndexed, FxType referencedType, FxSelectList referencedList, List<FxStructureOption> options)
    
public static  FxPropertyEditcreateNew(String name, FxString description, FxString hint, FxMultiplicity multiplicity, ACL acl, FxDataType dataType)
    
public  intgetAssignmentDefaultMultiplicity()
    
public  List<FxStructureOption>getOptions()
    
public  booleanisAutoUniquePropertyName()
    
public  booleanisNew()
    
public  FxPropertyEditsetACL(ACL acl)
    
public  FxPropertyEditsetAssignmentDefaultMultiplicity(int defaultMultiplicity)
     This value set will only be used when creating a new property and will be set for the created assignment! Set the default multiplicity (used i.e.
public  FxPropertyEditsetAutoUniquePropertyName(boolean autoUniquePropertyName)
    
public  FxPropertyEditsetDataType(FxDataType dataType)
    
public  FxPropertyEditsetFulltextIndexed(boolean fulltextIndexed)
    
public  FxPropertyEditsetHint(FxString hint)
    
public  FxPropertyEditsetInOverview(boolean inOverview)
    
public  FxPropertyEditsetLabel(FxString label)
    
public  FxPropertyEditsetMultiLang(boolean multiLang)
    
public  FxPropertyEditsetMultiLine(boolean multiLine)
    
public  FxPropertyEditsetMultiplicity(FxMultiplicity multiplicity)
    
public  FxPropertyEditsetName(String name)
    
public  FxPropertyEditsetOption(String key, boolean overrideable, String value)
    
public  FxPropertyEditsetOption(String key, boolean overrideable, boolean value)
    
public  FxPropertyEditsetOptionOverrideable(String key, boolean overrideable)
    
public  FxPropertyEditsetOverrideACL(boolean overrideACL)
    
public  FxPropertyEditsetOverrideHTMLEditor(boolean overrideHTMLEditor)
    
public  FxPropertyEditsetOverrideMultiLang(boolean overrideMultiLang)
    
public  FxPropertyEditsetOverrideMultiLine(boolean overrideMultiLine)
    
public  FxPropertyEditsetOverrideMultiplicity(boolean overrideMultiplicity)
    
public  FxPropertyEditsetOverrideOverview(boolean overrideOverview)
    
public  FxPropertyEditsetOverrideSearchable(boolean overrideSearchable)
    
public  FxPropertyEditsetReferencedList(FxSelectList referencedList)
    
public  FxPropertyEditsetReferencedType(FxType referencedType)
    
public  FxPropertyEditsetSearchable(boolean searchable)
    
public  FxPropertyEditsetUniqueMode(UniqueMode uniqueMode)
    
public  FxPropertyEditsetUseHTMLEditor(boolean useHTMLEditor)
    


Constructor Detail
FxPropertyEdit
public FxPropertyEdit(FxProperty prop)(Code)
Make an editable instance of an existing property
Parameters:
  prop - original property




Method Detail
checkConsistency
public void checkConsistency()(Code)
Perform some consistency checks, called internally!



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



createNew
public static FxPropertyEdit createNew(FxProperty base, String newName, boolean autoUniquePropertyName) throws FxInvalidParameterException(Code)
Create a clone of an existing property with a new name
Parameters:
  base - property to clone
Parameters:
  newName - new name to assign
Parameters:
  autoUniquePropertyName - if the property name already exists, try to find a unique one (by appending "_([counter])").Useful if creating property assignments and the used property name is not important FxPropertyEdit
throws:
  FxInvalidParameterException - on errors



createNew
public static FxPropertyEdit createNew(FxProperty base, String newName)(Code)
Create a clone of an existing property with a new name
Parameters:
  base - property to clone
Parameters:
  newName - new name to assign (has to be mandatorwide unique!) FxPropertyEdit



createNew
public static FxPropertyEdit createNew(String name, FxString description, FxString hint, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity, boolean overrideACL, ACL acl, FxDataType dataType, FxString defaultValue, boolean fulltextIndexed, FxType referencedType, FxSelectList referencedList, List<FxStructureOption> options)(Code)
Create a new FxPropertyEdit instance
Parameters:
  name - (mandator wide unique) name of the property
Parameters:
  description - description
Parameters:
  hint - hint message
Parameters:
  overrideBaseMultiplicity - are assignments allowed to override this properties multiplicity?
Parameters:
  multiplicity - multiplicity
Parameters:
  overrideACL - are assignments allowed to override this properties ACL?
Parameters:
  acl - ACL
Parameters:
  dataType - FxDataType
Parameters:
  defaultValue - default value to assign
Parameters:
  fulltextIndexed - should values of this property be fulltext indexed?
Parameters:
  referencedType - if dataType is reference this is the referenced type
Parameters:
  referencedList - if dataType is (multi) select list this is the referenced list
Parameters:
  options - this properties options FxPropertyEdit instance



createNew
public static FxPropertyEdit createNew(String name, FxString description, FxString hint, FxMultiplicity multiplicity, ACL acl, FxDataType dataType)(Code)
Create a new FxPropertyEdit instance - simplified with many defaults (everything set to true except useHTMLEditor)
Parameters:
  name - (mandator wide unique) name of the property
Parameters:
  description - description
Parameters:
  hint - hint message
Parameters:
  multiplicity - multiplicity
Parameters:
  acl - ACL
Parameters:
  dataType - FxDataType FxPropertyEdit instance



getAssignmentDefaultMultiplicity
public int getAssignmentDefaultMultiplicity()(Code)
Get the created assignments default multiplicity default multiplicity



getOptions
public List<FxStructureOption> getOptions()(Code)
Get a (unmodifiable) list of all options set for this property (unmodifiable) list of all options set for this property



isAutoUniquePropertyName
public boolean isAutoUniquePropertyName()(Code)
If creating a new property and the property name (not assignment! xalias will remain!) is taken probe for and use a unique property name? probe for unique property name if a property with the requested xalias already exist?



isNew
public boolean isNew()(Code)
Is this a new property if this is a new property



setACL
public FxPropertyEdit setACL(ACL acl)(Code)
Set the ACL
Parameters:
  acl - ACL the property itself, useful for chained calls



setAssignmentDefaultMultiplicity
public FxPropertyEdit setAssignmentDefaultMultiplicity(int defaultMultiplicity)(Code)
This value set will only be used when creating a new property and will be set for the created assignment! 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).

If the set value is < min or > max multiplicity of this assignment it will be auto adjusted to the next valid value without throwing an exception
Parameters:
  defaultMultiplicity - the default multiplicity this




setAutoUniquePropertyName
public FxPropertyEdit setAutoUniquePropertyName(boolean autoUniquePropertyName)(Code)
If creating a new property and the property name (not assignment! xalias will remain!) is taken probe for and use a unique property name?
Parameters:
  autoUniquePropertyName - probe for a unique propery name if a property with the requested xalias already exist? the property itself, useful for chained calls



setDataType
public FxPropertyEdit setDataType(FxDataType dataType)(Code)
Set the data type
Parameters:
  dataType - data type the property itself, useful for chained calls



setFulltextIndexed
public FxPropertyEdit setFulltextIndexed(boolean fulltextIndexed)(Code)
Set if values of this property should be fulltext indexed?
Parameters:
  fulltextIndexed - should values of this property be fulltext indexed? the property itself, useful for chained calls



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



setInOverview
public FxPropertyEdit setInOverview(boolean inOverview)(Code)
Set overview appearance setting
Parameters:
  inOverview - overview appearance setting the property itself, useful for chained calls



setLabel
public FxPropertyEdit setLabel(FxString label)(Code)
Set the label
Parameters:
  label - the label the property itself, useful for chained calls



setMultiLang
public FxPropertyEdit setMultiLang(boolean multiLang)(Code)
Set multilinguality
Parameters:
  multiLang - are values of this property multilingual? the property itself, useful for chained calls



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



setMultiplicity
public FxPropertyEdit setMultiplicity(FxMultiplicity multiplicity)(Code)
Set the multiplicity
Parameters:
  multiplicity - multiplicity the property itself, useful for chained calls



setName
public FxPropertyEdit setName(String name)(Code)
Set the properties name (has to be unique!)
Parameters:
  name - (unique) name of the property the property itself, useful for chained calls
throws:
  com.flexive.shared.exceptions.FxRuntimeException - if the name is empty (uniqueness will be checked during save operation)



setOption
public FxPropertyEdit setOption(String key, boolean overrideable, String value)(Code)
Set an option
Parameters:
  key - option key
Parameters:
  overrideable - is the option overrideable from assignments?
Parameters:
  value - value of the option the property itself, useful for chained calls



setOption
public FxPropertyEdit setOption(String key, boolean overrideable, boolean value)(Code)
Set a boolean option
Parameters:
  key - option key
Parameters:
  overrideable - is the option overrideable from assignments?
Parameters:
  value - value of the option the property itself, useful for chained calls



setOptionOverrideable
public FxPropertyEdit setOptionOverrideable(String key, boolean overrideable)(Code)
Change the overrideable status of an option, will only have effect if the option exists!
Parameters:
  key - option key
Parameters:
  overrideable - overrideable status the property itself, useful for chained calls



setOverrideACL
public FxPropertyEdit setOverrideACL(boolean overrideACL)(Code)
Set if assignments of this propery are allowed to override this properties ACL?
Parameters:
  overrideACL - are assignments allowed to override this properties ACL? the property itself, useful for chained calls



setOverrideHTMLEditor
public FxPropertyEdit setOverrideHTMLEditor(boolean overrideHTMLEditor)(Code)
Set if assignments are allowed to override this properties use of HTML editor setting?
Parameters:
  overrideHTMLEditor - are assignments allowed to override this properties use of HTML editor setting? the property itself, useful for chained calls



setOverrideMultiLang
public FxPropertyEdit setOverrideMultiLang(boolean overrideMultiLang)(Code)
Set if assignments are allowed to override this properties multilanguage setting?
Parameters:
  overrideMultiLang - are assignments allowed to override this properties multilanguage setting? the property itself, useful for chained calls



setOverrideMultiLine
public FxPropertyEdit setOverrideMultiLine(boolean overrideMultiLine)(Code)
Set if assignments are allowed to override this properties multiline setting?
Parameters:
  overrideMultiLine - are assignments allowed to override this properties multiline setting? the property itself, useful for chained calls



setOverrideMultiplicity
public FxPropertyEdit setOverrideMultiplicity(boolean overrideMultiplicity)(Code)
Set if assignments are allowed to override this properties multiplicity?
Parameters:
  overrideMultiplicity - are assignments allowed to override this properties multiplicity? the property itself, useful for chained calls



setOverrideOverview
public FxPropertyEdit setOverrideOverview(boolean overrideOverview)(Code)
Set if assignments are allowed to override this properties appearance in overviews?
Parameters:
  overrideOverview - are assignments allowed to override this properties appearance in overviews? the property itself, useful for chained calls



setOverrideSearchable
public FxPropertyEdit setOverrideSearchable(boolean overrideSearchable)(Code)
Set if assignments are allowed to override this properties multilanguage setting?
Parameters:
  overrideSearchable - are assignments allowed to override this properties multilanguage setting? the property itself, useful for chained calls



setReferencedList
public FxPropertyEdit setReferencedList(FxSelectList referencedList)(Code)
If this propery is a (multi) select list, set the referenced list
Parameters:
  referencedList - if dataType is a (multi) select list, set the referenced list the property itself, useful for chained calls



setReferencedType
public FxPropertyEdit setReferencedType(FxType referencedType)(Code)
If this propery is a reference to a FxType, set the referenced type
Parameters:
  referencedType - if dataType is reference this is the referenced type the property itself, useful for chained calls



setSearchable
public FxPropertyEdit setSearchable(boolean searchable)(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



setUniqueMode
public FxPropertyEdit setUniqueMode(UniqueMode uniqueMode)(Code)
Set the uniqueness mode of this property
Parameters:
  uniqueMode - uniqueness mode the property itself, useful for chained calls



setUseHTMLEditor
public FxPropertyEdit setUseHTMLEditor(boolean useHTMLEditor)(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



Fields inherited from com.flexive.shared.structure.FxProperty
protected ACL ACL(Code)(Java Doc)
protected FxDataType dataType(Code)(Java Doc)
protected FxString defaultValue(Code)(Java Doc)
protected boolean fulltextIndexed(Code)(Java Doc)
protected boolean overrideACL(Code)(Java Doc)
protected FxSelectList referencedList(Code)(Java Doc)
protected FxType referencedType(Code)(Java Doc)
protected boolean systemInternal(Code)(Java Doc)
protected UniqueMode uniqueMode(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxProperty
public FxPropertyEdit asEditable()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public ACL getACL()(Code)(Java Doc)
public FxDataType getDataType()(Code)(Java Doc)
public FxString getDefaultValue()(Code)(Java Doc)
public FxValue getEmptyValue()(Code)(Java Doc)
protected FxValue getEmptyValue(boolean multiLang)(Code)(Java Doc)
protected FxValue getEmptyValue(boolean multiLang, long lang)(Code)(Java Doc)
public FxSelectList getReferencedList()(Code)(Java Doc)
public FxType getReferencedType()(Code)(Java Doc)
public UniqueMode getUniqueMode()(Code)(Java Doc)
public boolean hasReferencedList()(Code)(Java Doc)
public boolean hasReferencedType()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isFulltextIndexed()(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 isSystemInternal()(Code)(Java Doc)
public boolean isUseHTMLEditor()(Code)(Java Doc)
public boolean mayOverrideACL()(Code)(Java Doc)
public boolean mayOverrideInOverview()(Code)(Java Doc)
public boolean mayOverrideMultiLang()(Code)(Java Doc)
public boolean mayOverrideMultiLine()(Code)(Java Doc)
public boolean mayOverrideSearchable()(Code)(Java Doc)
public boolean mayOverrideUseHTMLEditor()(Code)(Java Doc)
public void resolveReferencedType(FxEnvironment environment)(Code)(Java Doc)

Fields inherited from com.flexive.shared.structure.FxStructureElement
protected FxString hint(Code)(Java Doc)
protected FxString label(Code)(Java Doc)
protected FxMultiplicity multiplicity(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected List<FxStructureOption> options(Code)(Java Doc)
protected boolean overrideMultiplicity(Code)(Java Doc)
protected boolean referenced(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxStructureElement
public FxString getHint()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public FxString getLabel()(Code)(Java Doc)
public FxMultiplicity getMultiplicity()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public FxStructureOption getOption(String key)(Code)(Java Doc)
public boolean hasOption(String key)(Code)(Java Doc)
public boolean isReferenced()(Code)(Java Doc)
public boolean mayOverrideBaseMultiplicity()(Code)(Java Doc)
public void setReferenced(boolean referenced)(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.