org.nuxeo.core.resources.model.operations
Class SetContentsOperation

java.lang.Object
  extended by org.nuxeo.core.resources.model.impl.AbstractSiteOperation
      extended by org.nuxeo.core.resources.model.operations.SetContentsOperation
All Implemented Interfaces:
ISiteOperation

public class SetContentsOperation
extends AbstractSiteOperation

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from interface org.nuxeo.core.resources.model.ISiteOperation
ANY, ASYNCHRONOUS, COPY, CREATE, DELETE, EDIT, HISTORY_ENABLED, MOVE, NONE, PUBLISH, RESTRICTED, SUBMIT, UNDOABLE
 
Constructor Summary
SetContentsOperation(ISiteResource resource, IContentSource contents)
           
SetContentsOperation(ISiteResource resource, IContentSource contents, int flags)
           
SetContentsOperation(ISiteResource resource, IContentSource contents, org.eclipse.core.runtime.IProgressMonitor monitor)
           
SetContentsOperation(ISiteResource resource, IContentSource contents, org.eclipse.core.runtime.IProgressMonitor monitor, int flags)
           
 
Method Summary
 IContentSource getContents()
           
 ISiteController getController()
          Get the site controller that should execute the operation
 java.lang.String getType()
          Get the operation type
 
Methods inherited from class org.nuxeo.core.resources.model.impl.AbstractSiteOperation
clearFlag, execute, getFlags, getInverseOperation, getProgressMonitor, getStatus, isAsynchronous, isFlagSet, isHistoryEnabled, isRestricted, isUndoable, setAsynchronous, setFlag, setFlags, setHistoryEnabled, setProgressMonitor, setRestricted, setStatus, setUndoable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetContentsOperation

public SetContentsOperation(ISiteResource resource,
                            IContentSource contents)

SetContentsOperation

public SetContentsOperation(ISiteResource resource,
                            IContentSource contents,
                            int flags)

SetContentsOperation

public SetContentsOperation(ISiteResource resource,
                            IContentSource contents,
                            org.eclipse.core.runtime.IProgressMonitor monitor)

SetContentsOperation

public SetContentsOperation(ISiteResource resource,
                            IContentSource contents,
                            org.eclipse.core.runtime.IProgressMonitor monitor,
                            int flags)
Method Detail

getType

public java.lang.String getType()
Description copied from interface: ISiteOperation
Get the operation type

Specified by:
getType in interface ISiteOperation
Specified by:
getType in class AbstractSiteOperation
Returns:
the operation type

getContents

public IContentSource getContents()

getController

public ISiteController getController()
Description copied from class: AbstractSiteOperation
Get the site controller that should execute the operation

Specified by:
getController in class AbstractSiteOperation
Returns:
the controller