com.mycompany.controller
Class ContentController
java.lang.Object
com.mycompany.controller.AbstractController
com.mycompany.controller.ContentController
- All Implemented Interfaces:
- java.io.Serializable
public class ContentController
- extends AbstractController
Controller class for content editing.
- Author:
- Ian Hlavats (ian@tarantulaconsulting.com)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentController
public ContentController()
contentChanged
public void contentChanged(javax.faces.event.ValueChangeEvent event)
getContent
public Content getContent()
init
public void init(javax.faces.event.ComponentSystemEvent event)
isEditing
public boolean isEditing()
saveContent
public void saveContent(javax.faces.event.ActionEvent event)
setContent
public void setContent(Content content)
setContentService
public void setContentService(ContentService contentService)
setEditing
public void setEditing(boolean editing)
toggleEditing
public void toggleEditing(javax.faces.event.ActionEvent event)