wt.ixb.pdx
Class ExportPackageForPDX
java.lang.Object
wt.ixb.objectset.ExportPackage
wt.ixb.pdx.ExportPackageForPDX
- public class ExportPackageForPDX
- extends ExportPackage
Holds additional information specific for export in PDX format,
such as name, description and identifiers of seed objects (i.e. objects
used as seeds when generating the export package)
Method Summary |
static ExportPackage |
createExportPackageForPDX(String name,
String description,
String exporter,
String[] generIds,
String[] generParams)
Convenience method for the common case when objects are collected without filtering |
static ExportPackage |
createExportPackageForPDX(String name,
String description,
String exporter,
String[] generIds,
String[] generParams,
String[] filterIds,
String[] filterParams)
Creates ExportPackage holding all information necessary for export in PDX format. |
String |
getDescription()
|
String |
getExporterName()
|
String |
getName()
|
boolean |
objectIsSeed(String oid)
|
Methods inherited from class wt.ixb.objectset.ExportPackage |
addAll, addObject, checkParameters, createExportPackage, createExportPackage, getManifest, getObjects, PP, removeAll, removeObject, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_name
private String m_name
m_description
private String m_description
m_exporterName
private String m_exporterName
m_seeds
private Set m_seeds
ExportPackageForPDX
public ExportPackageForPDX(Set seedObjIds,
WTHashSet objects,
String name,
String descr,
String exporter)
- Fully qualified constructor
createExportPackageForPDX
public static ExportPackage createExportPackageForPDX(String name,
String description,
String exporter,
String[] generIds,
String[] generParams,
String[] filterIds,
String[] filterParams)
throws WTException
- Creates ExportPackage holding all information necessary for export in PDX format.
The objects are collected using standard ixb collection mechanism (generators and filters).
- Parameters:
name
- of the export packagedescription
- description of the export packageexporter
- name of the user who makes exportgenerIds
- array of String id for object set generator types,
e.g. {"singleDocument", "productStructureNavigatorWithEPM"}generParams
- array of local id for the corresponding seed objects,
e.g. {"wt.doc.WTDocument:2059", "wt.part.WTPart:125452"}filterIds
- array of String id for object set filtersfilterParams
- array of Strings representing parameters for filtering
- Throws:
WTException
createExportPackageForPDX
public static ExportPackage createExportPackageForPDX(String name,
String description,
String exporter,
String[] generIds,
String[] generParams)
throws WTException
- Convenience method for the common case when objects are collected without filtering
- Parameters:
name
- of the export packagedescription
- description of the export packageexporter
- name of the user who makes exportgenerIds
- array of String id for object set generator types,
e.g. {"singleDocument", "productStructureNavigatorWithEPM"}generParams
- array of local id for the corresponding seed objects,
e.g. {"wt.doc.WTDocument:2059", "wt.part.WTPart:125452"}
- Throws:
WTException
getName
public String getName()
getDescription
public String getDescription()
getExporterName
public String getExporterName()
objectIsSeed
public boolean objectIsSeed(String oid)
- Parameters:
oid
- object local id. It has the form , like wt.part.WTPart:1234
- Returns:
- true if the object is one of the seed objects for this package