public class DMManifest extends java.lang.Object implements FixedLoggers
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
DMManifest() |
Modifier and Type | Method and Description |
---|---|
static void |
findSourceDBType(byte[] manifest)
find the database type of inbound package.
|
static void |
findTextSearchEnabledInSource(byte[] manifest)
find the text search enabled of inbound package.
|
static java.util.List<java.lang.String> |
getDMObjectList(byte[] manifest)
Get the object list from the manifest
|
static java.lang.String |
getManifestElement(byte[] manifest,
java.lang.String elementName)
Given the manifest stream, return the element value.
|
static void |
getManifestStreamForPkg(java.sql.Connection con,
MboRemote pkgMbo,
java.io.OutputStream xmlOut)
Create manifest from package table entry
|
static java.util.HashMap<java.lang.String,java.lang.String> |
getPreviewInfo(byte[] manifest)
Get preview information from the manifest
|
static int |
getSourceDBType()
Return the database type of inbound package.
|
static java.util.Map<java.lang.String,java.lang.String> |
getSourceVersinInfo(byte[] manifest) |
static java.lang.String |
getSourceVersinInfoString(byte[] manifest)
Returns the source version information in a string.
|
static boolean |
hasCmpSrc(byte[] manifest)
Given the stream of manifest, return true if the package has compiled sources.
|
static java.lang.String |
isTextSearchSupported(java.sql.Connection con) |
static boolean |
textSearchEnabledInSource()
Flag to indicate is source database has text search enabled or not.
|
public static void getManifestStreamForPkg(java.sql.Connection con, MboRemote pkgMbo, java.io.OutputStream xmlOut) throws java.lang.Exception
con
- pkgMbo
- xmlOut
- MXException
java.lang.Exception
public static java.lang.String isTextSearchSupported(java.sql.Connection con) throws java.lang.Exception
java.lang.Exception
public static boolean hasCmpSrc(byte[] manifest) throws MXException
manifest
- MXException
public static java.lang.String getManifestElement(byte[] manifest, java.lang.String elementName) throws MXException
manifest
- element
- nameMXException
public static java.util.Map<java.lang.String,java.lang.String> getSourceVersinInfo(byte[] manifest) throws MXException
MXException
public static java.lang.String getSourceVersinInfoString(byte[] manifest) throws MXException
manifest
- MXException
public static java.util.List<java.lang.String> getDMObjectList(byte[] manifest) throws MXException
manifest
- MXException
public static java.util.HashMap<java.lang.String,java.lang.String> getPreviewInfo(byte[] manifest) throws MXException
manifest
- MXException
public static void findSourceDBType(byte[] manifest) throws MXException
manifest
- java.lang.Exception
MXException
public static int getSourceDBType()
public static void findTextSearchEnabledInSource(byte[] manifest) throws MXException
manifest
- java.lang.Exception
MXException
public static boolean textSearchEnabledInSource()