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(info.magnolia.cms.core.Content node,
String name,
int type,
String[] values)
Process a multiple value field |
void |
save(info.magnolia.cms.core.Content parentNode,
info.magnolia.cms.core.Content configNode,
String name,
info.magnolia.cms.beans.runtime.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(info.magnolia.cms.core.Content node,
String name,
int type,
String[] values)
throws javax.jcr.RepositoryException,
javax.jcr.PathNotFoundException,
info.magnolia.cms.security.AccessDeniedException
- Description copied from class:
SaveHandlerImpl
- Process a multiple value field
- Overrides:
processMultiple
in class SaveHandlerImpl
- Throws:
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
info.magnolia.cms.security.AccessDeniedException
save
public void save(info.magnolia.cms.core.Content parentNode,
info.magnolia.cms.core.Content configNode,
String name,
info.magnolia.cms.beans.runtime.MultipartForm form,
int type,
int valueType,
int isRichEditValue,
int encoding)
throws javax.jcr.RepositoryException,
info.magnolia.cms.security.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
info.magnolia.cms.security.AccessDeniedException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.