org.opencrx.kernel.contract1.jpa3
Class Invoice

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jpa3.AbstractObject
          extended by org.opencrx.kernel.contract1.jpa3.AbstractContract
              extended by org.opencrx.kernel.contract1.jpa3.Invoice
All Implemented Interfaces:
Serializable, AlertSender, Assignable, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, AbstractContract, AddressContainer, DeliveryRequestContainer, Invoice, ShippingDetail, DepotReferenceHolder, CrxObject, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class Invoice
extends AbstractContract
implements Invoice

Class Invoice

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.Slice
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.Invoice
Invoice.Identity
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::opencrx::kernel::contract1::Invoice
 
Fields inherited from class org.opencrx.kernel.contract1.jpa3.AbstractContract
openmdxjdoIdentity
 
Constructor Summary
Invoice()
          Constructor
 
Method Summary
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
           
 Void assignToMe()
           
 CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
           
 CloneResult clone_(CloneParams in)
           
 CreatePositionResult createPosition(CreatePositionParams in)
           
 ExportItemResult exportItem(ExportItemParams in)
           
 ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
           
<T extends AbstractInvoicePosition>
InvoiceContainsInvoicePosition.Position<T>
getPosition()
          Retrieves a set containing all the elements for the reference position.
 ImportResult importItem(ImportParams in)
           
 Void markAsClosed(InvoiceMarkAsClosedParams in)
           
protected  org.w3c.jpa3.AbstractObject.Slice newInvoice$Slice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
           
 Void removePendingInventoryBookings()
           
 ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
           
 Void reprice()
           
 Void sendAlert(SendAlertParams in)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
           
 ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
           
 void setSegment_Id(String segment)
           
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 UpdateIndexResult updateIndex()
           
 UpdateInventoryResult updateInventory()
           
 
Methods inherited from class org.opencrx.kernel.contract1.jpa3.AbstractContract
getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getActiveOn, getActivity_Id, getActivity, getAdditionalExternalLink, getAddress, getAssignedAccount, getAttachedDocument, getAudit, getBroker_Id, getBroker, getCalcRule_Id, getCalcRule, getCancelOn, getCarrier_Id, getCarrier, getCategory, getClosedOn, getCompetitor_Id, getCompetitor, getContact_Id, getContact, getContext, getContractCurrency, getContractLanguage, getContractNumber, getContractState, getCreatedAt, getCreatedBy, getCustomer_Id, getCustomer, getDeliveryRequest, getDepotReference, getDescription, getDisabledReason, getDocumentFolderAssignment, getExpiresOn, getExternalLink, getGiftMessage, getIdentity, getIndexEntry, getInventoryCb_Id, getInventoryCb, getLinkFrom, getLinkTo, getMedia, getModifiedAt, getModifiedBy, getName, getNote, getOrigin_Id, getOrigin, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getPaymentTerms, getPositionModification, getPricingDate, getPricingRule_Id, getPricingRule, getPricingState, getPriority, getPropertySet, getPropertySetEntry, getRating, getRemovedPosition, getSalesRep_Id, getSalesRep, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, getSupplier_Id, getSupplier, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, 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, isGift, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, newAbstractContract$Slice, openmdxjdoGetObjectId, openmdxjdoGetSlices, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setActiveOn, setBroker_Id, setBroker, setCalcRule_Id, setCalcRule, setCancelOn, setCarrier_Id, setCarrier, setCategory, setClosedOn, setContractCurrency, setContractLanguage, setContractNumber, setContractState, setCustomer_Id, setCustomer, setDescription, setDisabled, setDisabledReason, setExpiresOn, setExternalLink, setGift, setGiftMessage, setName, setOrigin_Id, setOrigin, setOwningUser_Id, setOwningUser, setPaymentTerms, setPricingDate, setPricingRule_Id, setPricingRule, setPricingState, setPriority, setSalesRep_Id, setSalesRep, setShippingInstructions, setShippingMethod, setShippingTrackingNumber, setSupplier_Id, setSupplier, setTotalAmount, setTotalAmountIncludingTax, setTotalBaseAmount, setTotalDiscountAmount, setTotalSalesCommission, setTotalTaxAmount, 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 class org.w3c.jpa3.AbstractObject
openmdxjdoClassName, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AbstractContract
getActiveOn, getActivity, getAssignedAccount, getBroker, getCalcRule, getCancelOn, getClosedOn, getCompetitor, getContact, getContractCurrency, getContractLanguage, getContractNumber, getContractState, getCustomer, getDescription, getExpiresOn, getInventoryCb, getLinkFrom, getLinkTo, getName, getOrigin, getPaymentTerms, getPositionModification, getPricingDate, getPricingRule, getPricingState, getPriority, getRemovedPosition, getSalesRep, getSupplier, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, setActiveOn, setBroker, setCalcRule, setCancelOn, setClosedOn, setContractCurrency, setContractLanguage, setContractNumber, setContractState, setCustomer, setDescription, setExpiresOn, setName, setOrigin, setPaymentTerms, setPricingDate, setPricingRule, setPricingState, setPriority, setSalesRep, setSupplier, setTotalAmount, setTotalAmountIncludingTax, setTotalBaseAmount, setTotalDiscountAmount, setTotalSalesCommission, setTotalTaxAmount
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AddressContainer
getAddress
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.DeliveryRequestContainer
getDeliveryRequest
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ShippingDetail
getCarrier, getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setCarrier, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, 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.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
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
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::contract1::Invoice


