info.magnolia.module.data.save
Class DataSaveHandler

java.lang.Object
  extended by info.magnolia.module.admininterface.SaveHandlerImpl
      extended by info.magnolia.module.admininterface.UUIDSaveHandler
          extended by info.magnolia.module.data.save.DataSaveHandler
All Implemented Interfaces:
info.magnolia.module.admininterface.DialogAwareSaveHandler, info.magnolia.module.admininterface.SaveHandler

public class DataSaveHandler
extends info.magnolia.module.admininterface.UUIDSaveHandler

This extension is needed, since the data module dialogs should be able to use the new DialogMultiObjectSelect and the ReferenceMultiSelect controls.

Version:
$Revision$ ($Author$)
Author:
pintopile (BeagleSoft GmbH)

Field Summary
 
Fields inherited from class info.magnolia.module.admininterface.SaveHandlerImpl
log
 
Constructor Summary
DataSaveHandler()
           
 
Method Summary
protected  String getMultiValueItemType(String name)
          Define the multi value node type for this field.
protected  void processMultiple(info.magnolia.cms.core.Content node, String name, int type, String[] values)
           
 
Methods inherited from class info.magnolia.module.admininterface.UUIDSaveHandler
getControl, getDialog, processString, setDialog
 
Methods inherited from class info.magnolia.module.admininterface.SaveHandlerImpl
cleanLineBreaks, getCollectionNodeCreationItemType, getCreationItemType, getForm, getNodeCollectionName, getNodeName, getPageNode, getParagraph, getPath, getRepository, getSaveNode, getValue, getValue, getValue, init, isCreate, processBinary, processCommon, processDate, processRemoveCommon, processRichEdit, processSaveInfo, 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
 
Methods inherited from interface info.magnolia.module.admininterface.SaveHandler
getCollectionNodeCreationItemType, getCreationItemType, getNodeCollectionName, getNodeName, getParagraph, getPath, getRepository, init, isCreate, save, setCollectionNodeCreationItemType, setCreate, setCreationItemType, setNodeCollectionName, setNodeName, setParagraph, setPath, setRepository
 

Constructor Detail

DataSaveHandler

public DataSaveHandler()
Method Detail

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
Overrides:
processMultiple in class info.magnolia.module.admininterface.UUIDSaveHandler
Throws:
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
info.magnolia.cms.security.AccessDeniedException

getMultiValueItemType

protected String getMultiValueItemType(String name)
Define the multi value node type for this field.

Returns:


Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.