Package | Description |
---|---|
org.sistema.cs.doc.persist |
Classes and interfaces based on the Persistent framework/library
modeling generic documents.
|
org.sistema.cs.sale.persist |
Classes and interfaces based on the Persistent framework/library
modeling sales related documents.
|
Modifier and Type | Class and Description |
---|---|
class |
DocItem
Association between an
IItem
and a IDoc . |
Modifier and Type | Method and Description |
---|---|
IDocItem |
IItem.getParent(byte index) |
IDocItem |
Item.getParent(byte index) |
IDocItem |
IItem.getParentType(byte typeId) |
IDocItem |
Item.getParentType(byte typeId) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IDocItem> |
DocItemized.getDocItems() |
java.util.Collection<IDocItem> |
IDocItemized.getDocItems() |
java.util.Collection<IDocItem> |
IItem.getParents() |
java.util.Collection<IDocItem> |
Item.getParents() |
java.util.Collection<IDocItem> |
IItem.getRelatedDocs()
Retrieves all documents related to this item.
|
java.util.Collection<IDocItem> |
Item.getRelatedDocs() |
private java.util.Map<java.lang.Integer,IDocItem> |
Item.getRelatedDocsMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
DocItemized.add(IDocItem docItem)
New items (those not yet saved to persistent store) won't have an id,
so we use the order of the item is used as the index.
|
boolean |
IDocItemized.add(IDocItem di)
Adds a document-item relation to the document.
|
static IItemPerc |
DocUtilities.readPercentage(IDocItem di,
byte typeId)
Retrieves a percentage of a given type
from the item of a
IDocItem relationship. |
Modifier and Type | Method and Description |
---|---|
void |
DocItemized.add(java.util.Collection<IDocItem> docItems) |
void |
IDocItemized.add(java.util.Collection<IDocItem> docItems)
Adds a collection of items to the document.
|
static java.util.Collection<IDoc> |
DocUtilities.readRelatedDocuments(java.lang.Integer docId,
java.util.Collection<IDocItem> docItems,
java.util.Collection<IDocType> typeFilter)
Reads all documents related to each child present
in a collection of
IDocItem relationships. |
void |
DocItemized.setDocItems(java.util.Collection<IDocItem> di) |
void |
IDocItemized.setDocItems(java.util.Collection<IDocItem> docItems)
Sets document-items of this document.
|
void |
IItem.setRelatedDocs(java.util.Collection<IDocItem> docItems)
Sets documents related to this item.
|
void |
Item.setRelatedDocs(java.util.Collection<IDocItem> docItems) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IItem> |
COrder.getUninvoicedRD(java.util.Collection<IDocItem> rd)
Reads un-invoiced items
from a collection of related documents.
|