public final class ExportUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ARCHIVE
Include archive.
|
static int |
CAPTURED
Include file captured.
|
static int |
FILE
Include file.
|
static int |
HISTORY
Include history.
|
static int |
ICON
Include icon.
|
static int |
NOT_ARCHIVE
Exclude archive.
|
static int |
NOT_CAPTURED
Exclude file captured.
|
static int |
NOT_FILE
Exclude file.
|
static int |
NOT_FROMRELATIONSHIP
Exclude from-relationship.
|
static int |
NOT_HISTORY
Exclude history.
|
static int |
NOT_ICON
Exclude icon.
|
static int |
NOT_RELATIONSHIP
Exclude relationship.
|
static int |
NOT_STATE
Exclude state.
|
static int |
NOT_TORELATIONSHIP
Exclude to-relationship.
|
static int |
RELATIONSHIP
Include relationship.
|
static int |
STATE
Include state.
|
Modifier and Type | Method and Description |
---|---|
static java.io.Reader |
export(java.lang.String type,
java.lang.String name,
java.lang.String revision,
int flags)
Exports the business object(s) identified by the type, name, and revision
parameters and return a Reader.
|
static java.io.Reader |
exportAdmin(java.lang.String type,
java.lang.String name)
Export an admin object and return a Reader.
|
static java.lang.String |
exportAdminToString(java.lang.String type,
java.lang.String name)
Export an admin object to a String.
|
static void |
exportToFile(java.lang.String type,
java.lang.String name,
java.lang.String revision,
java.lang.String file,
boolean into,
int flags)
Exports the business object(s) identified by the type, name, and revision
parameters to the specified file.
|
static java.lang.String |
exportToString(java.lang.String type,
java.lang.String name,
java.lang.String revision,
int flags)
Exports the business object(s) identified by the type, name, and revision
parameters and returns the xml.
|
public static final int FILE
public static final int CAPTURED
public static final int HISTORY
public static final int ICON
public static final int RELATIONSHIP
public static final int STATE
public static final int ARCHIVE
public static final int NOT_FILE
public static final int NOT_CAPTURED
public static final int NOT_HISTORY
public static final int NOT_ICON
public static final int NOT_RELATIONSHIP
public static final int NOT_TORELATIONSHIP
public static final int NOT_FROMRELATIONSHIP
public static final int NOT_STATE
public static final int NOT_ARCHIVE
public static java.io.Reader export(java.lang.String type, java.lang.String name, java.lang.String revision, int flags) throws TVCException
type
- the type of the business object.name
- the name of the business object.revision
- the revision of the business object.flags
- the flags to build the export command from.TVCException
- if unable to export.public static void exportToFile(java.lang.String type, java.lang.String name, java.lang.String revision, java.lang.String file, boolean into, int flags) throws TVCException
type
- the type of the business object.name
- the name of the business object.revision
- the revision of the business object.file
- the absolute path to the file.into
- whether to export into the file (false = onto).flags
- the flags to build the export command from.TVCException
- if unable to export.public static java.lang.String exportToString(java.lang.String type, java.lang.String name, java.lang.String revision, int flags) throws TVCException
type
- the type of the business object.name
- the name of the business object.revision
- the revision of the business object.flags
- the flags to build the export command from.TVCException
- if unable to export.public static java.io.Reader exportAdmin(java.lang.String type, java.lang.String name) throws TVCException
type
- The type of the admin object (e.g., command, menu);name
- The name of the admin object.TVCException
- If unable to export.public static java.lang.String exportAdminToString(java.lang.String type, java.lang.String name) throws TVCException
type
- The type of the admin object.name
- The name of the admin object.TVCException
- If unable to export.Copyright © Technia AB. All Rights Reserved.