org.entityfs.cap.entityattrs.custom.metadata.user
Class MetadataCustomAttributesCapabilityProvider<T extends EntityAttributes>

java.lang.Object
  extended by org.entityfs.cap.entityattrs.custom.metadata.user.MetadataCustomAttributesCapabilityProvider<T>
All Implemented Interfaces:
CapabilityProvider, CapabilityProviderImplementation

Deprecated. Use MetadataCustomAttributesCapabilityProvider instead.

@Deprecated
public class MetadataCustomAttributesCapabilityProvider<T extends EntityAttributes>
extends Object
implements CapabilityProviderImplementation

This object just delegates to MetadataCustomAttributesCapabilityProvider . Use that instead.

Since:
1.1.3
Author:
Karl Gustafsson

Constructor Summary
MetadataCustomAttributesCapabilityProvider()
          Deprecated. 
 
Method Summary
 String getAttributesFileName()
          Deprecated. 
 Class<T> getAttributesType()
          Deprecated. 
 ChildEntityAttributeManagerFactory<T,? extends ChildEntityAttributeManager<T>> getChildEntityAttributeManagerFactory()
          Deprecated. 
 Map<EntityType,ObjectFactory<? extends T>> getDefaultAttributesFactories()
          Deprecated. 
 EntityAttributesPreparer<T> getEntityAttributesPreparer()
          Deprecated. 
 boolean isReadOnlyFileSystemSupported()
          Deprecated. 
 boolean isReadWriteFileSystemSupported()
          Deprecated. 
 boolean isStoreAttributesLazily()
          Deprecated. 
 AdapterFactory proxyAdapterFactory(AdapterFactory af, LogAdapterHolder lah)
          Deprecated. 
 FileSystemDelegate proxyFileSystemDelegate(FileSystemDelegate fsd, SupportObjects so, boolean readOnly)
          Deprecated. 
 DirectoryDelegate proxyRootDirectoryDelegate(FileSystemImplementation fs, FileSystemDelegate fsd, DirectoryDelegate dd, LogAdapterHolder lah)
          Deprecated. 
 MetadataCustomAttributesCapabilityProvider<T> setAttributesFileName(String name)
          Deprecated. 
 MetadataCustomAttributesCapabilityProvider<T> setAttributesType(Class<T> c)
          Deprecated. 
 MetadataCustomAttributesCapabilityProvider<T> setChildEntityAttributeManagerFactory(ChildEntityAttributeManagerFactory<T,? extends ChildEntityAttributeManager<T>> f)
          Deprecated. 
 MetadataCustomAttributesCapabilityProvider<T> setDefaultAttributesFactories(Map<EntityType,? extends ObjectFactory<T>> m)
          Deprecated. 
 MetadataCustomAttributesCapabilityProvider<T> setDefaultAttributesFactory(EntityType et, ObjectFactory<T> f)
          Deprecated. 
 MetadataCustomAttributesCapabilityProvider<T> setEntityAttributesPreparer(EntityAttributesPreparer<T> eap)
          Deprecated. 
 MetadataCustomAttributesCapabilityProvider<T> setStoreAttributesLazily(boolean b)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataCustomAttributesCapabilityProvider

@Deprecated
public MetadataCustomAttributesCapabilityProvider()
Deprecated. 

Method Detail

setDefaultAttributesFactory

@Deprecated
public MetadataCustomAttributesCapabilityProvider<T> setDefaultAttributesFactory(EntityType et,
                                                                                            ObjectFactory<T> f)
Deprecated. 


setDefaultAttributesFactories

@Deprecated
public MetadataCustomAttributesCapabilityProvider<T> setDefaultAttributesFactories(Map<EntityType,? extends ObjectFactory<T>> m)
Deprecated. 


getDefaultAttributesFactories

@Deprecated
public Map<EntityType,ObjectFactory<? extends T>> getDefaultAttributesFactories()
Deprecated. 


setAttributesFileName

@Deprecated
public MetadataCustomAttributesCapabilityProvider<T> setAttributesFileName(String name)
Deprecated. 


getAttributesFileName

@Deprecated
public String getAttributesFileName()
Deprecated. 


setEntityAttributesPreparer

@Deprecated
public MetadataCustomAttributesCapabilityProvider<T> setEntityAttributesPreparer(EntityAttributesPreparer<T> eap)
Deprecated. 


getEntityAttributesPreparer

