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


java.lang.Object
   com.flexive.war.beans.admin.content.ContentEditorBean

All known Subclasses:   com.flexive.war.beans.admin.content.InlineContentEditorBean,
ContentEditorBean
public class ContentEditorBean implements ActionBean,Serializable(Code)


Field Summary
 UploadedFilefile
    
protected  booleanisDummy
    
protected  TreeEnginetree
    

Constructor Summary
public  ContentEditorBean()
    
 ContentEditorBean(boolean dummy)
    

Method Summary
public  Boolean_init()
    
public  void_initSteps()
     Determines all possible steps for the current content.
public  voidaddChilds(ActionEvent event)
     Ajax call for addElement.
public  voidaddElement(ActionEvent event)
     Ajax call for addElement.
public  voidaddTreeNode(ActionEvent event)
     Ajax call for tree nodes.
public  voidaddTreeNode(long _node)
    
public  Stringcancel()
    
public  Stringcompact()
     Removes all empty elements which are not required.
public  Stringdelete()
    
public  StringenableEdit()
    
protected  voidfinalize()
    
public  ACLgetAcl()
    
public  CeAddElementOptionsgetAddElementOptions()
    
public  FxContentgetContent()
    
public  ContentEnginegetContentEngine()
    
public  CeDataWrappergetData()
    
public  List<FxData>getDataList()
    
public  CeDisplayProvidergetDisplay()
    
protected static  FxStringgetDisplay(FxAssignment ass)
     Gets the display text for a assignment.
public  List<SelectItem>getEditableTypes()
     Returns all editable types.
public  StringgetEditorActionName()
    
public  StringgetEditorActionXpath()
    
protected  StringgetEditorPage()
    
public  StringgetEditorType()
    
public  FxDatagetElement()
    
public  StringgetElements()
    
public  FxEnvironmentgetEnvironment()
    
public  Hashtable<String, String>getFileInputValues()
    
public  UploadedFilegetFiletest()
    
public  List<FxGroupAssignment>getGroups()
    
public  longgetId()
    
public  CeIdGeneratorgetIdGenerator()
    
public  ContentEditorBeangetInstance(HttpServletRequest request)
    
public  ContentEditorBeangetInstance()
    
protected  StringgetJsfAttributeName()
     Returns the name of the beans, like JSF stores it in the session.
public  StringgetParseRequestParameters()
    
public  FxPKgetPk()
    
public  List<SelectItem>getPossibleWorkflowSteps()
    
public  List<FxPropertyAssignment>getProperties()
    
protected  StringgetSessionCacheId()
    
public static  ContentEditorBeangetSingleton()
    
public  StringgetStep()
    
public  StringgetStepDescription()
    
public  FxTreeNodegetTreeNode()
    
public  longgetTreeNodeParent()
    
public  List<FxTreeNode>getTreeNodes()
    
public  longgetType()
    
public  StringgetTypeDisplay()
    
public  StringgetUserCd()
    
public  intgetVersion()
    
public  FxContentVersionInfogetVersionInfo()
    
public  StringinitNew()
    
public  booleanisDeleteAble()
    
public  booleanisEditAble()
    
public  booleanisInitialized()
    
public  booleanisNew()
    
public  booleanisReadOnly()
    
public  booleanisSupportSecurity()
    
public  Stringload()
    
public  StringloadUserContent()
    
public  voidmoveElementDown(ActionEvent event)
     Ajax call for addElement.
public  voidmoveElementUp(ActionEvent event)
     Ajax call for addElement.
public  voidprepareSave()
    
protected  Stringrelease()
    
public  Stringreload()
    
public  voidremoveElement(ActionEvent event)
     Ajax call for remove element.
public  voidremoveTreeNode(ActionEvent event)
     Ajax call for tree nodes.
public  Stringsave()
     Saves the data.
public  StringsaveInNewVersion()
     Saves the data in a new version.
public  StringsaveInSession()
     Persists all fields in the session without saving to the database.
