Java Doc for PropertyEditorBean.java in  » J2EE » fleXive » com » flexive » war » beans » admin » 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.war.beans.admin.structure 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.war.beans.admin.structure.PropertyEditorBean

PropertyEditorBean
public class PropertyEditorBean implements ActionBean(Code)
Bean behind propertyAssignmentEditor.xhtml, propertyEditor.xhtml and propertyOptionEditor to edit FxPropertyAssignment and FxProperty objects
author:
   Gerhard Glos (gerhard.glos@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)


Field Summary
 FxPropertyAssignmentEditassignment
    


Method Summary
public  voidaddAssignmentOption()
    
public  voidaddPropertyOption()
    
public  voidaddScript()
    
public  voidcreateProperty()
    
public  voiddeleteAssignmentOption()
    
public  voiddeletePropertyOption()
    
public  voiddoNothing()
    
public  longgetAcl()
    
public  StringgetAlias()
    
public  FxPropertyAssignmentEditgetAssignment()
    
public  Map<Long, String>getAssignmentNameForId()
    
public  StringgetAssignmentOptionKey()
    
public  StringgetAssignmentOptionValue()
    
public  StringgetBaseAssignmentXPath()
    
public  FxStringgetDefaultLabel()
    
public  FxLanguagegetDefaultLanguage()
    
public  intgetDefaultMultiplicity()
    
public  FxValuegetDefaultValue()
    
public  booleangetEditMode()
    
public  FxStringgetHint()
    
public  FxStringgetLabel()
    
public  StringgetMaxMultiplicity()
    
public  StringgetMinMultiplicity()
    
public  OptionWrapper.WrappedOptiongetOptionFiler()
    
public  OptionWrappergetOptionWrapper()
    
public  StringgetParseRequestParameters()
    
public  FxPropertyEditgetProperty()
    
public  longgetPropertyAcl()
    
public  FxDataTypegetPropertyDataType()
    
public  booleangetPropertyHasReferencedType()
    
public  FxStringgetPropertyHint()
    
public  longgetPropertyId()
    
public  FxStringgetPropertyLabel()
    
public  StringgetPropertyMaxMultiplicity()
    
public  StringgetPropertyMinMultiplicity()
    
public  StringgetPropertyName()
    
public  StringgetPropertyOptionKey()
    
public  StringgetPropertyOptionValue()
    
public  longgetPropertyReferencedList()
    
public  longgetPropertyReferencedType()
    
public  UniqueModegetPropertyUniqueMode()
    
public  List<FxPropertyAssignment>getReferencingPropertyAssignments()
     Returns all property assignments that are referencing this property which the current user may see, excluding the system internal assignments.
public  intgetScriptCount()
    
public  intgetScriptListFiler()
    
public  ScriptListWrappergetScriptWrapper()
    
public  longgetSelectedScriptEventId()
    
public  FxScriptInfogetSelectedScriptInfo()
    
public  List<SelectItem>getTypes()
     Returns a all available Types as List<SelectItem> and adds an empty element for null.
public  StringgotoAssignmentScriptEditor()
    
public  booleanisEnabled()
    
public  booleanisMultiLang()
     Returns if the generic option FxStructureOption.OPTION_MULTILANG is set.
public  booleanisPropertyAutoUniquePropertyName()
    
public  booleanisPropertyFulltextIndexed()
    
public  booleanisPropertyMayOverrideACL()
    
public  booleanisPropertyMayOverrideBaseMultiplicity()
    
public  booleanisPropertyMayOverrideMultiLang()
    
public  booleanisPropertyOptionOverridable()
    
public  booleanisPropertyReference()
     Returns if the FxProperty's Data Type is reference or inlinereference in order to enable or disable gui elements.
public  booleanisPropertySelectList()
     Returns if the Fxproperty's Data Type is SelectOne or SelectMany in order to enable or disable gui elements.
public  booleanisPropertyUsedInInstance()
    
public  booleanisSelectedActive()
    
public  booleanisSelectedDerivedUsage()
    
public  booleanisStructureManagement()
    
public  booleanisSystemInternal()
    
public  voidremoveScript()
    
public  voidsaveChanges()
    
public  voidsetAcl(long aclid)
    
public  voidsetAlias(String alias)
    
public  voidsetAssignment(FxPropertyAssignmentEdit assignment)
    
