# Uses of Interface
com.documentum.fc.client.IDfSession

Packages that use IDfSession
Package
Description
com.documentum.com
Provides an interface for accessing the DFC through OLE/COM.
com.documentum.fc.client
com.documentum.fc.client.acs
Provides classes and interfaces, related to distributed content transfer.
com.documentum.fc.client.dcis.chat.api
com.documentum.fc.client.dcis.context
com.documentum.fc.client.dcis.directchat
com.documentum.fc.client.mq
com.documentum.fc.client.search
Provides classes and interfaces for constructing and running search queries against multiple content repositories as well as external information sources (optional).
com.documentum.operations
Provides interfaces to common high-level client functionality, such as functionality for checking in and checking out documents, and checking out all the documents in a virtual document.
com.documentum.registry
Provides interfaces and classes that manage Documentum information on the client’s local system.
com.documentum.xml.xdql
Provides interfaces and classes that allow querying of the docbase with results returned as XML.
com.documentum.xml.xquery

- ## Uses of IDfSession in com.documentum.com

  Methods in com.documentum.com with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `IDfFormatRecognizer`
  DfClientX.`getFormatRecognizer(IDfSession session, String filePath, String suggestedFormat)`
  `IDfFormatRecognizer`
  IDfClientX.`getFormatRecognizer(IDfSession session, String filePath, String suggestedFormat)`
  Factory method that constructs a new `IDfFormatRecognizer` object that is used to suggest what Docbase formats might be appropriate for the specified file.
  `IDfFormatRecognizer`
  DfClientX.`getMacFormatRecognizer(IDfSession session, String dataForkPath, String resForkPath, String suggestedFormat)`
  `IDfFormatRecognizer`
  IDfClientX.`getMacFormatRecognizer(IDfSession session, String dataForkpath, String resourceForkPath, String suggestedFormat)`
  Factory method that constructs a new `IDfFormatRecognizer` object that is used to suggest what Docbase formats might be appropriate based on both the data and resource forks of a Macintosh file.
  `com.documentum.fc.client.relationship.IDfRelationshipSchema`
  IDfSmartClientX.`getRelationshipSchema(IDfSession session)`
  `IDfVirtualDocumentNode`
  DfClientX.`getVirtualDocumentNodeFromToken(IDfSession session, String token)`
  `IDfVirtualDocumentNode`
  IDfClientX.`getVirtualDocumentNodeFromToken(IDfSession session, String token)`
  Returns an interface to a node of a virtual document given a unique token that represents the node in the virtual document tree.

