info.magnolia.module.admininterface
Class UUIDSaveHandler
java.lang.Object
info.magnolia.module.admininterface.SaveHandlerImpl
info.magnolia.module.admininterface.UUIDSaveHandler
- All Implemented Interfaces:
- DialogAwareSaveHandler, SaveHandler
public class UUIDSaveHandler
- extends SaveHandlerImpl
- implements DialogAwareSaveHandler
This save handler checks each control if it is implementing the UUIDDialogControl interface. If so it stores the uuid
instead of the path.
- Version:
- $Id$
- Author:
- Philipp Bracher
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, 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 |
UUIDSaveHandler
public UUIDSaveHandler()
getDialog
public Dialog getDialog()
- Specified by:
getDialog
in interface DialogAwareSaveHandler
setDialog
public void setDialog(Dialog dialog)
- Specified by:
setDialog
in interface DialogAwareSaveHandler
processString
protected void processString(Content node,
String name,
int type,
int encoding,
String[] values,
String valueStr)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException,
AccessDeniedException
- Process a singel value
- Overrides:
processString
in class SaveHandlerImpl
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
AccessDeniedException
processMultiple
protected void processMultiple(Content node,
String name,
int type,
String[] values)
throws javax.jcr.RepositoryException,
javax.jcr.PathNotFoundException,
AccessDeniedException
- Process a multiple value
- Overrides:
processMultiple
in class SaveHandlerImpl
- Throws:
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
AccessDeniedException
getControl
protected DialogControlImpl getControl(String name)
- Get the contorl which is processed now
- Parameters:
name
-
- Returns:
- the control or null if not found
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.