info.magnolia.module.admininterface
Class MultiValueSaveHandler
java.lang.Object
info.magnolia.module.admininterface.SaveHandlerImpl
info.magnolia.module.admininterface.MultiValueSaveHandler
- All Implemented Interfaces:
- FieldSaveHandler, SaveHandler
public class MultiValueSaveHandler
- extends SaveHandlerImpl
- implements FieldSaveHandler
Stores NodeData as jcr multi-value property
can be used together with DialogMultiSelect.
- Version:
- $Id$
Method Summary |
protected void |
processMultiple(Content node,
String name,
int type,
String[] values)
Process a multiple value field |
void |
save(Content parentNode,
Content configNode,
String name,
MultipartForm form,
int type,
int valueType,
int isRichEditValue,
int encoding)
save a property |
Methods inherited from class info.magnolia.module.admininterface.SaveHandlerImpl |
cleanLineBreaks, cleanupLinkPrefix, getCollectionNodeCreationItemType, getCreationItemType, getForm, getNodeCollectionName, getNodeName, getPageNode, getParagraph, getPath, getRepository, getSaveNode, getValue, getValue, getValue, init, isCreate, processBinary, processCommon, processDate, processRemoveCommon, processRichEdit, processSaveInfo, processString, processWriteCommon, replacePByBr, save, saveDocument, setCollectionNodeCreationItemType, setCreate, setCreationItemType, setForm, setNodeCollectionName, setNodeName, setParagraph, setPath, setRepository, updateLinks |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiValueSaveHandler
public MultiValueSaveHandler()
processMultiple
protected void processMultiple(Content node,
String name,
int type,
String[] values)
throws javax.jcr.RepositoryException,
javax.jcr.PathNotFoundException,
AccessDeniedException
- Description copied from class:
SaveHandlerImpl
- Process a multiple value field
- Overrides:
processMultiple
in class SaveHandlerImpl
- Throws:
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
AccessDeniedException
save
public void save(Content parentNode,
Content configNode,
String name,
MultipartForm form,
int type,
int valueType,
int isRichEditValue,
int encoding)
throws javax.jcr.RepositoryException,
AccessDeniedException
- Description copied from interface:
FieldSaveHandler
- save a property
- Specified by:
save
in interface FieldSaveHandler
- Parameters:
parentNode
- in nodeconfigNode
- configurationname
- property nameform
- formtype
- typevalueType
- value typeisRichEditValue
- is rich edit?encoding
- encoding
- Throws:
javax.jcr.RepositoryException
AccessDeniedException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.