org.opencrx.kernel.depot1.cci2
Interface CompoundBooking

All Superinterfaces:
AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, Creatable, CrxObject, DescriptionContainer, Exporter, ExtentCapable, Importer, Indexed, LocalizedFieldContainer, Modifiable, PropertySet, SecureObject
All Known Subinterfaces:
CompoundBooking
All Known Implementing Classes:
CompoundBooking

public interface CompoundBooking
extends PropertySet, CrxObject, DescriptionContainer

Class CompoundBooking


Nested Class Summary
static interface CompoundBooking.Identity
          Object Identity
 
Method Summary
 Void acceptCb()
           
 CancelCompoundBookingResult cancelCb()
           
 Void finalizeCb()
           
 Set<String> getAcceptedBy()
          Retrieves a set containing all the elements for the attribute acceptedBy.
<T extends SingleBooking>
CompoundBookingHasBooking.Booking<T>
getBooking()
          Retrieves a set containing all the elements for the reference booking.
 Date getBookingDate()
          Retrieves the value for the attribute bookingDate.
 short getBookingStatus()
          Retrieves the value for the attribute bookingStatus.
 short getBookingType()
          Retrieves the value for the attribute bookingType.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 short getLockingReason()
          Retrieves the value for the attribute lockingReason.
 Date getLockModifiedAt()
          Retrieves the value for the attribute lockModifiedAt.
 String getName()
          Retrieves the value for the attribute name.
 CompoundBooking getReversalOf()
          Retrieves the value for the reference reversalOf.
 WfProcessInstance getWfProcess()
          Retrieves the value for the reference wfProcess.
 boolean isLocked()
          Retrieves the value for the attribute isLocked.
 Void lockCb(LockCompoundBookingParams in)
           
 void setAcceptedBy(String... acceptedBy)
          Clears acceptedBy and adds the given value(s).
 void setBookingDate(Date bookingDate)
          Sets a new value for the attribute bookingDate.
 void setBookingStatus(short bookingStatus)
          Sets a new value for the attribute bookingStatus.
 void setBookingType(short bookingType)
          Sets a new value for the attribute bookingType.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setLocked(boolean isLocked)
          Sets a new value for the attribute isLocked.
 void setLockingReason(short lockingReason)
          Sets a new value for the attribute lockingReason.
 void setLockModifiedAt(Date lockModifiedAt)
          Sets a new value for the attribute lockModifiedAt.
 void setName(String name)
          Sets a new value for the attribute name.
 void setReversalOf(CompoundBooking reversalOf)
          Sets a new value for the reference reversalOf.
 void setWfProcess(WfProcessInstance wfProcess)
          Sets a new value for the reference wfProcess.
 Void unlockCb()
           
 
Methods inherited from interface org.opencrx.kernel.base.cci2.PropertySet
getProperty
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAssignedTimer, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.LocalizedFieldContainer
getLocalizedField
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 

Method Detail

acceptCb

Void acceptCb()

getAcceptedBy

Set<String> getAcceptedBy()
Retrieves a set containing all the elements for the attribute acceptedBy.

Returns:
A set containing all elements for this attribute.

setAcceptedBy

void setAcceptedBy(String... acceptedBy)
Clears acceptedBy and adds the given value(s).

This method is equivalent to

   set.clear();
   set.addAll(Arrays.asList(acceptedBy));
 

Parameters:
acceptedBy - value(s) to be added to acceptedBy

getBooking

<T extends SingleBooking> CompoundBookingHasBooking.Booking<T> getBooking()
Retrieves a set containing all the elements for the reference booking.

Returns:
A set containing all the elements for this reference.

getBookingDate

Date getBookingDate()
Retrieves the value for the attribute bookingDate.

Returns:
The non-null value for attribute bookingDate.

setBookingDate

void setBookingDate(Date bookingDate)
Sets a new value for the attribute bookingDate.

Parameters:
bookingDate - The non-null new value for attribute bookingDate.

getBookingStatus

short getBookingStatus()
Retrieves the value for the attribute bookingStatus.

Returns:
The non-null value for attribute bookingStatus.

setBookingStatus

void setBookingStatus(short bookingStatus)
Sets a new value for the attribute bookingStatus.

Parameters:
bookingStatus - The non-null new value for attribute bookingStatus.

getBookingType

short getBookingType()
Retrieves the value for the attribute bookingType.

Returns:
The non-null value for attribute bookingType.

setBookingType

void setBookingType(short bookingType)
Sets a new value for the attribute bookingType.

Parameters:
bookingType - The non-null new value for attribute bookingType.

cancelCb

CancelCompoundBookingResult cancelCb()

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.

finalizeCb

Void finalizeCb()

isLocked

boolean isLocked()
Retrieves the value for the attribute isLocked.

Returns:
The non-null value for attribute isLocked.

setLocked

void setLocked(boolean isLocked)
Sets a new value for the attribute isLocked.

Parameters:
isLocked - The non-null new value for attribute isLocked.

lockCb

Void lockCb(LockCompoundBookingParams in)

getLockModifiedAt

Date getLockModifiedAt()
Retrieves the value for the attribute lockModifiedAt.

Returns:
The non-null value for attribute lockModifiedAt.

setLockModifiedAt

void setLockModifiedAt(Date lockModifiedAt)
Sets a new value for the attribute lockModifiedAt.

Parameters:
lockModifiedAt - The non-null new value for attribute lockModifiedAt.

getLockingReason

short getLockingReason()
Retrieves the value for the attribute lockingReason.

Returns:
The non-null value for attribute lockingReason.

setLockingReason

void setLockingReason(short lockingReason)
Sets a new value for the attribute lockingReason.

Parameters:
lockingReason - The non-null new value for attribute lockingReason.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

setName

void setName(String name)
Sets a new value for the attribute name.

Parameters:
name - The non-null new value for attribute name.

getReversalOf

CompoundBooking getReversalOf()
Retrieves the value for the reference reversalOf.

Returns:
The – possibly null – value for this reference.

setReversalOf

void setReversalOf(CompoundBooking reversalOf)
Sets a new value for the reference reversalOf.

Parameters:
reversalOf - The new – possibly null – value for this reference.

unlockCb

Void unlockCb()

getWfProcess

WfProcessInstance getWfProcess()
Retrieves the value for the reference wfProcess.

Returns:
The – possibly null – value for this reference.

setWfProcess

void setWfProcess(WfProcessInstance wfProcess)
Sets a new value for the reference wfProcess.

Parameters:
wfProcess - The new – possibly null – value for this reference.


This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.