org.entityfs.cap.symlink.impl
Class AbstractSymbolicLinkDelegateProxy

java.lang.Object
  extended by org.entityfs.support.lang.ObjectProxySupport<T>
      extended by org.entityfs.impl.AbstractEntityDelegateProxy<SymbolicLinkDelegate,SymbolicLinkAdapter>
          extended by org.entityfs.cap.symlink.impl.AbstractSymbolicLinkDelegateProxy
All Implemented Interfaces:
SymbolicLinkDelegate, EntityDelegate

public abstract class AbstractSymbolicLinkDelegateProxy
extends AbstractEntityDelegateProxy<SymbolicLinkDelegate,SymbolicLinkAdapter>
implements SymbolicLinkDelegate


Constructor Summary
protected AbstractSymbolicLinkDelegateProxy(SymbolicLinkDelegate proxied)
           
 
Method Summary
 void delete()
          Delete the symbolic link.
 EntityImplementation dereferenceOrNull(EntityLocation<?> el)
           
 EntityImplementation getEntityOrNull(String name)
           
 EntityLocation<?> getTargetLocation()
           
 void touch()
           
 
Methods inherited from class org.entityfs.impl.AbstractEntityDelegateProxy
canRead, canWrite, copy, copyAttributes, exists, getDelegateOfTypeOrNull, getEntityAdapter, getFileSystem, getLastModified, getName, getOwner, init, isReadOnly, rename, setLastModified, setOwner
 
Methods inherited from class org.entityfs.support.lang.ObjectProxySupport
equals, getProxied, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.entityfs.impl.EntityDelegate
canRead, canWrite, copy, copyAttributes, exists, getDelegateOfTypeOrNull, getEntityAdapter, getFileSystem, getLastModified, getName, getOwner, init, isReadOnly, rename, setLastModified, setOwner
 

Constructor Detail

AbstractSymbolicLinkDelegateProxy

protected AbstractSymbolicLinkDelegateProxy(SymbolicLinkDelegate proxied)
Method Detail

getTargetLocation

public EntityLocation<?> getTargetLocation()
Specified by:
getTargetLocation in interface SymbolicLinkDelegate

dereferenceOrNull

public EntityImplementation dereferenceOrNull(EntityLocation<?> el)
Specified by:
dereferenceOrNull in interface SymbolicLinkDelegate

touch

public void touch()
Specified by:
touch in interface SymbolicLinkDelegate

getEntityOrNull

public EntityImplementation getEntityOrNull(String name)
Specified by:
getEntityOrNull in interface SymbolicLinkDelegate

delete

public void delete()
            throws FileSystemException
Description copied from interface: SymbolicLinkDelegate
Delete the symbolic link.

Specified by:
delete in interface SymbolicLinkDelegate
Throws:
FileSystemException - If the symbolic link cannot be deleted.