public  voidsetAssignmentOptionKey(String optionKey)
    
public  voidsetAssignmentOptionValue(String optionValue)
    
public  voidsetDefaultLabel(FxString label)
    
public  voidsetDefaultLanguage(FxLanguage defaultLanguage)
    
public  voidsetDefaultMultiplicity(int defaultMultiplicity)
    
public  voidsetDefaultValue(FxValue val)
    
public  voidsetEnabled(boolean b)
    
public  voidsetHint(FxString hint)
    
public  voidsetLabel(FxString label)
    
public  voidsetMaxMultiplicity(String maxMultiplicity)
    
public  voidsetMinMultiplicity(String minMultiplicity)
    
public  voidsetMultiLang(boolean b)
     Sets the FxStructureOption.OPTION_MULTILANG option defensively by considering option overriding.
public  voidsetOptionFiler(OptionWrapper.WrappedOption optionFiler)
    
public  voidsetProperty(FxPropertyEdit property)
    
public  voidsetPropertyAcl(long aclid)
    
public  voidsetPropertyAutoUniquePropertyName(boolean b)
    
public  voidsetPropertyDataType(FxDataType d)
    
public  voidsetPropertyFulltextIndexed(boolean b)
    
public  voidsetPropertyHint(FxString hint)
    
public  voidsetPropertyId(long propertyId)
    
public  voidsetPropertyLabel(FxString label)
    
public  voidsetPropertyMaxMultiplicity(String maxMultiplicity)
    
public  voidsetPropertyMayOverrideACL(boolean b)
    
public  voidsetPropertyMayOverrideBaseMultiplicity(boolean b)
    
public  voidsetPropertyMinMultiplicity(String minMultiplicity)
    
public  voidsetPropertyName(String name)
    
public  voidsetPropertyOptionKey(String propertyOptionKey)
    
public  voidsetPropertyOptionOverridable(boolean propertyOptionOverridable)
    
public  voidsetPropertyOptionValue(String propertyOptionValue)
    
public  voidsetPropertyReferencedList(long id)
    
public  voidsetPropertyReferencedType(long id)
    
public  voidsetPropertyUniqueMode(UniqueMode u)
    
public  voidsetScriptListFiler(int scriptListFiler)
    
public  voidsetSelectedActive(boolean selectedActive)
    
public  voidsetSelectedDerivedUsage(boolean selectedDerivedUsage)
    
public  voidsetSelectedScriptEventId(long selectedScriptEventId)
    
public  voidsetSelectedScriptInfo(FxScriptInfo selectedScriptInfo)
    
public  StringshowAssignmentScriptEditor()
    
public  StringshowPropertyAssignmentEditor()
    
public  StringshowPropertyEditor()
    
public  StringshowPropertyOptionEditor()
    
public  voidtoggleEditMode()
    

Field Detail
assignment
FxPropertyAssignmentEdit assignment(Code)





Method Detail
addAssignmentOption
public void addAssignmentOption()(Code)



addPropertyOption
public void addPropertyOption()(Code)



addScript
public void addScript()(Code)



createProperty
public void createProperty()(Code)
Stores a newly created property in DB



deleteAssignmentOption
public void deleteAssignmentOption()(Code)



deletePropertyOption
public void deletePropertyOption()(Code)



doNothing
public void doNothing()(Code)
Hack in order to use command buttons to submit the form values and update the view of GUI elements



getAcl
public long getAcl()(Code)



getAlias
public String getAlias()(Code)



getAssignment
public FxPropertyAssignmentEdit getAssignment()(Code)



getAssignmentNameForId
public Map<Long, String> getAssignmentNameForId()(Code)



getAssignmentOptionKey
public String getAssignmentOptionKey()(Code)



getAssignmentOptionValue
public String getAssignmentOptionValue()(Code)



getBaseAssignmentXPath
public String getBaseAssignmentXPath()(Code)
If the assignment is derived, return the base assignments XPath the base assignments XPath if derived



getDefaultLabel
public FxString getDefaultLabel()(Code)



getDefaultLanguage
public FxLanguage getDefaultLanguage()(Code)



getDefaultMultiplicity
public int getDefaultMultiplicity()(Code)



getDefaultValue
public FxValue getDefaultValue()(Code)



getEditMode
public boolean getEditMode()(Code)



