|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netxms.client.NXCUserDBObject
public abstract class NXCUserDBObject
| Constructor Summary | |
|---|---|
protected |
NXCUserDBObject(NXCPMessage msg)
Create object from NXCP message |
|
NXCUserDBObject(NXCUserDBObject src)
Copy constructor |
|
NXCUserDBObject(java.lang.String name)
Default constructor |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
fillMessage(NXCPMessage msg)
Fill NXCP message with object data |
java.lang.String |
getCustomAttribute(java.lang.String name)
Get custom attribute |
java.lang.String |
getDescription()
|
int |
getFlags()
|
java.util.UUID |
getGuid()
|
long |
getId()
|
java.lang.String |
getName()
|
int |
getSystemRights()
|
boolean |
isDeleted()
|
boolean |
isDisabled()
Check if object is disabled |
boolean |
isPasswordChangeForbidden()
Check if password change is forbidden |
boolean |
isPasswordChangeNeeded()
Check if password should be changed at next logon |
void |
setCustomAttribute(java.lang.String name,
java.lang.String value)
Set custom attribute's value |
void |
setDescription(java.lang.String description)
|
void |
setFlags(int flags)
|
void |
setId(long id)
|
void |
setName(java.lang.String name)
|
void |
setSystemRights(int systemRights)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SYSTEM_ACCESS_MANAGE_USERS
public static final int SYSTEM_ACCESS_SERVER_CONFIG
public static final int SYSTEM_ACCESS_CONFIGURE_TRAPS
public static final int SYSTEM_ACCESS_MANAGE_SESSIONS
public static final int SYSTEM_ACCESS_VIEW_EVENT_DB
public static final int SYSTEM_ACCESS_EDIT_EVENT_DB
public static final int SYSTEM_ACCESS_EPP
public static final int SYSTEM_ACCESS_MANAGE_ACTIONS
public static final int SYSTEM_ACCESS_DELETE_ALARMS
public static final int SYSTEM_ACCESS_MANAGE_PACKAGES
public static final int SYSTEM_ACCESS_MANAGE_TOOLS
public static final int SYSTEM_ACCESS_MANAGE_SCRIPTS
public static final int SYSTEM_ACCESS_VIEW_TRAP_LOG
public static final int SYSTEM_ACCESS_MANAGE_AGENT_CFG
public static final int SYSTEM_ACCESS_MANAGE_SITUATIONS
public static final int SYSTEM_ACCESS_SEND_SMS
public static final int SYSTEM_ACCESS_MANAGE_MAPS
public static final int SYSTEM_ACCESS_REGISTER_AGENTS
public static final int SYSTEM_ACCESS_READ_FILES
public static final int OBJECT_ACCESS_READ
public static final int OBJECT_ACCESS_MODIFY
public static final int OBJECT_ACCESS_CREATE
public static final int OBJECT_ACCESS_DELETE
public static final int OBJECT_ACCESS_READ_ALARMS
public static final int OBJECT_ACCESS_ACL
public static final int OBJECT_ACCESS_ACK_ALARMS
public static final int OBJECT_ACCESS_SEND_EVENTS
public static final int OBJECT_ACCESS_CONTROL
public static final int OBJECT_ACCESS_TERM_ALARMS
public static final int OBJECT_ACCESS_PUSH_DATA
public static final int MODIFIED
public static final int DELETED
public static final int DISABLED
public static final int CHANGE_PASSWORD
public static final int CANNOT_CHANGE_PASSWORD
protected long id
protected java.lang.String name
protected java.util.UUID guid
protected int systemRights
protected int flags
protected java.lang.String description
protected java.util.Map<java.lang.String,java.lang.String> customAttributes
| Constructor Detail |
|---|
public NXCUserDBObject(java.lang.String name)
public NXCUserDBObject(NXCUserDBObject src)
protected NXCUserDBObject(NXCPMessage msg)
msg - Message containing object's data| Method Detail |
|---|
public void fillMessage(NXCPMessage msg)
public boolean isDeleted()
public long getId()
public void setId(long id)
id - the id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic java.util.UUID getGuid()
public int getSystemRights()
public void setSystemRights(int systemRights)
systemRights - the systemRights to setpublic int getFlags()
public void setFlags(int flags)
flags - the flags to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description to setpublic java.lang.String getCustomAttribute(java.lang.String name)
name - Name of the attribute
public void setCustomAttribute(java.lang.String name,
java.lang.String value)
name - Name of the attributevalue - New value for attribute
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean isDisabled()
public boolean isPasswordChangeNeeded()
public boolean isPasswordChangeForbidden()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||