- ## Uses of IDfSession in com.documentum.fc.client

  Methods in com.documentum.fc.client that return IDfSession
  Modifier and Type
  Method
  Description
  `IDfSession`
  DfClient.`adoptDMCLSession(String dmclSessionId)`
  `IDfSession`
  IDfClient.`adoptDMCLSession(String dmclSessionId)`
  Deprecated.
  session adoption is no longer useful without a separate DMCL
  `IDfSession`
  DfClient.`findSession(String sessionId)`
  `IDfSession`
  IDfClient.`findSession(String sessionId)`
  Returns an existing DFC session using a DFC session ID.
  `IDfSession`
  IDfTypedObject.`getObjectSession()`
  Gets the session to the Docbase containing the object.
  `IDfSession`
  IDfTypedObject.`getOriginalSession()`
  Gets the session through which the object was originally requested.
  `IDfSession`
  IDfSession.`getRelatedSession(IDfId objectId)`
  Returns a related session appropriate for operating on the given object id.
  `IDfSession`
  IDfSession.`getRelatedSession(String docbaseSpecString)`
  Returns a related session to a named docbase.
  `IDfSession`
  DfService.`getSession(String docbaseName)`
  Obtains a handle to a Docbase session.
  `IDfSession`
  IDfPrincipalSupport.`getSession(String docbaseName, String principalName)`
  Retrieves a session for a given principal and repository.
  `IDfSession`
  IDfService.`getSession(String docbase)`
  Returns a previously established "managed" `IDfSession` object.
  `IDfSession`
  IDfSessionManager.`getSession(String docbase)`
  To get the session handle a service implementation should call the `getSession` method.
  `IDfSession`
  IDfTypedObject.`getSession()`
  Gets the session through which the object was originally requested.
  `IDfSession`
  DfClient.`getSharedSession(String docbaseName, IDfLoginInfo loginInfo, String key)`
  `IDfSession`
  IDfClient.`getSharedSession(String docbaseName, IDfLoginInfo loginInfo, String key)`
  Deprecated.
  use `IDfSessionManager` instead for session sharing
  `IDfSession`
  DfClient.`newSession(String docbaseName, IDfLoginInfo loginInfo)`
  `IDfSession`
  IDfClient.`newSession(String docbaseName, IDfLoginInfo loginInfo)`
  Factory method that always constructs a new `IDfSession` object and establishes a new session with the specified Documentum server.
  `IDfSession`
  IDfSessionManager.`newSession(String docbase)`
  To get a new instance of a DFC session, `newSession` retrieves a new session for the given repository.
  Methods in com.documentum.fc.client with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `String`
  IStorageRuleEvaluator.`evaluate(IDfSysObject sysObj, com.documentum.fc.client.DfContentInfo contentInfo, IDfSession session, Object obj)`
  This method is used to evaluate the rules in the policy.
  `IDfCollection`
  IDfQuery.`execute(IDfSession session, int queryType)`
  Executes a DQL query.
  `Class`
  DfClient.`getModuleClass(String moduleName, IDfSession session)`
  `int`
  IDfSessionManagerStatistics.`getReferenceCount(IDfSession session)`
  Get the reference count for a given session.
  `IDfRetainer`
  IDfRetainerFactory.`newRetainerForContainerId(IDfSession session, IDfId rootObjectId)`
  Creates IDfRetainer to apply retention to a group of objects.
  `IDfRetainer`
  IDfRetainerFactory.`newRetainerForObjectId(IDfSession session, IDfId rootObjectId)`
  Creates IDfRetainer to apply retention to a single object.
  `void`
  DfDefaultSessionManagerEventListener.`onSessionCreate(IDfSession session)`
  This method is called only when session manager has to create a new session object.
  `void`
  IDfSessionManagerEventListener.`onSessionCreate(IDfSession session)`
  This method is called only when session manager has to create a new session object.
  `void`
  DfDefaultSessionManagerEventListener.`onSessionDestroy(IDfSession session)`
  This method is called when session manager is going to disconnect the given session.
  `void`
  IDfSessionManagerEventListener.`onSessionDestroy(IDfSession session)`
  Deprecated.
  `void`
  IDfSessionManager.`release(IDfSession session)`
  Puts the DFC session object back into the session pool.
  `void`
  DfService.`releaseSession(IDfSession session)`
  Releases a handle to a Docbase session.
  `void`
  IDfService.`releaseSession(IDfSession session)`
  Releases the "managed" session back to the session pool.
  `void`
  IDfVirtualDocument.`resync(IDfSession session, IDfId objectId, int flags)`
  Flushes all node information and synchronizes cached object attributes with the repository.
  `void`
  IDfDocbrokerClient.`setDocbrokerModificationEnabled(boolean enable, IDfSession session)`
  Enables or disables the dynamic adding and removing of connection brokers.

- ## Uses of IDfSession in com.documentum.fc.client.acs

  Methods in com.documentum.fc.client.acs with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `IDfEnumeration`
  IDfAcsClient.`getAcsData(IDfSession session, String networkLocationIdentifier)`
  Returns an `IDfEnumeration` object that lists all `AcsData` objects for a given repository.
  `boolean`
  IDfAcsClient.`isContentTransferCapabilityEnabled(IDfSession session, String networkLocationIdentifier, IDfContentTransferCapability capability)`
  Returns whether content transfer capability is enabled in a docbase of a given session.

- ## Uses of IDfSession in com.documentum.fc.client.dcis.chat.api

  Methods in com.documentum.fc.client.dcis.chat.api with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `com.documentum.fc.client.dcis.chat.model.ChatResponse`
  IDfChatService.`postMessage(com.documentum.fc.client.dcis.chat.model.ChatRequest req, String token, IDfSession session)`
  This method allows Documentum users to initiate the chat requests with Aviator plugin.

- ## Uses of IDfSession in com.documentum.fc.client.dcis.context

  Methods in com.documentum.fc.client.dcis.context with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `void`
  DfContextService.`initialize(IDfSession iDfSession)`
  `ContextResponse`
  DfContextService.`postMessage(ContextRequest req, String token, IDfSession session)`

