com.xpn.xwiki.web
Class ObjectsSynchronizeAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.xpn.xwiki.web.XWikiAction
          extended by com.xpn.xwiki.web.ObjectsSynchronizeAction

public class ObjectsSynchronizeAction
extends XWikiAction

Synchronizes the objects in a document with their current classes, by removing any deprecated properties.

Since:
2.4M2
Version:
$Id: ba4d4f7e7cdeccd38d5b71927e27b1a88260ba79 $

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ObjectsSynchronizeAction()
           
 
Method Summary
 boolean action(XWikiContext context)
           
 String render(XWikiContext context)
          
 
Methods inherited from class com.xpn.xwiki.web.XWikiAction
cleanupComponents, csrfTokenCheck, execute, execute, getRealPath, getTranslatedDocument, handleRevision, initializeContainerComponent, initializeXWikiContext, sendGlobalRedirect, sendRedirect
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectsSynchronizeAction

public ObjectsSynchronizeAction()
Method Detail

action

public boolean action(XWikiContext context)
               throws XWikiException
Overrides:
action in class XWikiAction
Throws:
XWikiException

render

public String render(XWikiContext context)
              throws XWikiException

Overrides:
render in class XWikiAction
Throws:
XWikiException


Copyright © 2004-2013 XWiki. All Rights Reserved.