Class DriveContext
java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.DriveContext
Specifies the media field's drive context.
- Since:
- 1.6.0
-
Constructor Summary
ConstructorsConstructorDescriptionDriveContext(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 newDriveContext. -
Method Summary
Modifier and TypeMethodDescriptioncom.onwbp.adaptation.AdaptationReturns the user dataset.Returns the digital asset component id.Returns the drive id referenced by the media field.com.orchestranetworks.schema.PathgetPath()Returns the media path.com.orchestranetworks.service.SessionReturns the EBX® session.com.onwbp.adaptation.AdaptationTablegetTable()Returns the table that contains the media field.
-
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.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. For example: "/mediaPath"session- the current user session
-
-
Method Details
-
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
Returns the digital asset component id.
-
DriveContext(AdaptationTable, Path, Session).