getHint
public FxString getHint()(Code)



getLabel
public FxString getLabel()(Code)



getMaxMultiplicity
public String getMaxMultiplicity()(Code)



getMinMultiplicity
public String getMinMultiplicity()(Code)



getOptionFiler
public OptionWrapper.WrappedOption getOptionFiler()(Code)



getOptionWrapper
public OptionWrapper getOptionWrapper()(Code)



getParseRequestParameters
public String getParseRequestParameters()(Code)



getProperty
public FxPropertyEdit getProperty()(Code)



getPropertyAcl
public long getPropertyAcl()(Code)



getPropertyDataType
public FxDataType getPropertyDataType()(Code)



getPropertyHasReferencedType
public boolean getPropertyHasReferencedType()(Code)



getPropertyHint
public FxString getPropertyHint()(Code)



getPropertyId
public long getPropertyId()(Code)



getPropertyLabel
public FxString getPropertyLabel()(Code)



getPropertyMaxMultiplicity
public String getPropertyMaxMultiplicity()(Code)



getPropertyMinMultiplicity
public String getPropertyMinMultiplicity()(Code)



getPropertyName
public String getPropertyName()(Code)



getPropertyOptionKey
public String getPropertyOptionKey()(Code)



getPropertyOptionValue
public String getPropertyOptionValue()(Code)



getPropertyReferencedList
public long getPropertyReferencedList()(Code)



getPropertyReferencedType
public long getPropertyReferencedType()(Code)



getPropertyUniqueMode
public UniqueMode getPropertyUniqueMode()(Code)



getReferencingPropertyAssignments
public List<FxPropertyAssignment> getReferencingPropertyAssignments()(Code)
Returns all property assignments that are referencing this property which the current user may see, excluding the system internal assignments. a list of property assignments that are referencing this property.



getScriptCount
public int getScriptCount()(Code)



getScriptListFiler
public int getScriptListFiler()(Code)



getScriptWrapper
public ScriptListWrapper getScriptWrapper()(Code)



getSelectedScriptEventId
public long getSelectedScriptEventId()(Code)



getSelectedScriptInfo
public FxScriptInfo getSelectedScriptInfo()(Code)



getTypes
public List<SelectItem> getTypes()(Code)
Returns a all available Types as List<SelectItem> and adds an empty element for null. available Types including a dummy value for null.



gotoAssignmentScriptEditor
public String gotoAssignmentScriptEditor()(Code)
called from the script editor; to open an instance where the script is assigned to type editor page



isEnabled
public boolean isEnabled()(Code)



isMultiLang
public boolean isMultiLang()(Code)
Returns if the generic option FxStructureOption.OPTION_MULTILANG is set. This option controls the multilingualism of a property. true if the generic option FxStructureOption.OPTION_MULTILANG is set.



isPropertyAutoUniquePropertyName
public boolean isPropertyAutoUniquePropertyName()(Code)



isPropertyFulltextIndexed
public boolean isPropertyFulltextIndexed()(Code)



isPropertyMayOverrideACL
public boolean isPropertyMayOverrideACL()(Code)



isPropertyMayOverrideBaseMultiplicity
public boolean isPropertyMayOverrideBaseMultiplicity()(Code)



isPropertyMayOverrideMultiLang
public boolean isPropertyMayOverrideMultiLang()(Code)



isPropertyOptionOverridable
public boolean isPropertyOptionOverridable()(Code)



isPropertyReference
public boolean isPropertyReference()(Code)
Returns if the FxProperty's Data Type is reference or inlinereference in order to enable or disable gui elements. true if the data type is reference



isPropertySelectList
public boolean isPropertySelectList()(Code)
Returns if the Fxproperty's Data Type is SelectOne or SelectMany in order to enable or disable gui elements. true if the data type is select list



isPropertyUsedInInstance
public boolean isPropertyUsedInInstance()(Code)



isSelectedActive
public boolean isSelectedActive()(Code)



isSelectedDerivedUsage
public boolean isSelectedDerivedUsage()(Code)



isStructureManagement
public boolean isStructureManagement()(Code)



isSystemInternal
public boolean isSystemInternal()(Code)



removeScript
public void removeScript()(Code)



saveChanges
public void saveChanges()(Code)
Forward property and property assignment changes to the DB



