org.nakedobjects.remoting.client.facets
Class CollectionRemoveFromFacetWrapProxy
java.lang.Object
org.nakedobjects.metamodel.facets.FacetAbstract
org.nakedobjects.metamodel.facets.collections.modify.CollectionRemoveFromFacetAbstract
org.nakedobjects.remoting.client.facets.CollectionRemoveFromFacetWrapProxy
- All Implemented Interfaces:
- CollectionRemoveFromFacet, DecoratingFacet<CollectionRemoveFromFacet>, Facet
public final class CollectionRemoveFromFacetWrapProxy
- extends CollectionRemoveFromFacetAbstract
- implements DecoratingFacet<CollectionRemoveFromFacet>
A reflection peer for changing one-to-many fields remotely, instead of on the local machine. Any requests
to add or remove elements from the field will be passed over the network to the server for completion. Only
requests on persistent objects are passed to the server; on a transient object the request will always be
dealt with locally.
If any of the objects involved have been changed on the server by another process then a
ConcurrencyException will be passed back to the client and re-thrown.
| Methods inherited from class org.nakedobjects.metamodel.facets.FacetAbstract |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValues, unwrapObject, unwrapString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CollectionRemoveFromFacetWrapProxy
public CollectionRemoveFromFacetWrapProxy(CollectionRemoveFromFacet underlyingFacet,
ServerFacade connection,
ObjectEncoderDecoder encoder,
java.lang.String name)
getDecoratedFacet
public CollectionRemoveFromFacet getDecoratedFacet()
- Specified by:
getDecoratedFacet in interface DecoratingFacet<CollectionRemoveFromFacet>
remove
public void remove(NakedObject inObject,
NakedObject associate)
- Remove an associated object (the element) from the specified NakedObject in the association field
represented by this object.
- Specified by:
remove in interface CollectionRemoveFromFacet
getAuthenticationSession
protected static AuthenticationSession getAuthenticationSession()
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.