Deprecated API


Contents
Deprecated Interfaces
org.modeshape.jcr.api.query.Row
          use javax.jcr.query.Row instead 
org.modeshape.jcr.api.SecurityContext
          Configure each repository to use a custom AuthenthicationProvider implementation 
org.modeshape.jcr.api.Value
          use javax.jcr.Value instead 
 

Deprecated Classes
org.modeshape.connector.store.jpa.model.common.ChangeLogEntity
          This is no longer used. 
org.modeshape.jcr.CndNodeTypeReader
          Use NodeTypeManager.registerNodeTypes(java.io.InputStream, boolean) instead 
org.modeshape.web.jcr.webdav.DefaultRequestResolver
          use SingleRepositoryRequestResolver instead for the same functionality 
org.modeshape.jcr.JackrabbitXmlNodeTypeReader
          Use NodeTypeManager.registerNodeTypes(java.io.InputStream, boolean) instead 
org.modeshape.jcr.JcrSecurityContextCredentials
          Use SecurityContextCredentials instead 
org.modeshape.jcr.api.SecurityContextCredentials
          Configure each repository to use a custom AuthenthicationProvider implementation 
org.modeshape.jcr.security.SecurityContextProvider
          Use custom AuthenticationProvider implementations instead 
org.modeshape.web.jcr.ServletCredentials
          Use ServletCredentials instead 
org.modeshape.web.jcr.ServletSecurityContext
           
 

Deprecated Fields
org.modeshape.graph.ModeShapeLexicon.NAMESPACE_URI
          Use ModeShapeLexicon.URI instead. 
 

Deprecated Methods
org.modeshape.connector.infinispan.InfinispanSource.getCacheManagerJndiName()
           
org.modeshape.common.collection.UnmodifiableProperties.save(OutputStream, String)
          This method does not throw an IOException if an I/O error occurs while saving the property list. The preferred way to save a properties list is via the store(OutputStream out, String comments) method or the storeToXML(OutputStream os, String comment) method. 
org.modeshape.connector.infinispan.InfinispanSource.setCacheManagerJndiName(String)
           
org.modeshape.jcr.nodetype.NodeDefinitionTemplate.setDefaultPrimaryType(String)
          As of ModeShape 2.0, use NodeDefinitionTemplate.setDefaultPrimaryTypeName(String) instead 
org.modeshape.jcr.nodetype.PropertyDefinitionTemplate.setDefaultValues(String[])
          As of ModeShape 2.0, use PropertyDefinitionTemplate.setDefaultValues(javax.jcr.Value[]) instead 
org.modeshape.graph.sequencer.SequencerOutput.setProperty(String, String, Object...)
          As of ModeShape 2.0, the preferred approach is to use SequencerOutput.setProperty(Path, Name, Object...), which properly addresses the session having different namespace mappings. This method depends on the namespace mappings for the given URIs in the name components of the nodePath and propertyName to be mapped in the NamespaceRegistry of the ModeShapeEngine's (or JcrEngine's) ExecutionContext. 
org.modeshape.graph.sequencer.SequencerOutput.setReference(String, String, String...)
          As of ModeShape 2.0, the preferred approach is to use SequencerOutput.setProperty(Path, Name, Object...), which properly addresses the session having different namespace mappings. This method depends on the namespace mappings for the given URIs in the name components of the nodePath and propertyName to be mapped in the NamespaceRegistry of the ModeShapeEngine's (or JcrEngine's) ExecutionContext. 
org.modeshape.jcr.nodetype.NodeDefinitionTemplate.setRequiredPrimaryTypes(String[])
          As of ModeShape 2.0, use NodeDefinitionTemplate.setRequiredPrimaryTypeNames(String[]) instead 
 

Deprecated Enum Constants
org.modeshape.jcr.JcrRepository.Option.USE_SECURITY_CONTEXT_CREDENTIALS
          Use custom AuthenticationProvider implementations instead 
 



Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.