|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.model.RemoveConnectionsAction<M>
public class RemoveConnectionsAction<M extends Model>
Action containing the details of a delete.
| Field Summary | |
|---|---|
static String |
REMOVE_CONNECTIONS_METHOD_NAME
Method name on the models to remove the connections. |
| Constructor Summary | |
|---|---|
RemoveConnectionsAction(M model)
Initiate. |
|
| Method Summary | ||
|---|---|---|
|
addCascadeModel(RemoveConnectionsAction<R> child)
Adds a cascade Model. |
|
|
disconnect(Collection<C> connectionModels)
Removes the ConnectionModel instances within the input
Collection. |
|
void |
disconnect(ConnectionModel connectionModel)
Removes the ConnectionModel and holds reference to it for undo
action. |
|
M |
getModel()
Obtains the Model for which ConnectionModel instances are
being removed. |
|
void |
reconnect()
Reconnects all the ConnectionModel instances. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REMOVE_CONNECTIONS_METHOD_NAME
| Constructor Detail |
|---|
public RemoveConnectionsAction(M model)
model - Model for which ConnectionModel instances are
being removed.| Method Detail |
|---|
public M getModel()
Model for which ConnectionModel instances are
being removed.
Model for which ConnectionModel instances are
being removed.public void disconnect(ConnectionModel connectionModel)
ConnectionModel and holds reference to it for undo
action.
connectionModel - ConnectionModel and may be null for
easier coding.public <C extends ConnectionModel> void disconnect(Collection<C> connectionModels)
ConnectionModel instances within the input
Collection.
connectionModels - ConnectionModel instances.public <R extends Model> void addCascadeModel(RemoveConnectionsAction<R> child)
Adds a cascade Model.
Added cascade Model instances are reconnected on this being
reconnected.
child - Cascade Model.public void reconnect()
ConnectionModel instances.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||