com.ptc.netmarkets.user
Class NmUser

java.lang.Object
  extended bycom.ptc.netmarkets.model.NmObject
      extended bycom.ptc.netmarkets.model.NmNamedObject
          extended bycom.ptc.netmarkets.user.NmUser
All Implemented Interfaces:
Comparable, Externalizable, NetFactor, NmActionTarget, NmFormatable, NmNamed, Serializable

public class NmUser
extends NmNamedObject
implements Externalizable

Use the newNmUser static factory method(s), not the NmUser constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  String dn
           
private  String email
           
static long EXTERNALIZATION_VERSION_UID
           
private  String fullName
           
private  ArrayList groups
           
private  String mailtoLink
           
protected static long OLD_FORMAT_VERSION_UID
           
private  String organization
           
private  String phoneNumber
           
private  boolean registered
           
private  boolean renderLinks
           
private static String RESOURCE
           
private  ArrayList roles
           
(package private) static long serialVersionUID
           
static String TYPE
          

Supported API: false
private static boolean VERBOSE
           
 
Fields inherited from class com.ptc.netmarkets.model.NmNamedObject
NO_TRUCATION, USER_PREFERENCE
 
Fields inherited from class com.ptc.netmarkets.model.NmObject
ADDITIONAL_INFO, MARKED_FOR_DELETE, OID, RESTORABLE, VIEW_ACTION, VIEW_URL
 
Fields inherited from interface com.ptc.netmarkets.model.NmNamed
NAME
 
Fields inherited from interface com.ptc.netmarkets.util.misc.NmFormatable
DIV_CLASS, RENDER_WHILE_HIDDEN
 
Constructor Summary
NmUser()
           
 
Method Summary
 boolean checkAvailable(NmAction action, WTContainer container, HashMap checkInfo)
          

Supported API: false
 boolean equals(Object o)
          

Supported API: false
 String getConceptualClassname()
          Deprecated.  
 String getDn()
          Gets the value of the attribute: dn.
 String getEmail()
          Gets the value of the attribute: email.
 String getFullName()
          Gets the value of the attribute: fullName.
 ArrayList getGroups()
          Gets the value of the attribute: groups.
 String getMailtoLink()
          Gets the value of the attribute: mailtoLink.
 String getOrganization()
          Gets the value of the attribute: organization.
 String getPhoneNumber()
          Gets the value of the attribute: phoneNumber.
 String getRegisteredName()
           
 ArrayList getRoles()
          Gets the value of the attribute: roles.
 boolean isRegistered()
          Gets the value of the attribute: registered.
 boolean isRenderLinks()
          Gets the value of the attribute: renderLinks.