BASE_CLASS

public static final List<String> BASE_CLASS
Define this class as base class

See Also:
Invoice.CLASS
Constructor Detail

Invoice

public Invoice()
Constructor

Method Detail

assignToMe

public Void assignToMe()
Specified by:
assignToMe in interface Assignable
Overrides:
assignToMe in class AbstractContract

updateIndex

public UpdateIndexResult updateIndex()
Specified by:
updateIndex in interface Indexed
Overrides:
updateIndex in class AbstractContract

exportItemAdvanced

public ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
Specified by:
exportItemAdvanced in interface Exporter
Overrides:
exportItemAdvanced in class AbstractContract

checkPermissions

public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
Specified by:
checkPermissions in interface SecureObject
Overrides:
checkPermissions in class AbstractContract

getPosition

public <T extends AbstractInvoicePosition> InvoiceContainsInvoicePosition.Position<T> getPosition()
Retrieves a set containing all the elements for the reference position.

Specified by:
getPosition in interface Invoice
Returns:
A set containing all the elements for this reference.

replaceOwningGroup

public ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
Specified by:
replaceOwningGroup in interface SecureObject
Overrides:
replaceOwningGroup in class AbstractContract

reprice

public Void reprice()
Specified by:
reprice in interface AbstractContract
Overrides:
reprice in class AbstractContract

exportItem

public ExportItemResult exportItem(ExportItemParams in)
Specified by:
exportItem in interface Exporter
Overrides:
exportItem in class AbstractContract

clone_

public CloneResult clone_(CloneParams in)
Specified by:
clone_ in interface Cloneable
Overrides:
clone_ in class AbstractContract

removeAllOwningGroup

public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
Specified by:
removeAllOwningGroup in interface SecureObject
Overrides:
removeAllOwningGroup in class AbstractContract

markAsClosed

public Void markAsClosed(InvoiceMarkAsClosedParams in)
Specified by:
markAsClosed in interface Invoice

importItem

public ImportResult importItem(ImportParams in)
Specified by:
importItem in interface Importer
Overrides:
importItem in class AbstractContract

addOwningGroup

public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
Specified by:
addOwningGroup in interface SecureObject
Overrides:
addOwningGroup in class AbstractContract

setOwningUser

public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
Specified by:
setOwningUser in interface SecureObject
Overrides:
setOwningUser in class AbstractContract

sendAlert

public Void sendAlert(SendAlertParams in)
Specified by:
sendAlert in interface AlertSender
Overrides:
sendAlert in class AbstractContract

removeOwningGroup

public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
Specified by:
removeOwningGroup in interface SecureObject
Overrides:
removeOwningGroup in class AbstractContract

createPosition

public CreatePositionResult createPosition(CreatePositionParams in)
Specified by:
createPosition in interface AbstractContract
Overrides:
createPosition in class AbstractContract

setAccessLevel

public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
Specified by:
setAccessLevel in interface SecureObject
Overrides:
setAccessLevel in class AbstractContract

updateInventory

public UpdateInventoryResult updateInventory()
Specified by:
updateInventory in interface AbstractContract
Overrides:
updateInventory in class AbstractContract

removePendingInventoryBookings

public Void removePendingInventoryBookings()
Specified by:
removePendingInventoryBookings in interface AbstractContract
Overrides:
removePendingInventoryBookings in class AbstractContract

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class AbstractContract

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class AbstractContract

newInvoice$Slice

protected org.w3c.jpa3.AbstractObject.Slice newInvoice$Slice(int index)

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class AbstractContract
Returns:
the model class
See Also:
Invoice.CLASS

setSegment

public void setSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

setSegment_Id

public void setSegment_Id(String segment)


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