org.nakedobjects.remoting.client.facets
Class PropertyClearFacetWrapProxy

java.lang.Object
  extended by org.nakedobjects.metamodel.facets.FacetAbstract
      extended by org.nakedobjects.metamodel.facets.properties.modify.PropertyClearFacetAbstract
          extended by org.nakedobjects.remoting.client.facets.PropertyClearFacetWrapProxy
All Implemented Interfaces:
DecoratingFacet<PropertyClearFacet>, Facet, PropertyClearFacet

public final class PropertyClearFacetWrapProxy
extends PropertyClearFacetAbstract
implements DecoratingFacet<PropertyClearFacet>

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.


Constructor Summary
PropertyClearFacetWrapProxy(PropertyClearFacet underlyingFacet, ServerFacade serverFacade, ObjectEncoderDecoder encoderDecoder, java.lang.String name)
           
 
Method Summary
 void clearProperty(NakedObject inObject)
           
protected static AuthenticationSession getAuthenticationSession()
           
 PropertyClearFacet getDecoratedFacet()
           
 
Methods inherited from class org.nakedobjects.metamodel.facets.properties.modify.PropertyClearFacetAbstract
type
 
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
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Constructor Detail

PropertyClearFacetWrapProxy

public PropertyClearFacetWrapProxy(PropertyClearFacet underlyingFacet,
                                   ServerFacade serverFacade,
                                   ObjectEncoderDecoder encoderDecoder,
                                   java.lang.String name)
Method Detail

getDecoratedFacet

public PropertyClearFacet getDecoratedFacet()
Specified by:
getDecoratedFacet in interface DecoratingFacet<PropertyClearFacet>

clearProperty

public void clearProperty(NakedObject inObject)
Specified by:
clearProperty in interface PropertyClearFacet

getAuthenticationSession

protected static AuthenticationSession getAuthenticationSession()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.