|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.audit.AuditLogSecurity
public class AuditLogSecurity
This object maps access to an audit log record based on project permissions.
Field Summary | |
---|---|
static java.lang.String |
GROUP
Security based on group membership. |
static java.lang.String |
PROJECT
Security based on project permissions. |
Constructor Summary | |
---|---|
AuditLogSecurity()
For UI / Hibernate Usage only. |
|
AuditLogSecurity(java.lang.String entityName,
java.lang.Long entityId,
java.lang.Long privilegeId,
com.fiveamsolutions.nci.commons.audit.AuditLogRecord record)
Constructor. |
Method Summary | |
---|---|
java.lang.Long |
getEntityId()
|
java.lang.String |
getEntityName()
|
java.lang.Long |
getId()
Returns the id. |
java.lang.Long |
getPrivilegeId()
|
com.fiveamsolutions.nci.commons.audit.AuditLogRecord |
getRecord()
|
void |
setEntityId(java.lang.Long entityId)
|
void |
setEntityName(java.lang.String entityName)
|
void |
setId(java.lang.Long id)
Deprecated. should only be used by castor and hibernate |
void |
setPrivilegeId(java.lang.Long privilegeId)
|
void |
setRecord(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROJECT
public static final java.lang.String GROUP
Constructor Detail |
---|
public AuditLogSecurity()
public AuditLogSecurity(java.lang.String entityName, java.lang.Long entityId, java.lang.Long privilegeId, com.fiveamsolutions.nci.commons.audit.AuditLogRecord record)
entityName
- the type of entity this security entry is based onentityId
- the id of the entityprivilegeId
- the privilege that restricts access to the recordrecord
- the audit log record this applies toMethod Detail |
---|
public java.lang.Long getId()
@Deprecated public void setId(java.lang.Long id)
id
- the id to setpublic java.lang.String getEntityName()
public void setEntityName(java.lang.String entityName)
entityName
- the entityName to setpublic java.lang.Long getEntityId()
public void setEntityId(java.lang.Long entityId)
entityId
- the entityId to setpublic java.lang.Long getPrivilegeId()
public void setPrivilegeId(java.lang.Long privilegeId)
privilegeId
- the privilegeId to set@NotNull public com.fiveamsolutions.nci.commons.audit.AuditLogRecord getRecord()
public void setRecord(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record)
record
- the audit log record to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |