# Deprecated API

## Contents

- Interfaces
- Classes
- Annotation Interfaces
- Methods
- Constructors
- Annotation Interface Elements

- Deprecated Interfaces
  Interface
  Description
  com.emc.documentum.rest.crypto.Crypto
  use `Crypto` instead.

- Deprecated Classes
  Class
  Description
  com.emc.documentum.rest.dfc.query.DQLReservedWords
  please use com.emc.documentum.rest.filter.translator.dql.DQLReservedWords
  com.emc.documentum.rest.http.UriFactory
  Since 7.3, the URI build in this pattern is not supported. Please use com.emc.documentum.rest.context.ResourceUriBuilder instead.
  com.emc.documentum.rest.model.Compat71TypeAtomContentJson
  since 7.2
  com.emc.documentum.rest.model.Compat71TypeAtomEntryJson
  since 7.2
  com.emc.documentum.rest.model.Compat71TypeObjectJson
  since 7.2
  com.emc.documentum.rest.view.LegacyLinkableView
  use LinkableView instead

- Deprecated Annotation Interfaces
  Annotation Interface
  Description
  com.emc.documentum.rest.view.annotation.ResourceVersion
  Since 7.3, this class is moved to package com.emc.documentum.rest.config.version. Use `ResourceVersion`.

