com.ail.core.persistence.jdo
Class JDOImplementation

java.lang.Object
  extended by com.ail.core.persistence.jdo.JDOImplementation
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable

public class JDOImplementation
extends java.lang.Object
implements ConfigurationOwner

See Also:
Serialized Form

Method Summary
 void create()
           
 void delete()
           
 Configuration getConfiguration()
          Retrieve the classes configuration.
 java.lang.String getConfigurationNamespace()
          Retrieve the configuration namespace used by this class.
static JDOImplementation getJDOImplementation()
           
 java.security.Principal getSecurityPrincipal()
          Get the security principal associated with this instance.
 VersionEffectiveDate getVersionEffectiveDate()
          The Core uses this callback to determin which versions of artefacts it should use on the CoreUser's behalf.
 void introduce()
           
 QueryResults query(Query query)
           
 void resetConfiguration()
          Factory reset.
 void setConfiguration(Configuration config)
          Update the classes configuration with those passed in.
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public void create()

update

public void update()

query

public QueryResults query(Query query)

delete

public void delete()

introduce

public void introduce()

getJDOImplementation

public static JDOImplementation getJDOImplementation()

setConfiguration

public void setConfiguration(Configuration config)
Description copied from interface: ConfigurationOwner
Update the classes configuration with those passed in.

Specified by:
setConfiguration in interface ConfigurationOwner
Parameters:
config - new configuration

getConfiguration

public Configuration getConfiguration()
Description copied from interface: ConfigurationOwner
Retrieve the classes configuration.

Specified by:
getConfiguration in interface ConfigurationOwner
Returns:
The classes configuration

getConfigurationNamespace

public java.lang.String getConfigurationNamespace()
Description copied from interface: CoreUser
Retrieve the configuration namespace used by this class. This namespace is simply a unique string used by the class to identify its configuration.

Specified by:
getConfigurationNamespace in interface CoreUser
Returns:
Namespace string

resetConfiguration

public void resetConfiguration()
Description copied from interface: ConfigurationOwner
Factory reset. Reset the configuration to the factory defaults.

Specified by:
resetConfiguration in interface ConfigurationOwner

getVersionEffectiveDate

public VersionEffectiveDate getVersionEffectiveDate()
Description copied from interface: CoreUser
The Core uses this callback to determin which versions of artefacts it should use on the CoreUser's behalf.

Specified by:
getVersionEffectiveDate in interface CoreUser
Returns:
The version date that the CoreUser is working at.

getSecurityPrincipal

public java.security.Principal getSecurityPrincipal()
Get the security principal associated with this instance.

Specified by:
getSecurityPrincipal in interface CoreUser
Returns:
The associated security principal - if defined, null otherwise.