com.ibm.carma.model
Interface Movable

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
CARMAContainer, CARMAContent, CARMAMember, CARMAMemberVersion

public interface Movable
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Movable'. An object that can move locations within the CARMA system

See Also:
ModelPackage.getMovable()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 CARMAReturn copy(org.eclipse.core.runtime.IProgressMonitor pm, ResourceContainer parent, java.lang.Object[] parameters)
          Copys the resource to another location in the CARMA system.
 CARMAReturn move(org.eclipse.core.runtime.IProgressMonitor pm, ResourceContainer parent, java.lang.Object[] parameters)
          Moves the resource to another location in the CARMA system.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

move

CARMAReturn move(org.eclipse.core.runtime.IProgressMonitor pm,
                 ResourceContainer parent,
                 java.lang.Object[] parameters)
                 throws org.eclipse.core.runtime.CoreException,
                        UnsupportedCARMAOperationException,
                        NotConnectedException
Moves the resource to another location in the CARMA system. This is an internal method and should not be used outside the CARMA model. The method usage outside the CARMA model is unsupported The move action specification can be located using the CustomActionAccepter.findActionFor(String) method and inspecting the action object returned. The parameter array is expected to consist of object values of the type defined by the action parameter list in the order specified by the parameter list.

The parameters array should:

Moves the resource to another location in the CARMA system

Parameters:
pm - progress monitor for the operation
parent - The parent container that the resource should be moved to
parameters - the set of parameters required for the method to execute properly
Returns:
the custom return response from the method execution
Throws:
org.eclipse.core.runtime.CoreException - An error occured during execution of the command
NotConnectedException - The action could not be performed because the CARMA connection is not active.
UnsupportedCARMAOperationException - The action could not be performed because the action is not supported by the Repository Manager on the host
See Also:
ActionIdentifier.MOVE

copy

CARMAReturn copy(org.eclipse.core.runtime.IProgressMonitor pm,
                 ResourceContainer parent,
                 java.lang.Object[] parameters)
                 throws org.eclipse.core.runtime.CoreException,
                        UnsupportedCARMAOperationException,
                        NotConnectedException
Copys the resource to another location in the CARMA system. This is an internal method and should not be used outside the CARMA model. The method usage outside the CARMA model is unsupported The copy action specification can be located using the CustomActionAccepter.findActionFor(String) method and inspecting the action object returned. The parameter array is expected to consist of object values of the type defined by the action parameter list in the order specified by the parameter list.

The parameters array should:

Copys the resource to another location in the CARMA system

Parameters:
pm - progress monitor for the operation
parent - The parent container that the resource should be moved to
parameters - the set of parameters required for the method to execute properly
Returns:
the custom return response from the method execution
Throws:
org.eclipse.core.runtime.CoreException - An error occured during execution of the command
NotConnectedException - The action could not be performed because the CARMA connection is not active.
UnsupportedCARMAOperationException - The action could not be performed because the action is not supported by the Repository Manager on the host
See Also:
ActionIdentifier.COPY