public  voidsetAcl(ACL acl)
    
public  voidsetBinary(String xpath, FxBinary binary)
    
public  voidsetEditorActionName(String editorActionName)
    
public  voidsetEditorActionXpath(String editorActionXpath)
    
public  voidsetEditorType(String editorType)
    
public  voidsetElement(FxData elememt)
    
public  voidsetElements(String elements)
    
public  voidsetFileInputValues(Hashtable<String, String> fileInputValues)
    
public  voidsetFiletest(UploadedFile file)
    
public  voidsetId(long id)
    
public  voidsetPk(FxPK pk)
    
public  voidsetReadOnly(boolean readOnly)
    
public  voidsetStep(String value)
    
public  voidsetTreeNode(FxTreeNode treeNode)
    
public  voidsetTreeNodeParent(long treeNode)
    
public  voidsetTreeNodes(List<FxTreeNode> treeNodes)
    
public  voidsetType(long type)
    
public  voidsetVersion(int version)
    

Field Detail
file
UploadedFile file(Code)



isDummy
protected boolean isDummy(Code)



tree
protected TreeEngine tree(Code)




Constructor Detail
ContentEditorBean
public ContentEditorBean()(Code)



ContentEditorBean
ContentEditorBean(boolean dummy)(Code)




Method Detail
_init
public Boolean _init()(Code)



_initSteps
public void _initSteps()(Code)
Determines all possible steps for the current content.



addChilds
public void addChilds(ActionEvent event)(Code)
Ajax call for addElement.
Parameters:
  event - the event



addElement
public void addElement(ActionEvent event)(Code)
Ajax call for addElement.
Parameters:
  event - the event



addTreeNode
public void addTreeNode(ActionEvent event)(Code)
Ajax call for tree nodes.
Parameters:
  event - the event



addTreeNode
public void addTreeNode(long _node)(Code)



cancel
public String cancel()(Code)



compact
public String compact()(Code)
Removes all empty elements which are not required. the next page to render (= the content editor)



delete
public String delete()(Code)
Deletes the instance the next page to render (= the content editor)



enableEdit
public String enableEdit()(Code)



finalize
protected void finalize() throws Throwable(Code)



getAcl
public ACL getAcl()(Code)
Gets the acl used by the content the acl



getAddElementOptions
public CeAddElementOptions getAddElementOptions()(Code)



getContent
public FxContent getContent()(Code)



getContentEngine
public ContentEngine getContentEngine()(Code)



getData
public CeDataWrapper getData()(Code)



getDataList
public List<FxData> getDataList()(Code)



getDisplay
public CeDisplayProvider getDisplay()(Code)



getDisplay
protected static FxString getDisplay(FxAssignment ass)(Code)
Gets the display text for a assignment.
Parameters:
  ass - the assignment the display text



getEditableTypes
public List<SelectItem> getEditableTypes()(Code)
Returns all editable types. all editable types



getEditorActionName
public String getEditorActionName()(Code)



getEditorActionXpath
public String getEditorActionXpath()(Code)



getEditorPage
protected String getEditorPage()(Code)



getEditorType
public String getEditorType()(Code)



getElement
public FxData getElement()(Code)



getElements
public String getElements()(Code)



getEnvironment
public FxEnvironment getEnvironment()(Code)



getFileInputValues
public Hashtable<String, String> getFileInputValues()(Code)



getFiletest
public UploadedFile getFiletest()(Code)



getGroups
public List<FxGroupAssignment> getGroups()(Code)



getId
public long getId()(Code)



getIdGenerator
public CeIdGenerator getIdGenerator()(Code)



getInstance
public ContentEditorBean getInstance(HttpServletRequest request)(Code)
Returns the active content editor beans of the calling user session, or null id none is available at the call time
Parameters:
  request - the request the content editor beans, or null



getInstance
public ContentEditorBean getInstance()(Code)
Returns the active content editor beans of the calling jsf user session, or null id none is available at the call time the content editor beans, or null



