net.sourceforge.openutils.mgnlmedia.media.save
Class MediaCustomSaveHandler

java.lang.Object
  extended by net.sourceforge.openutils.mgnlmedia.media.save.MediaCustomSaveHandler
All Implemented Interfaces:
info.magnolia.module.admininterface.FieldSaveHandler

public class MediaCustomSaveHandler
extends Object
implements info.magnolia.module.admininterface.FieldSaveHandler

FieldSaveHandler implementation that calls the onSavingPropertyMedia method on the handler of target media type when a media is associated to a page

Version:
$Id: MediaCustomSaveHandler.java 2334 2010-05-02 19:51:57Z fgiust $
Author:
molaschi

Constructor Summary
MediaCustomSaveHandler()
           
 
Method Summary
 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)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaCustomSaveHandler

public MediaCustomSaveHandler()
Method Detail

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

Specified by:
save in interface info.magnolia.module.admininterface.FieldSaveHandler
Throws:
javax.jcr.RepositoryException
info.magnolia.cms.security.AccessDeniedException


Copyright © 2008-2010 Openmind. All Rights Reserved.