com.ptc.netmarkets.document
Class NmDocumentHelper

java.lang.Object
  extended bycom.ptc.netmarkets.document.NmDocumentHelper
All Implemented Interfaces:
Externalizable, Serializable

public class NmDocumentHelper
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
static boolean CHECK_FOR_CONTENT
           
private static String CLASSNAME
           
static String COMMON_THUMBNAIL_CMP
           
static String CREATE_DATE
           
static String CREATOR
           
static String DELIVERABLE
           
static long EXTERNALIZATION_VERSION_UID
           
static String FILE_NAME
           
static String FILE_SIZE
           
static String FORMAT
           
static String ITERATION
           
static String LATEST
           
static String LIFE_CYCLE
           
static String LOCATION
           
static String MODIFIED_DATE
           
static String MODIFIER
           
static String NUMBER
           
protected static long OLD_FORMAT_VERSION_UID
           
static String ORGANIZATION_ID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
static NmDocumentService service
          

Supported API: false
static String STATE
           
static String STATUS
           
static String TYPE
           
static String URL
           
 
Constructor Summary
NmDocumentHelper()
           
 
Method Summary
static NmDocument getNmDocumentWithType(NmOid oid)
           
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(NmDocumentHelper thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

service

public static final NmDocumentService service


Supported API: false


serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

CREATE_DATE

public static final String CREATE_DATE
See Also:
Constant Field Values

CREATOR

public static final String CREATOR
See Also:
Constant Field Values

FILE_NAME

public static final String FILE_NAME
See Also:
Constant Field Values

FILE_SIZE

public static final String FILE_SIZE
See Also:
Constant Field Values

FORMAT

public static final String FORMAT
See Also:
Constant Field Values

LIFE_CYCLE

public static final String LIFE_CYCLE
See Also:
Constant Field Values

LOCATION

public static final String LOCATION
See Also:
Constant Field Values

MODIFIED_DATE

public static final String MODIFIED_DATE
See Also:
Constant Field Values

MODIFIER

public static final String MODIFIER
See Also:
Constant Field Values

STATE

public static final String STATE
See Also:
Constant Field Values

STATUS

public static final String STATUS
See Also:
Constant Field Values

TYPE

public static final String TYPE
See Also:
Constant Field Values

ITERATION

public static final String ITERATION
See Also:
Constant Field Values

URL

public static final String URL
See Also:
Constant Field Values

DELIVERABLE

public static final String DELIVERABLE
See Also:
Constant Field Values

LATEST

public static final String LATEST
See Also:
Constant Field Values

ORGANIZATION_ID

public static final String ORGANIZATION_ID
See Also:
Constant Field Values

COMMON_THUMBNAIL_CMP

public static final String COMMON_THUMBNAIL_CMP
See Also:
Constant Field Values

NUMBER

public static final String NUMBER
See Also:
Constant Field Values

CHECK_FOR_CONTENT

public static final boolean CHECK_FOR_CONTENT
Constructor Detail

NmDocumentHelper

public NmDocumentHelper()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(NmDocumentHelper thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getNmDocumentWithType

public static NmDocument getNmDocumentWithType(NmOid oid)
                                        throws WTException
Throws:
WTException