|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
U - Underlying object class.X - Export object class.public interface ExportObjectFactoryInterface<U,X>
Extendible discovery and create ExportObject interface with templates: U = underlying object class, X = export object class.
| Method Summary | |
|---|---|
abstract X |
createObject(java.lang.String useUniqueExportName,
U objectToExport,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
Create a new instance of the export object supported by this factory. |
abstract java.util.List<X> |
discover(ExportDiscoveryType discoveryType,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
Discover all of the export objects using the options as needed by the factory. |
abstract java.util.List<U> |
discoverUnderlyingObjects(ExportDiscoveryType discoveryType,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
Discover all of the underlying objects using the options as needed by the factory. |
abstract java.util.List<U> |
find(java.util.List<java.lang.String> list,
java.lang.Class<U> cls,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
Discover a subset of the objects associated using the options as needed by the factory where the export objects have a unique name in the lookup list. |
abstract java.util.List<X> |
find(java.util.List<java.lang.String> list,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
Discover a subset of the export objects associated using the options as needed by the factory where the export objects have a unique name in the lookup list. |
abstract java.lang.String |
makeUniqueExportName(U objectToExport,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
Mints a unique name for the object to be exported and applies the specified qualifiers. |
| Method Detail |
|---|
java.lang.String makeUniqueExportName(U objectToExport,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
throws MetadataException
objectToExport - exportMetadata - qualifiers -
MetadataException
X createObject(java.lang.String useUniqueExportName,
U objectToExport,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
throws MetadataException
useUniqueExportName - may be null to autoAssign one (if null the options will be passed to the mintUniqueExportName(...) along with the object to assign a new unique name).objectToExport - exportMetadata - qualifiers - factory specific qualifiers for export object search.
MetadataException
java.util.List<X> find(java.util.List<java.lang.String> list,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
throws MetadataException
list - a list of unique export names to limit the discovery.exportMetadata - qualifiers - factory specific qualifiers for unique export name creation.
MetadataException
java.util.List<U> find(java.util.List<java.lang.String> list,
java.lang.Class<U> cls,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
throws MetadataException
list - a list of unique export names to limit the discovery.cls - the class to be searched forexportMetadata - qualifiers - factory specific qualifiers for unique export name creation.
MetadataException
java.util.List<X> discover(ExportDiscoveryType discoveryType,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
throws MetadataException
discoveryType - exportMetadata - qualifiers - factory specific qualifiers for export object discovery and creation.
MetadataException
java.util.List<U> discoverUnderlyingObjects(ExportDiscoveryType discoveryType,
ExportGeneralMetadata exportMetadata,
java.lang.Object... qualifiers)
throws MetadataException
discoveryType - cls - the class to be searched forexportMetadata - qualifiers - factory specific qualifiers for underlying object discovery and creation.
MetadataException
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||