public interface IExplorerImportManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT_NOTICE
Common copyright notice
|
static int |
RC_ERROR_WHILE_READING
Return code to indicate that an error occured whilst reading the input source
|
static int |
RC_FILE_EXTENSION_NOT_SUPPORTED
Return code to indicate that the file extension of the input source is not supported
|
static int |
RC_FILE_NOT_VALID
Return code to indicate that the input source is not valid with the import manager
|
static int |
RC_OK
Return code to indicate that the input source is valid
|
static int |
RC_PATH_DOESNT_EXIST
Return code to indicate that the specified path doesn't exist
|
static int |
RC_PATH_IS_DIRECTORY
Return code to indicate that the specified path is actually a directory
|
static java.lang.String |
SCCSID
CMVC descriptors - expanded during extraction
|
Modifier and Type | Method and Description |
---|---|
boolean |
canImportId(com.ibm.mq.commonservices.internal.trace.Trace t,
java.lang.String categoryId,
java.lang.String subcategoryId)
Inquires if the Import Manager is able to import the supplied category - subcategory
combination.
|
int |
checkValidInputSource(com.ibm.mq.commonservices.internal.trace.Trace t)
Indicates whether the provided input source is compatible with the Import Manager.
|
boolean |
importAll(com.ibm.mq.commonservices.internal.trace.Trace t)
Import all applicable categories/subcategories from the supplied input source.
|
boolean |
importSubcategories(com.ibm.mq.commonservices.internal.trace.Trace t,
java.util.List<com.ibm.mq.explorer.ui.internal.importexport.ImportExportSubcategory> subcategories)
Import the specified categories/subcategories (if applicable) from the supplied input source.
|
int |
setImportSource(com.ibm.mq.commonservices.internal.trace.Trace t,
org.eclipse.core.runtime.IPath path)
Sets the path of the file to be used as a source of the import.
|
static final java.lang.String COPYRIGHT_NOTICE
static final java.lang.String SCCSID
static final int RC_ERROR_WHILE_READING
static final int RC_OK
static final int RC_PATH_DOESNT_EXIST
static final int RC_PATH_IS_DIRECTORY
static final int RC_FILE_EXTENSION_NOT_SUPPORTED
static final int RC_FILE_NOT_VALID
boolean importAll(com.ibm.mq.commonservices.internal.trace.Trace t)
t
- the trace context to usetrue
if the import was successful, false
otherwiseboolean importSubcategories(com.ibm.mq.commonservices.internal.trace.Trace t, java.util.List<com.ibm.mq.explorer.ui.internal.importexport.ImportExportSubcategory> subcategories)
t
- the trace context to usesubcategories
- List of subcategories to import from the sourcetrue
if the import was successful, false
otherwiseint setImportSource(com.ibm.mq.commonservices.internal.trace.Trace t, org.eclipse.core.runtime.IPath path)
t
- the trace context to usepath
- int checkValidInputSource(com.ibm.mq.commonservices.internal.trace.Trace t)
t
- the trace context to useboolean canImportId(com.ibm.mq.commonservices.internal.trace.Trace t, java.lang.String categoryId, java.lang.String subcategoryId)
t
- the trace context to usecategoryId
- Id of the category to checksubcategoryId
- Id of the subcategory to checktrue
if the category and subcateogry combination can be imported by the
import manager