org.opencrx.kernel.account1.cci2
Interface Account

All Superinterfaces:
AbstractAccount, AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, Cloneable, org.openmdx.base.cci2.ContextCapable, CrxObject, org.openmdx.base.cci2.ExtentCapable, GenericAccount, Importer, Indexed, SecureObject, SubscriptionTarget, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
AbstractGroup, AbstractGroup, Account, Contact, Contact, Group, Group, LegalEntity, LegalEntity, UnspecifiedAccount, UnspecifiedAccount
All Known Implementing Classes:
Account, Contact, Group, LegalEntity, UnspecifiedAccount

public interface Account
extends AbstractAccount, CrxObject, GenericAccount

Abstract class Account


Nested Class Summary
static interface Account.Identity
          Object Identity
 
Method Summary
<T extends CreateInvoiceResult>
T
createInvoice(Invoice basedOn, String description, String name)
           
<T extends CreateLeadResult>
T
createLead(Lead basedOn, String description, String name, String nextStep)
           
<T extends CreateOpportunityResult>
T
createOpportunity(Opportunity basedOn, String description, String name)
           
<T extends CreateQuoteResult>
T
createQuote(Quote basedOn, String description, String name)
           
<T extends CreateSalesOrderResult>
T
createSalesOrder(SalesOrder basedOn, String description, String name)
           
<T extends AccountAddress>
Collection<T>
getAddress()
          Retrieves a set containing all the elements for the reference address.
<T extends Activity>
Set<T>
getAssignedActivity()
          Retrieves a set containing all the elements for the reference assignedActivity.
<T extends AbstractContract>
Set<T>
getAssignedContract()
          Retrieves a set containing all the elements for the reference assignedContract.
<T extends Contact>
List<T>
getContact()
          Retrieves the Collection of objects referenced by contact.
<T extends GroupMembership>
Collection<T>
getGroupMembership()
          Retrieves a set containing all the elements for the reference groupMembership.
 Account getMaster()
          Retrieves the value for the reference master.
<T extends Account>
List<T>
getPartner()
          Retrieves the Collection of objects referenced by partner.
<T extends Product>
Set<T>
getProduct()
          Retrieves a set containing all the elements for the reference product.
 void setMaster(Account master)
          Sets a new value for the reference master.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:account1:SegmentContainsAccount.
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.AbstractAccount
getAccountCategory, getAccountRating, getAccountState, getAccountType, getAliasName, getBusinessType, getDescription, getFullName, setAccountCategory, setAccountRating, setAccountState, setAccountType, setAliasName, setBusinessType, setDescription
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, 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.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, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Method Detail

getAddress

<T extends AccountAddress> Collection<T> getAddress()
Retrieves a set containing all the elements for the reference address.

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

getAssignedActivity

<T extends Activity> Set<T> getAssignedActivity()
Retrieves a set containing all the elements for the reference assignedActivity.

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

getAssignedContract

<T extends AbstractContract> Set<T> getAssignedContract()
Retrieves a set containing all the elements for the reference assignedContract.

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

getContact

<T extends Contact> List<T> getContact()
Retrieves the Collection of objects referenced by contact.

Returns:
The Collection of referenced objects.

createInvoice

<T extends CreateInvoiceResult> T createInvoice(Invoice basedOn,
                                                String description,
                                                String name)
                                            throws RefException
Throws:
RefException

createLead

<T extends CreateLeadResult> T createLead(Lead basedOn,
                                          String description,
                                          String name,
                                          String nextStep)
                                      throws RefException
Throws:
RefException

createOpportunity

<T extends CreateOpportunityResult> T createOpportunity(Opportunity basedOn,
                                                        String description,
                                                        String name)
                                                    throws RefException
Throws:
RefException

createQuote

<T extends CreateQuoteResult> T createQuote(Quote basedOn,
                                            String description,
                                            String name)
                                        throws RefException
Throws:
RefException

createSalesOrder

<T extends CreateSalesOrderResult> T createSalesOrder(SalesOrder basedOn,
                                                      String description,
                                                      String name)
                                                  throws RefException
Throws:
RefException

getGroupMembership

<T extends GroupMembership> Collection<T> getGroupMembership()
Retrieves a set containing all the elements for the reference groupMembership.

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

getMaster

Account getMaster()
Retrieves the value for the reference master.

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

setMaster

void setMaster(Account master)
Sets a new value for the reference master.

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

getPartner

<T extends Account> List<T> getPartner()
Retrieves the Collection of objects referenced by partner.

Returns:
The Collection of referenced objects.

getProduct

<T extends Product> Set<T> getProduct()
Retrieves a set containing all the elements for the reference product.

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

setSegment

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

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

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:opencrx:kernel:account1:SegmentContainsAccount.

Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


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