|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.objectset.ExportPackage
Simple wrapping class for WTHashSet. It represents set of objects prepared for export and provides some convenience methods.
Field Summary | |
private static String |
LINE_SEPARATOR
|
protected WTHashSet |
m_objects
|
Constructor Summary | |
ExportPackage(WTHashSet objects)
|
Method Summary | |
boolean |
addAll(WTHashSet objSet)
Adds a set of objects to the package |
boolean |
addObject(Persistable obj)
Adds the object to the package |
protected static void |
checkParameters(String[] genIds,
String[] generParams,
String[] filterIds,
String[] filterParams)
|
static ExportPackage |
createExportPackage(String[] generIds,
String[] generParams)
|
static ExportPackage |
createExportPackage(String[] generIds,
String[] generParams,
String[] filterIds,
String[] filterParams)
Creates ExportPackage |
String |
getManifest()
|
WTHashSet |
getObjects()
|
private boolean |
includeInManifest(Object obj)
|
protected void |
PP(String s)
|
boolean |
removeAll(WTHashSet objSet)
Removes a set of objects from the package |
boolean |
removeObject(Persistable obj)
Removes object from the package |
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected WTHashSet m_objects
private static String LINE_SEPARATOR
Constructor Detail |
public ExportPackage(WTHashSet objects)
Method Detail |
public static ExportPackage createExportPackage(String[] generIds, String[] generParams, String[] filterIds, String[] filterParams) throws WTException
WTException
public static ExportPackage createExportPackage(String[] generIds, String[] generParams) throws WTException
WTException
protected static void checkParameters(String[] genIds, String[] generParams, String[] filterIds, String[] filterParams) throws WTException
WTException
public boolean addObject(Persistable obj)
public boolean removeObject(Persistable obj)
public boolean addAll(WTHashSet objSet)
public boolean removeAll(WTHashSet objSet)
public int size()
public WTHashSet getObjects()
public String getManifest() throws WTException
WTException
private boolean includeInManifest(Object obj)
protected void PP(String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |