Deprecated API


Contents
Deprecated Interfaces
org.exist.dom.NodeVisitor
          replaced by XMLStreamListener 
org.exist.security.User
           
org.exist.dom.Visitable
          replaced by XMLStreamListener 
 

Deprecated Classes
org.exist.http.servlets.DatabaseAdminServlet
           
org.exist.xquery.functions.fn.DeprecatedExtRegexp
           
org.exist.xquery.functions.fn.FunStringPad
           
org.exist.http.servlets.RedirectorServlet
           
org.exist.xquery.functions.xmldb.XMLDBIsAuthenticated
           
 

Deprecated Fields
org.exist.xmldb.XmldbURI.CONFIG_COLLECTION
           
org.exist.xmldb.XmldbURI.CONFIG_COLLECTION_URI
           
org.exist.xmldb.XmldbURI.SYSTEM_COLLECTION_URI
           
 

Deprecated Methods
org.exist.dom.ElementImpl._getAttributeNS(String, String)
           
org.exist.dom.Visitable.accept(Iterator, NodeVisitor)
            
org.exist.storage.BrokerPool.active()
          use countActiveBrokers 
org.exist.collections.Collection.addBinaryResource(Txn, DBBroker, XmldbURI, byte[], String)
           
org.exist.collections.Collection.addBinaryResource(Txn, DBBroker, XmldbURI, byte[], String, Date, Date)
           
org.exist.security.SecurityManager.addGroup(String)
           
org.exist.xmldb.UserManagementService.addUser(User)
           
org.exist.http.servlets.Authenticator.authenticate(HttpServletRequest, HttpServletResponse)
           
org.exist.util.ByteConversion.byteToInt(byte[], int)
          reads the lowest byte first. will be replaced with ByteConversion.byteToIntH(byte[], int) for consistency. 
org.exist.util.ByteConversion.byteToShort(byte[], int)
          reads the lowest byte first. will be replaced with ByteConversion.byteToShortH(byte[], int) for consistency. 
org.exist.xmldb.XmldbURI.checkPath2(String, String)
          Legacy method used here and there in the code 