static NmUser newNmUser()
          Default factory for the class.
 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(NmUser thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setDn(String a_Dn)
          Sets the value of the attribute: dn.
 void setEmail(String a_Email)
          Sets the value of the attribute: email.
 void setFullName(String a_FullName)
          Sets the value of the attribute: fullName.
 void setGroups(ArrayList a_Groups)
          Sets the value of the attribute: groups.
 void setMailtoLink(String a_MailtoLink)
          Sets the value of the attribute: mailtoLink.
 void setOid(NmOid oid)
          Sets the value of the attribute: OID.
 void setOrganization(String a_Organization)
          Sets the value of the attribute: organization.
 void setPhoneNumber(String a_PhoneNumber)
          Sets the value of the attribute: phoneNumber.
 void setRegistered(boolean a_Registered)
          Sets the value of the attribute: registered.
 void setRenderLinks(boolean a_RenderLinks)
          Sets the value of the attribute: renderLinks.
 void setRoles(ArrayList a_Roles)
          Sets the value of the attribute: roles.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class com.ptc.netmarkets.model.NmNamedObject
compareTo, getMaxNameLength, getName, initialize, newNmNamedObject, newNmNamedObject, readVersion, setMaxNameLength, setName
 
Methods inherited from class com.ptc.netmarkets.model.NmObject
checkAccess, checkAccess, getAdditionalInfo, getClassInfo, getCollationKey, getDivClass, getOid, getViewAction, getViewUrl, initialize, initialize, isAdmin, isAdmin, isExchangeAdmin, isMarkedForDelete, isRenderWhileHidden, isRestorable, newNmObject, newNmObject, readVersion, setAdditionalInfo, setCollationKey, setDivClass, setMarkedForDelete, setRenderWhileHidden, setRestorable, setViewAction, setViewUrl, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

organization

private String organization

email

private String email

TYPE

public static final String TYPE


Supported API: false

See Also:
Constant Field Values

phoneNumber

private String phoneNumber

roles

private ArrayList roles

registered

private boolean registered

mailtoLink

private String mailtoLink

fullName

private String fullName

renderLinks

private boolean renderLinks

groups

private ArrayList groups

dn

private String dn

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

VERBOSE

private static final boolean VERBOSE
See Also:
Constant Field Values
Constructor Detail

NmUser

public NmUser()
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
Overrides:
writeExternal in class NmNamedObject
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
Overrides:
readExternal in class NmNamedObject
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(NmUser 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

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class NmNamedObject
Returns:
String

getOrganization

public String getOrganization()
Gets the value of the attribute: organization.

Supported API: false

Returns:
String

setOrganization

public void setOrganization(String a_Organization)
Sets the value of the attribute: organization.

Supported API: false

Parameters:
a_Organization -

getEmail

public String getEmail()
Gets the value of the attribute: email.

Supported API: false

Returns:
String

setEmail

public void setEmail(String a_Email)
Sets the value of the attribute: email.

Supported API: false

Parameters:
a_Email -

getPhoneNumber

public String getPhoneNumber()
Gets the value of the attribute: phoneNumber.

Supported API: false

Returns:
String

setPhoneNumber

public void setPhoneNumber(String a_PhoneNumber)
Sets the value of the attribute: phoneNumber.

Supported API: false

Parameters:
a_PhoneNumber -

getRoles

public ArrayList getRoles()
Gets the value of the attribute: roles.

Supported API: false

Returns:
ArrayList

setRoles

public void setRoles(ArrayList a_Roles)
Sets the value of the attribute: roles.

Supported API: false

Parameters:
a_Roles -

isRegistered

public boolean isRegistered()
Gets the value of the attribute: registered.

Supported API: false

Returns:
boolean

setRegistered

public void setRegistered(boolean a_Registered)
Sets the value of the attribute: registered.

Supported API: false

Parameters:
a_Registered -

getMailtoLink

public String getMailtoLink()
Gets the value of the attribute: mailtoLink.

Supported API: false

Returns:
String

setMailtoLink

public void setMailtoLink(String a_MailtoLink)
Sets the value of the attribute: mailtoLink.

Supported API: false

Parameters:
a_MailtoLink -

getFullName

public String getFullName()
Gets the value of the attribute: fullName.

Supported API: false

Returns:
String

setFullName

public void setFullName(String a_FullName)
Sets the value of the attribute: fullName.

Supported API: false

Parameters:
a_FullName -

isRenderLinks

public boolean isRenderLinks()
Gets the value of the attribute: renderLinks.

Supported API: false

Returns:
boolean

setRenderLinks

public void setRenderLinks(boolean a_RenderLinks)
Sets the value of the attribute: renderLinks.

Supported API: false

Parameters:
a_RenderLinks -

getGroups

public ArrayList getGroups()
Gets the value of the attribute: groups.

Supported API: false

Returns:
ArrayList

setGroups

public void setGroups(ArrayList a_Groups)
Sets the value of the attribute: groups.

Supported API: false

Parameters:
a_Groups -

getDn

public String getDn()
Gets the value of the attribute: dn.

Supported API: false

Returns:
String

setDn

public void setDn(String a_Dn)
Sets the value of the attribute: dn.

Supported API: false

Parameters:
a_Dn -

equals

public boolean equals(Object o)


Supported API: false

Parameters:
o -
Returns:
boolean

newNmUser

public static NmUser newNmUser()
                        throws WTException
Default factory for the class.

Supported API: false

Returns:
NmUser
Throws:
WTException

setOid

public void setOid(NmOid oid)
Description copied from class: NmObject
Sets the value of the attribute: OID.

Supported API: false

Overrides:
setOid in class NmObject
Parameters:
oid -

checkAvailable

public boolean checkAvailable(NmAction action,
                              WTContainer container,
                              HashMap checkInfo)
Description copied from class: NmObject


Supported API: false

Specified by:
checkAvailable in interface NmActionTarget
Overrides:
checkAvailable in class NmObject
Parameters:
action -
container -
checkInfo -
Returns:
boolean

getRegisteredName

public String getRegisteredName()