Deprecated API


Contents
Deprecated Interfaces
org.jasig.portal.IMultithreadedCacheable
          Use the IChannel* interfaces instead or write a portlet. For more information see: http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces 
org.jasig.portal.IMultithreadedChannel
          Use the IChannel* interfaces instead or write a portlet. For more information see: http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces 
org.jasig.portal.IMultithreadedCharacterChannel
          Use the IChannel* interfaces instead or write a portlet. For more information see: http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces 
org.jasig.portal.IMultithreadedDirectResponse
          Use the IChannel* interfaces instead or write a portlet. For more information see: http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces 
org.jasig.portal.IMultithreadedMimeResponse
          Use the IChannel* interfaces instead or write a portlet. For more information see: http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces 
org.jasig.portal.IMultithreadedPrivileged
          Use the IChannel* interfaces instead or write a portlet. For more information see: http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IMultithreaded+Interfaces 
org.jasig.portal.utils.IPortalDocument
          use DOM 3 Documents instead. 
org.jasig.portal.services.stats.IStatsRecorderFactory
          as of uP 2.5.1, factory not needed when using Spring to instantiate the IStatsRecorder implementation. 
 

Deprecated Classes
org.jasig.portal.security.provider.CacheLdapSecurityContext
          As of uPortal 2.1.3, use SimpleLdapSecurityContext chained with CacheSecurityContext instead 
org.jasig.portal.security.provider.CacheLdapSecurityContextFactory
          As of uPortal 2.1.3, use SimpleLdapSecurityContextFactory chained with CacheSecurityContextFactory instead 
org.jasig.portal.channels.CError
          moved to org.jasig.portal.channels.error package. 
org.jasig.portal.LdapServices
          As of uPortal 2.4, use LdapServices. 
org.jasig.portal.services.LogService
          As of uPortal 2.4, please use Apache Commons Logging directly 
org.jasig.portal.properties.MissingPropertiesServlet
          No longer necessary since CMissingProperties was introduced in uPortal 2.5. 
org.jasig.portal.utils.PortalDocumentImpl
          use w3c DOM level 3 Documents directly instead. 
org.jasig.portal.PropertiesManager
          since uPortal 2.4, this class has moved to org.jasig.portal.properties 
org.jasig.portal.RDBMServices.PreparedStatement
          Instead of this class a wrapper around the DataSource, Connection and Prepared statement should be done in DatabaseMetaDataImpl 
 

Deprecated Fields
org.jasig.portal.services.PersonDirectory.propertynames
          you cannot get the list of attributes in the abstract, only for a particular user. 
 

Deprecated Methods
org.jasig.portal.PortalException.allowRefresh()
          use isRefreshable(). 
org.jasig.portal.PortalException.allowReinstantiation()
          use isReinstantiable() 
org.jasig.portal.RDBMServices.closePreparedStatement(PreparedStatement)
          Use RDBMServices.closeStatement(Statement). 
org.jasig.portal.utils.IPortalDocument.copyCache(IPortalDocument)
          this methid no longer is required to have any effect 
org.jasig.portal.concurrency.caching.ReferenceEntityCache.debug(String)
          Use Commons Logging directly. 
org.jasig.portal.groups.GroupServiceConfiguration.debugMessage(String)
          see comment inside method 
org.jasig.portal.services.StatsRecorder.get(int)
          since uPortal 2.5.1, recorder settings are no longer global 
org.jasig.portal.LdapServices.getBaseDN()
          As of uPortal 2.4, use LdapServices.getDefaultLdapServer() and ILdapServer.getBaseDN(). 
org.jasig.portal.LdapServices.getConnection()
          As of uPortal 2.4, use LdapServices.getDefaultLdapServer() and ILdapServer.getConnection(). 
org.jasig.portal.utils.DocumentFactory.getDocumentFromStream(InputStream)
          Does not provide document identifier in exceptions. 
org.jasig.portal.utils.DocumentFactory.getDocumentFromStream(InputStream, EntityResolver)
          Does not provide document identifier in exceptions. 
org.jasig.portal.InternalPortalException.getException()
          use Throwable.getCause() instead 
org.jasig.portal.concurrency.CachingException.getExceptionCode()
            
org.jasig.portal.groups.GroupsException.getExceptionCode()
            
org.jasig.portal.concurrency.LockingException.getExceptionCode()
            
org.jasig.portal.services.PersonDirectory.getPropertyNamesIterator()
          Use IPersonAttributeDao.getPossibleUserAttributeNames() 
org.jasig.portal.PortalException.getRecordedException()
          - use Throwable.getCause() 
org.jasig.portal.services.PersonDirectory.getRestrictedPerson(String)
          Use PersonFactory.createRestrictedPerson() and IPersonAttributeDao.getUserAttributes(String) and RestrictedPerson.setAttributes(Map) 
org.jasig.portal.LdapServices.getUidAttribute()
          As of uPortal 2.4, use LdapServices.getDefaultLdapServer() and ILdapServer.getUidAttribute(). 
org.jasig.portal.services.PersonDirectory.getUserDirectoryInformation(String)
          Use IPersonAttributeDao.getUserAttributes(String) 
org.jasig.portal.services.PersonDirectory.getUserDirectoryInformation(String, IPerson)
          Use IPersonAttributeDao.getUserAttributes(String) and IPerson.setAttributes(Map) 
org.jasig.portal.groups.GroupServiceConfiguration.infoMessage(String)
          see comment inside method 
org.jasig.portal.services.LogService.initialize()
          no longer does anything 
org.jasig.portal.services.PersonDirectory.instance()
          Use PersonDirectory.getPersonAttributeDao() 
org.jasig.portal.utils.IPortalDocument.putIdentifier(String, Element)
          this method no longer is required to have any effect. 
org.jasig.portal.LdapServices.releaseConnection(DirContext)
          As of uPortal 2.4, use LdapServices.getDefaultLdapServer() and ILdapServer.releaseConnection(DirContext). 
org.jasig.portal.services.StatsRecorder.set(int, boolean)
          since uPortal 2.5.1, recorder settings are no longer necessarily global 
org.jasig.portal.layout.alm.AggregatedLayoutManager.setAutoCommit(boolean)
          this method no longer has any effect 
org.jasig.portal.PortalException.setRecordedException(Exception)
          use initCause() instead. 
org.jasig.portal.utils.XSLT.setStylesheetParams(Transformer, Hashtable)
          replaced by XSLT.setStylesheetParams(Transformer, HashMap) 
org.jasig.portal.groups.PersonDirNameFinder.singleton()
          as of uP 2.5 instead use PersonDirNameFinderFactory 
 

Deprecated Constructors
org.jasig.portal.AuthorizationException()
          - use instead a constructor that provides a message or cause. 
org.jasig.portal.concurrency.CachingException()
          use a more helpful constructor 
org.jasig.portal.ChannelParameter(String, String, String)
          resolve override to a boolean and use the other constructor 
org.jasig.portal.groups.GroupsException()
          use a more informative constructor 
org.jasig.portal.LdapServices()
          As of uPortal 2.4, use LdapServices instead. 
org.jasig.portal.concurrency.LockingException()
          use a more informative constructor 
org.jasig.portal.PortalEvent(int)
          instead reference one of the static singleton events. 
org.jasig.portal.security.PortalSecurityException()
          instead use a more informative constructor 
org.jasig.portal.ResourceMissingException()
          use a more informative constructor