- ## Uses of IDfSession in com.documentum.fc.client.dcis.directchat

  Methods in com.documentum.fc.client.dcis.directchat with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `void`
  DirectChatService.`initialize(IDfSession iDfSession)`
  `DirectChatResponse`
  DirectChatService.`postMessage(DirectChatRequest req, String token, IDfSession session)`

- ## Uses of IDfSession in com.documentum.fc.client.mq

  Methods in com.documentum.fc.client.mq with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `IDfMessageQueue`
  IDfMessageQueueFactory.`createMessageQueue(IDfSession session, String queueName, Collection<IDfAttr> attrs)`
  Create a message queue with attributes as specified in argument `attrs`.

- ## Uses of IDfSession in com.documentum.fc.client.search

  Methods in com.documentum.fc.client.search with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `IDfCollection`
  IDfSearchStoreService.`getAllSearches(IDfSession session)`
  Returns all searches from this repository, including all of the user's searches and any shared searches.
  `IDfCollection`
  IDfSearchStoreService.`getCurrentUserSearches(IDfSession session)`
  Returns only the user's searches from this repository.

- ## Uses of IDfSession in com.documentum.operations

  Methods in com.documentum.operations that return IDfSession
  Modifier and Type
  Method
  Description
  `IDfSession`
  IDfImportOperation.`getSession()`
  Returns session to be used to import new objects.
  `IDfSession`
  IDfOperation.`getSession()`
  Returns session to be used during operation execution
  Methods in com.documentum.operations with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `void`
  IDfImportOperation.`setSession(IDfSession importSession)`
  Sets the session that will be used to create new docbase objects.
  `void`
  IDfOperation.`setSession(IDfSession session)`
  Sets the session that will be used during operation execution.
  `void`
  IDfXMLTransformNode.`setSession(IDfSession session)`
  Set the session that will be used by this operation.
  `void`
  IDfXMLTransformOperation.`setSession(IDfSession session)`
  Set the session that will be used by this operation.
  `void`
  IDfXMLUtils.`setSession(IDfSession session)`
  Set the session that will be used by the class.

- ## Uses of IDfSession in com.documentum.registry

  Methods in com.documentum.registry with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `void`
  DfClientRegistry.`moveToLocalFiles(IDfCheckedOutObject checkedOutObj, IDfSession session)`
  `void`
  IDfClientRegistry.`moveToLocalFiles(IDfCheckedOutObject object, IDfSession session)`
  Removes a checked out file and places it in the list of local files.

- ## Uses of IDfSession in com.documentum.xml.xdql

  Methods in com.documentum.xml.xdql with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `void`
  IDfXmlQuery.`execute(int mode, IDfSession session)`
  Executes the DQL query and creates a DOM.
  `void`
  IDfXmlQuery.`execute(String mode, IDfSession session)`
  Deprecated.
  Since 5.1.
  This method is deprecated to make usage consistent across the IDfXmlQuery and IDfQuery interfaces.

- ## Uses of IDfSession in com.documentum.xml.xquery

  Methods in com.documentum.xml.xquery with parameters of type IDfSession
  Modifier and Type
  Method
  Description
  `void`
  IDfXQuery.`close(IDfSession session)`
  Closes the XQuery results stream.
  `void`
  IDfXQuery.`execute(IDfSession session)`
  Executes the XQuery.
  `void`
  IDfXQuery.`execute(IDfSession session, com.documentum.xml.xquery.IDfXQueryTargets target)`
  Executes the XQuery on targets passed in as the parameter.
  `String`
  IDfXQuery.`getDebugInfo(IDfSession session, IDfXQuery.FtQueryDebugOptions debugOption)`
  Retrieve debugging information associated with this query
  `String`
  IDfXQuery.`getExecutionPlan(IDfSession session)`
  Retrieve the xquery execution plan from ESS after the query is executed.
  `InputStream`
  IDfXQuery.`getInputStream(IDfSession session)`
  Return an InputStream object that applications can use it to retrieve the xquery results.
  `int`
  IDfXQuery.`readResults(byte[] buffer, IDfSession session)`
  Fills the given buffer with the next set of XQuery results.