@Deprecated
public EntityAttributesPreparer<T> getEntityAttributesPreparer()
Deprecated. 


setChildEntityAttributeManagerFactory

@Deprecated
public MetadataCustomAttributesCapabilityProvider<T> setChildEntityAttributeManagerFactory(ChildEntityAttributeManagerFactory<T,? extends ChildEntityAttributeManager<T>> f)
Deprecated. 


getChildEntityAttributeManagerFactory

@Deprecated
public ChildEntityAttributeManagerFactory<T,? extends ChildEntityAttributeManager<T>> getChildEntityAttributeManagerFactory()
Deprecated. 


setStoreAttributesLazily

@Deprecated
public MetadataCustomAttributesCapabilityProvider<T> setStoreAttributesLazily(boolean b)
Deprecated. 


isStoreAttributesLazily

@Deprecated
public boolean isStoreAttributesLazily()
Deprecated. 


setAttributesType

@Deprecated
public MetadataCustomAttributesCapabilityProvider<T> setAttributesType(Class<T> c)
Deprecated. 


getAttributesType

@Deprecated
public Class<T> getAttributesType()
Deprecated. 


isReadOnlyFileSystemSupported

@Deprecated
public boolean isReadOnlyFileSystemSupported()
Deprecated. 

Specified by:
isReadOnlyFileSystemSupported in interface CapabilityProviderImplementation
Returns:
true if this capability provider supports read only file systems.

isReadWriteFileSystemSupported

@Deprecated
public boolean isReadWriteFileSystemSupported()
Deprecated. 

Specified by:
isReadWriteFileSystemSupported in interface CapabilityProviderImplementation
Returns:
true if this capability provider supports read/write file systems.

proxyAdapterFactory

@Deprecated
public AdapterFactory proxyAdapterFactory(AdapterFactory af,
                                                     LogAdapterHolder lah)
                                   throws FileSystemConfigurationException
Deprecated. 

Description copied from interface: CapabilityProviderImplementation
This is called to let the capability provider proxy the file system's adapter factory before the file system is created.

Specified by:
proxyAdapterFactory in interface CapabilityProviderImplementation
Parameters:
af - The adapter factory.
lah - The (future) file system's log adapter holder.
Returns:
The (future) file system's adapter factory, possibly proxied. If the adapter factory should not be proxied, return the supplied factory, never return null.
Throws:
FileSystemConfigurationException - On configuration errors.

proxyFileSystemDelegate

@Deprecated
public FileSystemDelegate proxyFileSystemDelegate(FileSystemDelegate fsd,
                                                             SupportObjects so,
                                                             boolean readOnly)
                                           throws FileSystemConfigurationException
Deprecated. 

Description copied from interface: CapabilityProviderImplementation
This is used when creating the file system to let the capability provider proxy the file system delegate.

This method can check that all capabilities that the capability provider require in order to work are present in the FileSystemDelegate to proxy. If not, the method throws an FileSystemConfigurationException.

When this method is called, no owning FileSystemImplementation is created yet, so a call to FileSystemDelegate.getOwner() will return null.

Specified by:
proxyFileSystemDelegate in interface CapabilityProviderImplementation
Parameters:
fsd - The file system delegate to proxy.
so - The file system's support objects. Maybe useful for implementations of this method, maybe not.
readOnly - Is the file system read only?
Returns:
A file system delegate. Either a proxy of fsd or fsd itself. Never null.
Throws:
FileSystemConfigurationException - On configuration errors.

proxyRootDirectoryDelegate

@Deprecated
public DirectoryDelegate proxyRootDirectoryDelegate(FileSystemImplementation fs,
                                                               FileSystemDelegate fsd,
                                                               DirectoryDelegate dd,
                                                               LogAdapterHolder lah)
                                             throws FileSystemConfigurationException
Deprecated. 

Description copied from interface: CapabilityProviderImplementation
This is used when creating a file system to let the capability provider proxy the root directory delegate. Most capability providers do this.

Specified by:
proxyRootDirectoryDelegate in interface CapabilityProviderImplementation
Parameters:
fs - The file system object.
fsd - The file system delegate created by CapabilityProviderImplementation.proxyFileSystemDelegate(FileSystemDelegate, SupportObjects, boolean) .
dd - The root directory delegate.
Returns:
A directory delegate. Either a proxy of dd or dd itself. Never null.
Throws:
FileSystemConfigurationException - On configuration errors.