Class DriveContext

java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.DriveContext

public final class DriveContext extends Object
Specifies the media field's drive context.
Since:
1.6.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    DriveContext(com.onwbp.adaptation.Adaptation dataset, com.onwbp.adaptation.AdaptationTable table, com.orchestranetworks.schema.Path mediaPath, com.orchestranetworks.service.Session session)
    Deprecated.
    DriveContext(com.onwbp.adaptation.AdaptationTable table, com.orchestranetworks.schema.Path mediaPath, com.orchestranetworks.service.Session session)
    Create a new DriveContext.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.onwbp.adaptation.Adaptation
    Returns the user dataset.
    Returns the digital asset component id.
    Returns the drive id referenced by the media field.
    com.orchestranetworks.schema.Path
    Returns the media path.
    com.orchestranetworks.service.Session
    Returns the EBX® session.
    com.onwbp.adaptation.AdaptationTable
    Returns the table that contains the media field.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DriveContext

      @Deprecated public DriveContext(com.onwbp.adaptation.Adaptation dataset, com.onwbp.adaptation.AdaptationTable table, com.orchestranetworks.schema.Path mediaPath, com.orchestranetworks.service.Session session)
      Deprecated.
      Initialize a new DriveContext.
      Parameters:
      dataset - the user dataset
      table - the table containing the media field
      mediaPath - the media path. This must be the absolute path.
      session - the EBX® session
    • DriveContext

      public DriveContext(com.onwbp.adaptation.AdaptationTable table, com.orchestranetworks.schema.Path mediaPath, com.orchestranetworks.service.Session session)
      Create a new DriveContext.
      Parameters:
      table - the table containing the media field
      mediaPath - the media path. This must be the absolute path.
      session - the current user session
  • Method Details

    • getDriveId

      public String getDriveId()
      Returns the drive id referenced by the media field.
    • getDataset

      public com.onwbp.adaptation.Adaptation getDataset()
      Returns the user dataset.
    • getTable

      public com.onwbp.adaptation.AdaptationTable getTable()
      Returns the table that contains the media field.
    • getPath

      public com.orchestranetworks.schema.Path getPath()
      Returns the media path.
    • getSession

      public com.orchestranetworks.service.Session getSession()
      Returns the EBX® session.
    • getDigitalAssetComponentId

      public String getDigitalAssetComponentId()
      Returns the digital asset component id.