Package org.netxms.client
Class AccessListElement
java.lang.Object
org.netxms.client.users.AbstractAccessListElement
org.netxms.client.AccessListElement
Access list element for NetXMS objects
- 
Field SummaryFields inherited from class org.netxms.client.users.AbstractAccessListElementaccessRights, userId
- 
Constructor SummaryConstructorsConstructorDescriptionAccessListElement(int userId, int accessRights) Create new ACL element with given user ID and rightsCopy constructorAccessListElement(AccessListElement src, boolean inherited) Create copy of existing ACL entry with possibly changed inheritance flag.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasRead()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanCheck if this access list element was inherited.Methods inherited from class org.netxms.client.users.AbstractAccessListElementequals, getAccessRights, getUserId, hashCode, setAccessRights, toString
- 
Constructor Details- 
AccessListElementpublic AccessListElement(int userId, int accessRights) Create new ACL element with given user ID and rights- Parameters:
- userId- user id
- accessRights- bit mask
 
- 
AccessListElementCopy constructor- Parameters:
- src- Source ACL element
 
- 
AccessListElementCreate copy of existing ACL entry with possibly changed inheritance flag.- Parameters:
- src- Source ACL element
- inherited- inheritance flag
 
 
- 
- 
Method Details- 
isInheritedpublic boolean isInherited()Check if this access list element was inherited.- Returns:
- true if this access list element was inherited
 
- 
hasReadpublic boolean hasRead()- Returns:
- true if READ access granted
 
- 
hasReadAgentpublic boolean hasReadAgent()- Returns:
- true if READ AGENT access granted
 
- 
hasReadSNMPpublic boolean hasReadSNMP()- Returns:
- true if READ SNMP access granted
 
- 
hasModifypublic boolean hasModify()- Returns:
- true if MODIFY access granted
 
- 
hasEditCommentspublic boolean hasEditComments()- Returns:
- true if EDIT COMMENTS access granted
 
- 
hasEditResponsibleUserspublic boolean hasEditResponsibleUsers()- Returns:
- true if EDIT RESPONSIBLE USERS access granted
 
- 
hasCreatepublic boolean hasCreate()- Returns:
- true if CREATE access granted
 
- 
hasDeletepublic boolean hasDelete()- Returns:
- true if DELETE access granted
 
- 
hasControlpublic boolean hasControl()- Returns:
- true if CONTROL access granted
 
- 
hasSendEventspublic boolean hasSendEvents()- Returns:
- true if SEND EVENTS access granted
 
- 
hasReadAlarmspublic boolean hasReadAlarms()- Returns:
- true if READ ALARMS access granted
 
- 
hasAckAlarmspublic boolean hasAckAlarms()- Returns:
- true if ACK ALARMS access granted
 
- 
hasTerminateAlarmspublic boolean hasTerminateAlarms()- Returns:
- true if TERMINATE ALARMS access granted
 
- 
hasCreateIssuepublic boolean hasCreateIssue()- Returns:
- true if CREATE ISSUE access granted
 
- 
hasPushDatapublic boolean hasPushData()- Returns:
- true if PUSH DATA access granted
 
- 
hasAccessControlpublic boolean hasAccessControl()- Returns:
- true if ACCESS CONTROL access granted
 
- 
hasDownloadpublic boolean hasDownload()- Returns:
- true if DOWNLOAD access granted
 
- 
hasUploadpublic boolean hasUpload()- Returns:
- true if UPLOAD access granted
 
- 
hasManagepublic boolean hasManage()- Returns:
- true if MANAGE FILES access granted
 
- 
hasConfigureAgentpublic boolean hasConfigureAgent()- Returns:
- true if CONFIGURE AGENT access granted
 
- 
hasTakeScreenshotpublic boolean hasTakeScreenshot()- Returns:
- true if SCREENSHOT access granted
 
- 
hasControlMaintenancepublic boolean hasControlMaintenance()- Returns:
- true if MAINTENANCE access granted
 
- 
hasEditMaintenbanceJournalpublic boolean hasEditMaintenbanceJournal()- Returns:
- true if EDIT MAINTENANCE JOURNAL access granted
 
 
-