All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMInterfaces Interface ENOVIBookingObject

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---ENOVIBookingObject
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface ENOVIBookingObject



Method Index


o SetIdentifierValue(CATUnicodeString&,int)
o UseBooking(CATUnicodeString&,int)
book the object with an already created Booking (see VPMIBookingManager::CreateNBookingWithConsecutiveIDs).
o bookObject(CATBaseUnknown_var&,CATTimeSpan*)
o deleteObjectBooking()
o isObjectBooked(BookState&,CATUnicodeString&)
o setDefaultDelay(CATTimeSpan*)

Enumerated Type Index


o BookState

Methods


o SetIdentifierValue
public virtual HRESULT SetIdentifierValue( const CATUnicodeString& iAttribute,
const int iForce=0)=0
o UseBooking
public virtual HRESULT UseBooking( const CATUnicodeString& iAssignee,
int iForce=0)=0
book the object with an already created Booking (see VPMIBookingManager::CreateNBookingWithConsecutiveIDs).
Parameters:
iAssignee
[in] the string owning the booking
iForce
[in] to force the use of the booking
Returns:
S_OK: the object can use the booking S_FALSE: the booking is in use or the booking doesn't exist E_FAIL
o bookObject
public virtual HRESULT bookObject(CATBaseUnknown_var& oObject,
const CATTimeSpan* tDelay= NULL)=0
o deleteObjectBooking
public virtual HRESULT deleteObjectBooking()=0
o isObjectBooked
public virtual HRESULT isObjectBooked(BookState& status,
CATUnicodeString& ownerOfTheBooking)=0
o setDefaultDelay
public virtual HRESULT setDefaultDelay( const CATTimeSpan* tDefaultDelay)=0

Enumerated Types


o BookState
enum BookState {
  BOOKED,
  BOOKABLE,
  NOTBOOKABLE
}

This object is included in the file: ENOVIBookingObject.h
If needed, your Imakefile.mk should include the module: GUIDVPMInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.