getJsfAttributeName
protected String getJsfAttributeName()(Code)
Returns the name of the beans, like JSF stores it in the session. the jsf name of the beans



getParseRequestParameters
public String getParseRequestParameters() throws FxApplicationException(Code)



getPk
public FxPK getPk()(Code)



getPossibleWorkflowSteps
public List<SelectItem> getPossibleWorkflowSteps()(Code)



getProperties
public List<FxPropertyAssignment> getProperties()(Code)



getSessionCacheId
protected String getSessionCacheId()(Code)



getSingleton
public static ContentEditorBean getSingleton()(Code)



getStep
public String getStep()(Code)



getStepDescription
public String getStepDescription()(Code)
the label of the current step



getTreeNode
public FxTreeNode getTreeNode()(Code)



getTreeNodeParent
public long getTreeNodeParent()(Code)



getTreeNodes
public List<FxTreeNode> getTreeNodes()(Code)



getType
public long getType()(Code)



getTypeDisplay
public String getTypeDisplay()(Code)



getUserCd
public String getUserCd()(Code)



getVersion
public int getVersion()(Code)



getVersionInfo
public FxContentVersionInfo getVersionInfo()(Code)
Get all available information about versions version info



initNew
public String initNew()(Code)



isDeleteAble
public boolean isDeleteAble()(Code)



isEditAble
public boolean isEditAble()(Code)



isInitialized
public boolean isInitialized()(Code)



isNew
public boolean isNew()(Code)



isReadOnly
public boolean isReadOnly()(Code)



isSupportSecurity
public boolean isSupportSecurity()(Code)



load
public String load()(Code)



loadUserContent
public String loadUserContent()(Code)



moveElementDown
public void moveElementDown(ActionEvent event)(Code)
Ajax call for addElement.
Parameters:
  event - the event



moveElementUp
public void moveElementUp(ActionEvent event)(Code)
Ajax call for addElement.
Parameters:
  event - the event



prepareSave
public void prepareSave() throws FxApplicationException(Code)
Prepare the content for save operation
throws:
  FxApplicationException - on errors



release
protected String release()(Code)



reload
public String reload()(Code)



removeElement
public void removeElement(ActionEvent event)(Code)
Ajax call for remove element.
Parameters:
  event - the event



removeTreeNode
public void removeTreeNode(ActionEvent event)(Code)
Ajax call for tree nodes.
Parameters:
  event - the event



save
public String save()(Code)
Saves the data. the next page to render (= the content editor)



saveInNewVersion
public String saveInNewVersion()(Code)
Saves the data in a new version. the next page to render (= the content editor)



saveInSession
public String saveInSession()(Code)
Persists all fields in the session without saving to the database. the next page to render (= the content editor)



setAcl
public void setAcl(ACL acl)(Code)
Sets the acl used by the content
Parameters:
  acl - the acl



setBinary
public void setBinary(String xpath, FxBinary binary)(Code)



setEditorActionName
public void setEditorActionName(String editorActionName)(Code)



setEditorActionXpath
public void setEditorActionXpath(String editorActionXpath)(Code)



setEditorType
public void setEditorType(String editorType)(Code)



setElement
public void setElement(FxData elememt)(Code)



setElements
public void setElements(String elements)(Code)



setFileInputValues
public void setFileInputValues(Hashtable<String, String> fileInputValues)(Code)



setFiletest
public void setFiletest(UploadedFile file)(Code)



setId
public void setId(long id)(Code)



setPk
public void setPk(FxPK pk)(Code)



setReadOnly
public void setReadOnly(boolean readOnly)(Code)



setStep
public void setStep(String value)(Code)



setTreeNode
public void setTreeNode(FxTreeNode treeNode)(Code)



setTreeNodeParent
public void setTreeNodeParent(long treeNode)(Code)



setTreeNodes
public void setTreeNodes(List<FxTreeNode> treeNodes)(Code)



setType
public void setType(long type)(Code)



setVersion
public void setVersion(int version)(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.