|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OutboundContainer
Represents a data container for all data that will be passed to the ABAP function module when synchronized to the backend
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_OUTBOUND
Deprecated. Default type. |
static java.lang.String |
TYPE_REQUEST
Deprecated. will cause the inbound container to be provided during Sync |
| Method Summary | |
|---|---|
void |
addItem(java.lang.String fieldname,
int linenumber,
java.lang.String fieldvalue)
Deprecated. use addItem(String fieldname, String fieldvalue)
instead. The line number will be increased automatically. |
void |
addItem(java.lang.String fieldname,
java.lang.String fieldvalue)
Deprecated. Adds an item to the container. |
void |
close()
Deprecated. Writes the content of the container to the current outbound file |
java.lang.String |
getContainerId()
Deprecated. Gets the unique identifier of the OutboundContainer object |
int |
getNextLineNumberForFieldname(java.lang.String fieldname)
Deprecated. Gets the next line number for a field. |
boolean |
setInitialItemCount(int initialItemCount)
Deprecated. Initially reserves space for given number of items. |
| Field Detail |
|---|
static final java.lang.String TYPE_OUTBOUND
static final java.lang.String TYPE_REQUEST
| Method Detail |
|---|
java.lang.String getContainerId()
void addItem(java.lang.String fieldname,
int linenumber,
java.lang.String fieldvalue)
throws SyncException
addItem(String fieldname, String fieldvalue)
instead. The line number will be increased automatically.
null and field name cannot be empty
(IllegalArgumentException will be thrown).
fieldname - the field namelinenumber - the line numberfieldvalue - the value of this field
SyncException - Will be thrown if container was already closed
void addItem(java.lang.String fieldname,
java.lang.String fieldvalue)
throws SyncException
null and field name cannot be empty
(IllegalArgumentException will be thrown).
fieldname - the fiel namefieldvalue - the value of this field
SyncException - Will be thrown if container was already closed
void close()
throws SyncException
SyncException - Will be thrown if container can not be written to the
outbound fileint getNextLineNumberForFieldname(java.lang.String fieldname)
null (IllegalArgumentException will be thrown).
fieldname - the field name
boolean setInitialItemCount(int initialItemCount)
addItem . Otherwise the call will be ignored and
false will be returned. Only if the inital size could be
set successfully true will be returned.
initialItemCount - The new initial number of items. Only values > 0 are allowed.
Other values will be ignored
true iff the initial number of items could be set
successfully
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||