Class DriveContext
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DriveContext
-
public final class DriveContext extends java.lang.ObjectSpecifies 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.Since 2.4.0, replaced byDriveContext(AdaptationTable, Path, Session).DriveContext(com.onwbp.adaptation.AdaptationTable table, com.orchestranetworks.schema.Path mediaPath, com.orchestranetworks.service.Session session)Create a newDriveContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.adaptation.AdaptationgetDataset()Returns the user dataset.java.lang.StringgetDigitalAssetComponentId()Returns the digital asset component id.java.lang.StringgetDriveId()Returns the drive id referenced by the media field.com.orchestranetworks.schema.PathgetPath()Returns the media path.com.orchestranetworks.service.SessiongetSession()Returns the EBX® session.com.onwbp.adaptation.AdaptationTablegetTable()Returns the table that contains the media field.
-
-
-
Constructor Detail
-
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.Since 2.4.0, replaced byDriveContext(AdaptationTable, Path, Session).Initialize a newDriveContext.- Parameters:
dataset- the user datasettable- the table containing the media fieldmediaPath- 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 newDriveContext.- Parameters:
table- the table containing the media fieldmediaPath- the media path. This must be the absolute path.session- the current user session
-
-
Method Detail
-
getDriveId
public java.lang.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 java.lang.String getDigitalAssetComponentId()
Returns the digital asset component id.
-
-