org.nuxeo.core.resources.model.operations
Class SetContentsOperation
java.lang.Object
org.nuxeo.core.resources.model.impl.AbstractSiteOperation
org.nuxeo.core.resources.model.operations.SetContentsOperation
- All Implemented Interfaces:
- ISiteOperation
public class SetContentsOperation
- extends AbstractSiteOperation
- Author:
- Bogdan Stefanescu
| Fields inherited from interface org.nuxeo.core.resources.model.ISiteOperation |
ANY, ASYNCHRONOUS, COPY, CREATE, DELETE, EDIT, HISTORY_ENABLED, MOVE, NONE, PUBLISH, RESTRICTED, SUBMIT, UNDOABLE |
| 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 |
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)
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