org.exist.xmldb.RemoteCollectionManagementService.copy(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.copy(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.CollectionManagementServiceImpl.copy(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.RemoteCollectionManagementService.copyResource(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.copyResource(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.CollectionManagementServiceImpl.copyResource(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.RemoteCollectionManagementService.createCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.createCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.CollectionManagementServiceImpl.createCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.RemoteCollectionManagementService.createCollection(String, Date)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.createCollection(String, Date)
          Use XmldbURI version instead 
org.exist.xmldb.CollectionManagementServiceImpl.createCollection(String, Date)
          Use XmldbURI version instead 
org.exist.xmldb.RemoteCollectionManagementService.createCollection(String, Document)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.createCollection(String, Document)
          Use XmldbURI version instead 
org.exist.fluent.Database.ensureStarted(File)
          Please use a combination of Database.isStarted() and Database.startup(File). 
org.exist.collections.triggers.CollectionTrigger.finish(int, DBBroker, Txn, Collection, Collection)
           
org.exist.collections.triggers.DocumentTrigger.finish(int, DBBroker, Txn, XmldbURI, DocumentImpl)
           
org.exist.security.AbstractAccount.getDefaultGroup()
          user getPrimaryGroup instead; 
org.exist.security.User.getDigestPassword()
           
org.exist.security.Account.getDigestPassword()
           
org.exist.security.internal.AccountImpl.getDigestPassword()
           
org.exist.collections.Collection.getDocumentWithLock(DBBroker, XmldbURI)
          Use getDocumentWithLock(DBBroker broker, XmldbURI uri, int lockMode) 
org.exist.security.SecurityManager.getGroups()
           
org.exist.security.internal.SecurityManagerImpl.getGroups()
           
org.exist.xmldb.DatabaseImpl.getName()
            
org.exist.security.User.getPassword()
            
org.exist.security.Account.getPassword()
            
org.exist.security.internal.AccountImpl.getPassword()
            
org.exist.http.servlets.HttpServletRequestWrapper.getRealPath(String)
          use use ServletContext#getRealPath(java.lang.String) instead. 
org.exist.security.realm.Realm.getRoles()
           
org.exist.storage.DBBroker.getUser()
          user getSubject 
org.exist.xquery.XQueryContext.getUser()
          use getSubject 
org.exist.xmldb.UserManagementService.getUser(String)
           
org.exist.security.SecurityManager.getUsers()
           
org.exist.security.internal.SecurityManagerImpl.getUsers()
           
org.exist.xmldb.UserManagementService.getUsers()
           
org.exist.util.ByteConversion.intToByte(int, byte[], int)
          this version of the method writes the lowest byte first. It will be replaced by ByteConversion.intToByteH(int, byte[], int) for consistency. 
org.exist.http.servlets.HttpServletRequestWrapper.isRequestedSessionIdFromUrl()
          use isRequestedSessionIdFromURL() instead. 
org.exist.xmldb.UserManagementService.lockResource(Resource, User)
           
org.exist.xmldb.XmldbURI.makeAbsolute(String)
          Legacy method used here and there in the code and copied as such 
org.exist.xmldb.RemoteCollectionManagementService.move(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.move(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.CollectionManagementServiceImpl.move(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.RemoteCollectionManagementService.moveResource(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.moveResource(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.CollectionManagementServiceImpl.moveResource(String, String, String)
          Use XmldbURI version instead 
org.exist.xmldb.XmldbURI.normalizeCollectionName(String)
          Legacy method used here and there in the code and copied as such 
org.exist.collections.triggers.CollectionTrigger.prepare(int, DBBroker, Txn, Collection, Collection)
           
org.exist.collections.triggers.DocumentTrigger.prepare(int, DBBroker, Txn, XmldbURI, DocumentImpl)
           
org.exist.xmlrpc.RpcConnection.query(byte[], int, int, HashMap)
          Use XmldbURI version instead 
org.exist.xmlrpc.RpcAPI.query(byte[], int, int, HashMap)
          use Vector query() or int executeQuery() instead 
org.exist.soap.QuerySoapBindingImpl.query(String, String)
          use QuerySoapBindingImpl.xquery(String, byte[]) instead. 
org.exist.soap.Query.query(String, String)
          use Query.xquery(String, byte[]) instead. 
org.exist.xmlrpc.RpcConnection.querySummary(String)
          Use XmldbURI version instead 
org.exist.xmlrpc.RpcAPI.querySummary(String)
          use Vector query() or int executeQuery() instead 
org.exist.xmldb.XmldbURI.recoverPseudoURIs(String)
          By definition, using this method is strongly discouraged 
org.exist.xmldb.RemoteIndexQueryService.reindexCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.LocalIndexQueryService.reindexCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.IndexQueryService.reindexCollection(String)
          Use XmldbURI version instead 
org.exist.collections.Collection.releaseDocument(DocumentImpl)
          Use releaseDocument(DocumentImpl doc, int mode) 
org.exist.xmldb.RemoteCollectionManagementService.removeCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.LocalCollectionManagementService.removeCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.CollectionManagementServiceImpl.removeCollection(String)
          Use XmldbURI version instead 
org.exist.xmldb.UserManagementService.removeUser(User)
           
org.exist.storage.ValueIndexFactory.serialize(Indexable, int, boolean)
            
org.exist.fluent.Database.setDefaultExportEncoding(String)
          Renamed to Database.setDefaultCharacterEncoding(String). 
org.exist.security.User.setGroups(String[])
           
org.exist.security.Account.setGroups(String[])
           
org.exist.dom.DocumentImpl.setMetadata(DocumentMetadata)
          This function is considered a security problem and should be removed, move code to copyOf or Constructor 
org.exist.security.Permission.setMode(String)
          Setting permissions via string is not very efficient! 
org.exist.dom.DocumentImpl.setPermissions(Permission)
          This function is considered a security problem and should be removed, move code to copyOf or Constructor 
org.exist.collections.Collection.setPermissions(String)
           
org.exist.storage.DBBroker.setUser(Subject)
          use setSubject 
org.exist.util.ByteConversion.shortToByte(short, byte[], int)
          this version of the method writes the lowest byte first. It will be replaced by ByteConversion.shortToByteH(short, byte[], int) for consistency. 
org.exist.storage.NativeBroker.storeBinaryResource(Txn, BinaryDocument, byte[])
           
org.exist.storage.DBBroker.storeBinaryResource(Txn, BinaryDocument, byte[])
           
org.exist.xmldb.UserManagementService.updateUser(User)
           
org.exist.dom.NodeVisitor.visit(StoredNode)
           
 

Deprecated Constructors
org.exist.xmldb.AbstractEXistResource(Subject, BrokerPool, LocalCollection, String, String)
          Use the XmldbURI constructor instead 
org.exist.storage.dom.DOMTransaction(Object, DOMFile)
          : use other constructors 
org.exist.config.ReferenceImpl(R, O)
          Use ReferenceImpl(R, O, String) instead 
org.exist.xquery.XPathException(int, int, Throwable)
           
org.exist.xquery.XPathException(String, Throwable)
           
org.exist.xquery.XPathException(Throwable)
           
org.exist.xquery.XPathException(XQueryAST, String)
           
 



Copyright (C) The eXist-db Project. All rights reserved.