org.netxms.client
Class NXCUser

java.lang.Object
  extended by org.netxms.client.NXCUserDBObject
      extended by org.netxms.client.NXCUser

public class NXCUser
extends NXCUserDBObject

NetXMS user object

Author:
Victor

Field Summary
static int MAP_CERT_BY_PUBKEY
           
static int MAP_CERT_BY_SUBJECT
           
 
Fields inherited from class org.netxms.client.NXCUserDBObject
CANNOT_CHANGE_PASSWORD, CHANGE_PASSWORD, customAttributes, DELETED, description, DISABLED, flags, guid, id, MODIFIED, name, OBJECT_ACCESS_ACK_ALARMS, OBJECT_ACCESS_ACL, OBJECT_ACCESS_CONTROL, OBJECT_ACCESS_CREATE, OBJECT_ACCESS_DELETE, OBJECT_ACCESS_MODIFY, OBJECT_ACCESS_PUSH_DATA, OBJECT_ACCESS_READ, OBJECT_ACCESS_READ_ALARMS, OBJECT_ACCESS_SEND_EVENTS, OBJECT_ACCESS_TERM_ALARMS, SYSTEM_ACCESS_CONFIGURE_TRAPS, SYSTEM_ACCESS_DELETE_ALARMS, SYSTEM_ACCESS_EDIT_EVENT_DB, SYSTEM_ACCESS_EPP, SYSTEM_ACCESS_MANAGE_ACTIONS, SYSTEM_ACCESS_MANAGE_AGENT_CFG, SYSTEM_ACCESS_MANAGE_MAPS, SYSTEM_ACCESS_MANAGE_PACKAGES, SYSTEM_ACCESS_MANAGE_SCRIPTS, SYSTEM_ACCESS_MANAGE_SESSIONS, SYSTEM_ACCESS_MANAGE_SITUATIONS, SYSTEM_ACCESS_MANAGE_TOOLS, SYSTEM_ACCESS_MANAGE_USERS, SYSTEM_ACCESS_READ_FILES, SYSTEM_ACCESS_REGISTER_AGENTS, SYSTEM_ACCESS_SEND_SMS, SYSTEM_ACCESS_SERVER_CONFIG, SYSTEM_ACCESS_VIEW_EVENT_DB, SYSTEM_ACCESS_VIEW_TRAP_LOG, systemRights
 
Constructor Summary
protected NXCUser(NXCPMessage msg)
          Create user object from NXCP message
  NXCUser(NXCUser src)
          Copy constructor
  NXCUser(java.lang.String name)
          Default constructor
 
Method Summary
 java.lang.Object clone()
           
 void fillMessage(NXCPMessage msg)
          Fill NXCP message with object data
 int getAuthMethod()
           
 java.lang.String getCertMappingData()
           
 int getCertMappingMethod()
           
 java.lang.String getFullName()
           
 void setAuthMethod(int authMethod)
           
 void setCertMappingData(java.lang.String certMappingData)
           
 void setCertMappingMethod(int certMappingMethod)
           
 void setFullName(java.lang.String fullName)
           
 
Methods inherited from class org.netxms.client.NXCUserDBObject
getCustomAttribute, getDescription, getFlags, getGuid, getId, getName, getSystemRights, isDeleted, isDisabled, isPasswordChangeForbidden, isPasswordChangeNeeded, setCustomAttribute, setDescription, setFlags, setId, setName, setSystemRights
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAP_CERT_BY_SUBJECT

public static final int MAP_CERT_BY_SUBJECT
See Also:
Constant Field Values

MAP_CERT_BY_PUBKEY

public static final int MAP_CERT_BY_PUBKEY
See Also:
Constant Field Values
Constructor Detail

NXCUser

public NXCUser(java.lang.String name)
Default constructor


NXCUser

public NXCUser(NXCUser src)
Copy constructor


NXCUser

protected NXCUser(NXCPMessage msg)
Create user object from NXCP message

Method Detail

fillMessage

public void fillMessage(NXCPMessage msg)
Fill NXCP message with object data

Overrides:
fillMessage in class NXCUserDBObject

getAuthMethod

public int getAuthMethod()
Returns:
the authMethod

setAuthMethod

public void setAuthMethod(int authMethod)
Parameters:
authMethod - the authMethod to set

getCertMappingMethod

public int getCertMappingMethod()
Returns:
the certMappingMethod

setCertMappingMethod

public void setCertMappingMethod(int certMappingMethod)
Parameters:
certMappingMethod - the certMappingMethod to set

getCertMappingData

public java.lang.String getCertMappingData()
Returns:
the certMappingData

setCertMappingData

public void setCertMappingData(java.lang.String certMappingData)
Parameters:
certMappingData - the certMappingData to set

getFullName

public java.lang.String getFullName()
Returns:
the fullName

setFullName

public void setFullName(java.lang.String fullName)
Parameters:
fullName - the fullName to set

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class NXCUserDBObject
Throws:
java.lang.CloneNotSupportedException


Copyright © 2009. All Rights Reserved.