com.ptc.netmarkets.user
Class NmUserCommands

java.lang.Object
  extended bycom.ptc.netmarkets.user.NmUserCommands
All Implemented Interfaces:
Externalizable, Serializable

public class NmUserCommands
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Constructor Summary
NmUserCommands()
           
 
Method Summary
static NmChangeModel[] addToAdmin(NmCommandBean cb)
          

Supported API: false
static NmDefaultHTMLTable checkedOutStuff(NmCommandBean cb)
          

Supported API: false
static ArrayList findOrgGroups(NmCommandBean cb)
          

Supported API: false
static ArrayList findOrgUsers(NmCommandBean cb)
          

Supported API: false
static TimeZone getLocalTimeZoneForUser()
          

Supported API: false
static String getLocalTimeZoneStringForUser(NmCommandBean cb)
          

Supported API: false
static String[][] getTimeZoneStrings(NmCommandBean cb)
          

Supported API: false
static String getUserName()
          

Supported API: false
static String getUserOrgName()
          

Supported API: false
static NmOid getUserOrgOid()
          

Supported API: false
static boolean isExchangeAdmin()
          

Supported API: false
static boolean isOrgAdmin(NmCommandBean cb)
          

Supported API: false
static boolean isOrgAdmin(NmOid containerOid)
          

Supported API: false
static NmDefaultHTMLTable listAdmin(NmCommandBean cb)
          

Supported API: false
static NmDefaultHTMLTable listUserEvents(NmCommandBean cb)
          

Supported API: false
static void processSwitchFormSubmittal(javax.servlet.http.HttpServletRequest req)
          

Supported API: false
 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(NmUserCommands thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
static NmChangeModel[] removeFromAdmin(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] removeUserFromRole(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] replaceUserInProject(NmCommandBean cb)
          

Supported API: false
static void sendSwitchForm(javax.servlet.http.HttpServletRequest req)
          

Supported API: false
static void setLocalTimeZoneForUser(NmCommandBean cb)
          

Supported API: false
static ArrayList userHasCheckouts(NmCommandBean cb)
          

Supported API: false
static NmModel view(NmCommandBean cb)
          

Supported API: false
 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

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
Constructor Detail

NmUserCommands

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

removeUserFromRole

public static NmChangeModel[] removeUserFromRole(NmCommandBean cb)
                                          throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

view

public static NmModel view(NmCommandBean cb)
                    throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmModel
Throws:
WTException

sendSwitchForm

public static void sendSwitchForm(javax.servlet.http.HttpServletRequest req)
                           throws WTException


Supported API: false

Parameters:
req -
Throws:
WTException

processSwitchFormSubmittal

public static void processSwitchFormSubmittal(javax.servlet.http.HttpServletRequest req)
                                       throws WTException


Supported API: false

Parameters:
req -
Throws:
WTException

checkedOutStuff

public static NmDefaultHTMLTable checkedOutStuff(NmCommandBean cb)
                                          throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

listUserEvents

public static NmDefaultHTMLTable listUserEvents(NmCommandBean cb)
                                         throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

setLocalTimeZoneForUser

public static void setLocalTimeZoneForUser(NmCommandBean cb)
                                    throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

getLocalTimeZoneStringForUser

public static String getLocalTimeZoneStringForUser(NmCommandBean cb)
                                            throws WTException


Supported API: false

Parameters:
cb -
Returns:
String
Throws:
WTException

getTimeZoneStrings

public static String[][] getTimeZoneStrings(NmCommandBean cb)
                                     throws WTException


Supported API: false

Parameters:
cb -
Returns:
String[][]
Throws:
WTException

getUserName

public static String getUserName()
                          throws WTException


Supported API: false

Returns:
String
Throws:
WTException

getUserOrgName

public static String getUserOrgName()
                             throws WTException


Supported API: false

Returns:
String
Throws:
WTException

getLocalTimeZoneForUser

public static TimeZone getLocalTimeZoneForUser()
                                        throws WTException


Supported API: false

Returns:
TimeZone
Throws:
WTException

findOrgUsers

public static ArrayList findOrgUsers(NmCommandBean cb)
                              throws WTException


Supported API: false

Parameters:
cb -
Returns:
ArrayList
Throws:
WTException

replaceUserInProject

public static NmChangeModel[] replaceUserInProject(NmCommandBean cb)
                                            throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

userHasCheckouts

public static ArrayList userHasCheckouts(NmCommandBean cb)
                                  throws WTException


Supported API: false

Parameters:
cb -
Returns:
ArrayList
Throws:
WTException

isExchangeAdmin

public static boolean isExchangeAdmin()
                               throws WTException


Supported API: false

Returns:
boolean
Throws:
WTException

getUserOrgOid

public static NmOid getUserOrgOid()
                           throws WTException


Supported API: false

Returns:
NmOid
Throws:
WTException

findOrgGroups

public static ArrayList findOrgGroups(NmCommandBean cb)
                               throws WTException


Supported API: false

Parameters:
cb -
Returns:
ArrayList
Throws:
WTException

listAdmin

public static NmDefaultHTMLTable listAdmin(NmCommandBean cb)
                                    throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

removeFromAdmin

public static NmChangeModel[] removeFromAdmin(NmCommandBean cb)
                                       throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

addToAdmin

public static NmChangeModel[] addToAdmin(NmCommandBean cb)
                                  throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

isOrgAdmin

public static boolean isOrgAdmin(NmOid containerOid)
                          throws WTException


Supported API: false

Parameters:
containerOid -
Returns:
boolean
Throws:
WTException

isOrgAdmin

public static boolean isOrgAdmin(NmCommandBean cb)
                          throws WTException


Supported API: false

Parameters:
cb -
Returns:
boolean
Throws:
WTException