setAcl
public void setAcl(long aclid)(Code)



setAlias
public void setAlias(String alias)(Code)



setAssignment
public void setAssignment(FxPropertyAssignmentEdit assignment)(Code)



setAssignmentOptionKey
public void setAssignmentOptionKey(String optionKey)(Code)



setAssignmentOptionValue
public void setAssignmentOptionValue(String optionValue)(Code)



setDefaultLabel
public void setDefaultLabel(FxString label)(Code)



setDefaultLanguage
public void setDefaultLanguage(FxLanguage defaultLanguage)(Code)



setDefaultMultiplicity
public void setDefaultMultiplicity(int defaultMultiplicity)(Code)



setDefaultValue
public void setDefaultValue(FxValue val)(Code)



setEnabled
public void setEnabled(boolean b)(Code)



setHint
public void setHint(FxString hint)(Code)



setLabel
public void setLabel(FxString label)(Code)



setMaxMultiplicity
public void setMaxMultiplicity(String maxMultiplicity)(Code)



setMinMultiplicity
public void setMinMultiplicity(String minMultiplicity)(Code)



setMultiLang
public void setMultiLang(boolean b)(Code)
Sets the FxStructureOption.OPTION_MULTILANG option defensively by considering option overriding.
Parameters:
  b - boolean to set the option



setOptionFiler
public void setOptionFiler(OptionWrapper.WrappedOption optionFiler)(Code)



setProperty
public void setProperty(FxPropertyEdit property)(Code)



setPropertyAcl
public void setPropertyAcl(long aclid)(Code)



setPropertyAutoUniquePropertyName
public void setPropertyAutoUniquePropertyName(boolean b)(Code)



setPropertyDataType
public void setPropertyDataType(FxDataType d)(Code)
Set the property's data type and update referenced type and referenced list accordingly
Parameters:
  d - the data type



setPropertyFulltextIndexed
public void setPropertyFulltextIndexed(boolean b)(Code)



setPropertyHint
public void setPropertyHint(FxString hint)(Code)



setPropertyId
public void setPropertyId(long propertyId)(Code)



setPropertyLabel
public void setPropertyLabel(FxString label)(Code)



setPropertyMaxMultiplicity
public void setPropertyMaxMultiplicity(String maxMultiplicity)(Code)



setPropertyMayOverrideACL
public void setPropertyMayOverrideACL(boolean b)(Code)



setPropertyMayOverrideBaseMultiplicity
public void setPropertyMayOverrideBaseMultiplicity(boolean b)(Code)



setPropertyMinMultiplicity
public void setPropertyMinMultiplicity(String minMultiplicity)(Code)



setPropertyName
public void setPropertyName(String name)(Code)



setPropertyOptionKey
public void setPropertyOptionKey(String propertyOptionKey)(Code)



setPropertyOptionOverridable
public void setPropertyOptionOverridable(boolean propertyOptionOverridable)(Code)



setPropertyOptionValue
public void setPropertyOptionValue(String propertyOptionValue)(Code)



setPropertyReferencedList
public void setPropertyReferencedList(long id)(Code)



setPropertyReferencedType
public void setPropertyReferencedType(long id)(Code)



setPropertyUniqueMode
public void setPropertyUniqueMode(UniqueMode u)(Code)



setScriptListFiler
public void setScriptListFiler(int scriptListFiler)(Code)



setSelectedActive
public void setSelectedActive(boolean selectedActive)(Code)



setSelectedDerivedUsage
public void setSelectedDerivedUsage(boolean selectedDerivedUsage)(Code)



setSelectedScriptEventId
public void setSelectedScriptEventId(long selectedScriptEventId)(Code)



setSelectedScriptInfo
public void setSelectedScriptInfo(FxScriptInfo selectedScriptInfo)(Code)



showAssignmentScriptEditor
public String showAssignmentScriptEditor()(Code)
script editor tab begin ***********************



showPropertyAssignmentEditor
public String showPropertyAssignmentEditor()(Code)
Show the PropertyAssignmentEditor the next page



showPropertyEditor
public String showPropertyEditor()(Code)
Show the PropertyEditor the next page



showPropertyOptionEditor
public String showPropertyOptionEditor()(Code)
Show the OptionEditor the next page



toggleEditMode
public void toggleEditMode()(Code)



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.