com.ptc.netmarkets.project
Class NmProjectHelper

java.lang.Object
  extended bycom.ptc.netmarkets.project.NmProjectHelper
All Implemented Interfaces:
Externalizable, Serializable

public class NmProjectHelper
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
static String FULL_ACCESS
           
static boolean MANUAL_EXEC_ONLY
           
static long MAX_PRIORITY_VAL
           
static int MAX_SWITCH_SIZE
           
static String MEMBER_TABLE_CACHE
           
static long MIN_PRIORITY_VAL
           
static String NONE_ACCESS
           
protected static long OLD_FORMAT_VERSION_UID
           
static String PEOPLE_TABLE_CACHE
           
static String PROJECT_LIST
           
static int PROJECT_LM_DATE_COLUMN
           
static String PROJECT_LM_DATE_COLUMN_STR
           
static int PROJECT_STATE_COLUMN
           
static String PROJECT_STATE_COLUMN_STR
           
static String PROJECT_TABLE_VIEW
           
static String READ_ACCESS
           
static String RECENT_ADDED_PRINCIPALS_LIST
           
private static String RESOURCE
           
static String ROLE_MEMBER_TREE_CACHE
           
(package private) static long serialVersionUID
           
static NmProjectService service
          

Supported API: false
static String SUB_PROJECT_TABLE_VIEW
           
static String UPDATE_ACCESS
           
 
Constructor Summary
NmProjectHelper()
           
 
Method Summary
static Enumeration findProjects(WTUser user)
           
static boolean isPJLContainer(WTContainerRef cref)
           
 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(NmProjectHelper 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 NmProjectService 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

PROJECT_TABLE_VIEW

public static final String PROJECT_TABLE_VIEW
See Also:
Constant Field Values

SUB_PROJECT_TABLE_VIEW

public static final String SUB_PROJECT_TABLE_VIEW
See Also:
Constant Field Values

MIN_PRIORITY_VAL

public static final long MIN_PRIORITY_VAL
See Also:
Constant Field Values

MAX_PRIORITY_VAL

public static final long MAX_PRIORITY_VAL
See Also:
Constant Field Values

FULL_ACCESS

public static final String FULL_ACCESS
See Also:
Constant Field Values

UPDATE_ACCESS

public static final String UPDATE_ACCESS
See Also:
Constant Field Values

READ_ACCESS

public static final String READ_ACCESS
See Also:
Constant Field Values

NONE_ACCESS

public static final String NONE_ACCESS
See Also:
Constant Field Values

PROJECT_LIST

public static final String PROJECT_LIST
See Also:
Constant Field Values

PROJECT_STATE_COLUMN_STR

public static final String PROJECT_STATE_COLUMN_STR
See Also:
Constant Field Values

PROJECT_STATE_COLUMN

public static final int PROJECT_STATE_COLUMN
See Also:
Constant Field Values

PROJECT_LM_DATE_COLUMN_STR

public static final String PROJECT_LM_DATE_COLUMN_STR
See Also:
Constant Field Values

PROJECT_LM_DATE_COLUMN

public static final int PROJECT_LM_DATE_COLUMN
See Also:
Constant Field Values

MAX_SWITCH_SIZE

public static final int MAX_SWITCH_SIZE
See Also:
Constant Field Values

MANUAL_EXEC_ONLY

public static final boolean MANUAL_EXEC_ONLY

RECENT_ADDED_PRINCIPALS_LIST

public static final String RECENT_ADDED_PRINCIPALS_LIST
See Also:
Constant Field Values

MEMBER_TABLE_CACHE

public static final String MEMBER_TABLE_CACHE
See Also:
Constant Field Values

ROLE_MEMBER_TREE_CACHE

public static final String ROLE_MEMBER_TREE_CACHE
See Also:
Constant Field Values

PEOPLE_TABLE_CACHE

public static final String PEOPLE_TABLE_CACHE
See Also:
Constant Field Values
Constructor Detail

NmProjectHelper

public NmProjectHelper()
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(NmProjectHelper 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

findProjects

public static Enumeration findProjects(WTUser user)

isPJLContainer

public static boolean isPJLContainer(WTContainerRef cref)