- Deprecated Methods
  Method
  Description
  com.emc.documentum.rest.binding.SerializableField.xmlListItemName()
  Use `SerializableField4XmlList.itemName()`.
  com.emc.documentum.rest.binding.SerializableField.xmlListUnwrap()
  Use `SerializableField4XmlList.unwrap()`.
  com.emc.documentum.rest.context.jc.CtAuthBeans.crypto()
  use `CtAuthBeans.clientTokenCrypto()` instead.
  com.emc.documentum.rest.dfc.AspectManager.attachAspects(PersistentObject, List<String>)
  use `AspectManager.attachAspect(String, String...)`
  com.emc.documentum.rest.dfc.ContentManager.setPrimaryContent(String, InputStream, String, String, int, boolean, CheckinPolicy, String)
  use `ContentManager.setPrimaryContent(String, InputStream, long, String, String, String, int, boolean, CheckinPolicy, String)`
  com.emc.documentum.rest.dfc.ContentManager.setRendition(String, InputStream, String, String, int, String, boolean)
  use `ContentManager.setRendition(String, InputStream, String, String, String, int, String, boolean)`
  com.emc.documentum.rest.dfc.ContextSessionManager.executeWithinTheContextTran(Callable<T>)
  `ContextSessionManager.executeWithinTheContextTran(SessionCallable)`
  com.emc.documentum.rest.dfc.GroupManager.addMember(String, String)
  com.emc.documentum.rest.dfc.GroupManager.removeMember(String, String)
  com.emc.documentum.rest.dfc.ObjectCollectionManager.get(String, int, int, AttributeView)
  Since 7.3, please use `ObjectCollectionManager.getPagedCollection(String, boolean, int, int, com.emc.documentum.rest.attributeview.api.AttributeView)` instead.
  com.emc.documentum.rest.dfc.RepositoryManager.get(String)
  since Feldspar 16.3, please use get(String repositoryName,boolean includeDomains)
  com.emc.documentum.rest.dfc.SysObjectManager.cancelCheckOut(String)
  since 7.3, please use `VersioningManager.cancelCheckOut(String)`
  com.emc.documentum.rest.dfc.SysObjectManager.cancelCheckOut(String, Class<T>)
  since 7.3, please use `VersioningManager.cancelCheckOut(String, Class)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkIn(String, String, String, CheckinPolicy, boolean, InputStream, int, String, boolean, String)
  Since 7.3, please use the generic method `VersioningManager.checkIn(String, ContentfulObject, String, CheckinPolicy, boolean, int, String, boolean, String)`.
  com.emc.documentum.rest.dfc.SysObjectManager.checkIn(String, String, String, CheckinPolicy, boolean, InputStream, int, String, boolean, String, Class<T>)
  since 7.3, please use `VersioningManager.checkIn(String, String, String, CheckinPolicy, boolean, InputStream, int, String, boolean, String, Class)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkIn(String, String, String, CheckinPolicy, boolean, InputStream, int, String, long, String, boolean, String)
  since 7.3, please use `VersioningManager.checkIn(String, String, String, CheckinPolicy, boolean, InputStream, int, String, long, String, boolean, String)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkIn(String, T, String, CheckinPolicy, boolean, boolean, String)
  since 7.3, please use `VersioningManager.checkIn(String, SysObject, String, CheckinPolicy, boolean, boolean, String)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkIn(String, T, String, CheckinPolicy, boolean, int, String, boolean, String)
  since 7.3, please use `VersioningManager.checkIn(String, ContentfulObject, String, CheckinPolicy, boolean, int, String, boolean, String)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkInWithContents(String, T, String, CheckinPolicy, boolean, int, boolean, String)
  since 7.3, please use `VersioningManager.checkInWithContents(String, ContentfulObject, String, CheckinPolicy, boolean, int, boolean, String)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkInWithRenditions(String, T, String, CheckinPolicy, boolean, int, boolean, String)
  since 7.3, please use `VersioningManager.checkInWithRenditions(String, ContentfulObject, String, CheckinPolicy, boolean, int, boolean, String)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkOut(String)
  since 7.3, please use `VersioningManager.checkOut(String)`
  com.emc.documentum.rest.dfc.SysObjectManager.checkOut(String, Class<T>)
  since 7.3, please use `VersioningManager.checkOut(String, Class)`
  com.emc.documentum.rest.dfc.SysObjectManager.copy(String, String, boolean, boolean)
  please use `SysObjectManager.copy(String, String, boolean, boolean, boolean, ContentfulObject)`
  com.emc.documentum.rest.dfc.SysObjectManager.copy(String, String, boolean, boolean, boolean, ContentfulObject)
  since Feldspar 16.3, please use `SysObjectManager.copy(String, String, ContentfulObject, CopyOptions)`
  com.emc.documentum.rest.dfc.SysObjectManager.copy(String, String, boolean, boolean, ContentfulObject)
  please use `SysObjectManager.copy(String, String, boolean, boolean, boolean, ContentfulObject)`
  com.emc.documentum.rest.dfc.SysObjectManager.copy(String, String, boolean, boolean, Class<T>)
  please use `SysObjectManager.copy(String, String, boolean, boolean, boolean, ContentfulObject)`
  com.emc.documentum.rest.dfc.SysObjectManager.getCurrentVersion(String)
  since 7.3, please use `VersioningManager.getCurrentVersion(String)`
  com.emc.documentum.rest.dfc.SysObjectManager.getCurrentVersion(String, Class<T>)
  since 7.3, please use `VersioningManager.getCurrentVersion(String, Class)`
  com.emc.documentum.rest.dfc.TypeManager.getTypeDefinition(IDfSession, String, AttributeView, boolean, boolean)
  use `TypeManager.getTypeDefinition(String, TypeParameter)`
  com.emc.documentum.rest.dfc.TypeManager.getTypeDefinition(IDfSession, String, String, boolean, boolean)
  use `TypeManager.getTypeDefinition(String, TypeParameter)`
  com.emc.documentum.rest.dfc.TypeManager.getTypeDefinition(IDfSession, String, String, boolean, boolean, String, String, boolean)
  use `TypeManager.getTypeDefinition(String, TypeParameter)`
  com.emc.documentum.rest.dfc.TypeManager.getTypeDefinition(IDfTypedObject, AttributeView, boolean, boolean)
  use `TypeManager.getTypeDefinition(String, TypeParameter)`
  com.emc.documentum.rest.dfc.TypeManager.getTypeDefinition(String, AttributeView, boolean, boolean)
  use `TypeManager.getTypeDefinition(String, TypeParameter)`
  com.emc.documentum.rest.dfc.TypeManager.getTypeDefinition(String, String, boolean, boolean)
  use `TypeManager.getTypeDefinition(String, TypeParameter)`
  com.emc.documentum.rest.dfc.TypeManager.getTypeDefinition(String, String, boolean, boolean, String, String, boolean)
  use `TypeManager.getTypeDefinition(String, TypeParameter)`
  com.emc.documentum.rest.dfc.VersioningManager.cancelCheckOut(String)
  since feldspar 16.3, please use method cancelCheckOut(String id,LockOptions lockOptions)
  com.emc.documentum.rest.dfc.VersioningManager.checkIn(String, String, String, CheckinPolicy, boolean, InputStream, int, String, boolean, String)
  Since 7.3, please use the generic method `VersioningManager.checkIn(String, ContentfulObject, String, CheckinPolicy, boolean, int, String, boolean, String)`.
  com.emc.documentum.rest.dfc.VersioningManager.checkOut(String)
  since feldspar 16.3, please use method checkOut(String id,LockOptions lockOptions)
  com.emc.documentum.rest.http.SupportedMediaTypes.all()
  the method is not used any more
  com.emc.documentum.rest.http.SupportedMediaTypes.defaultAtomEntryMediaType()
  the method is not used any more
  com.emc.documentum.rest.http.SupportedMediaTypes.defaultMediaType()
  the method is not used any more
  com.emc.documentum.rest.http.SupportedMediaTypes.get(String)
  the method is not used any more
  com.emc.documentum.rest.http.UriHelper.buildUri(SimpleUriTemplate, SortedMap<String, String>, Object...)
  Since 7.3, the URI build in this pattern is not supported. Please use com.emc.documentum.rest.context.ResourceUriBuilder to build URI for template.
  com.emc.documentum.rest.model.AttributeInfo.addDefaultValue(DefaultValue)
  com.emc.documentum.rest.model.ContentfulObject.getContents()
  use `ContentfulObject.nextContent()` or `ContentfulObject.setParts(Iterator)` instead
  com.emc.documentum.rest.view.FeedableView.getUriFactory()
  Please use `FeedableView.uriBuilder(String)` to build links.
  com.emc.documentum.rest.view.LegacyLinkableView.getUriFactory()
  Please use `ResourceUriBuilder` instead to build resource URIs.
  com.emc.documentum.rest.view.LegacyLinkableView.getUriFactory(boolean)
  Please use `LinkableView.uriBuilder(String)` to build links.
  com.emc.documentum.rest.view.LegacyLinkableView.getUriFactoryWithoutValidation()
  Please use `LinkableView.uriBuilder(String)` to build links.
  com.emc.documentum.rest.wire.xml.AnnotatedXmlMessageWriter.setNamespaceBinding(Map<String, String>)
  Since from 7.3, please use `BindingConfig` to configure this parameter.
  com.emc.documentum.rest.wire.xml.AnnotatedXmlMessageWriter.setShowNamespaceBindingInRoot(boolean)
  Since from 7.3, please use `BindingConfig` to configure this parameter.
  com.emc.documentum.rest.wire.xml.AnnotatedXmlMessageWriter.setSuggestedNamespace(String)
  Since 7.3, the writer will intelligently add the namespace. Do not use this method any more.

- Deprecated Constructors
  Constructor
  Description
  com.emc.documentum.rest.model.DefaultValue(String, boolean)
  deprecated, and this method only for internal use
  com.emc.documentum.rest.view.LegacyLinkableView(String, UriInfo)

- Deprecated Annotation Interface Elements
  Annotation Interface Element
  Description
  com.emc.documentum.rest.binding.SerializableField.xmlListItemName()
  Use `SerializableField4XmlList.itemName()`.
  com.emc.documentum.rest.binding.SerializableField.xmlListUnwrap()
  Use `SerializableField4XmlList.unwrap()`.