Package com.jk.core.security
Class JKAuditType
java.lang.Object
com.jk.core.security.JKAuditType
The Class JKAuditType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic JKAuditType
The audit add record.static JKAuditType
The audit delete record.static JKAuditType
The audit login.static JKAuditType
The audit logout.static JKAuditType
The audit update record. -
Constructor Summary
ConstructorsConstructorDescriptionJKAuditType
(int id) Instantiates a new JK audit type.JKAuditType
(int id, String name) Instantiates a new JK audit type. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the audit type.Gets the audit type name.Gets the module.void
setAuditType
(int auditType) Sets the audit type.void
setAuditTypeName
(String auditTypeName) Sets the audit type name.void
Sets the module.
-
Field Details
-
AUDIT_ADD_RECORD
The audit add record. -
AUDIT_UPDATE_RECORD
The audit update record. -
AUDIT_DELETE_RECORD
The audit delete record. -
AUDIT_LOGIN
The audit login. -
AUDIT_LOGOUT
The audit logout.
-
-
Constructor Details
-
JKAuditType
public JKAuditType(int id) Instantiates a new JK audit type.- Parameters:
id
- the id
-
JKAuditType
Instantiates a new JK audit type.- Parameters:
id
- the idname
- the name
-
-
Method Details
-
getAuditType
public int getAuditType()Gets the audit type.- Returns:
- the audit type
-
getAuditTypeName
Gets the audit type name.- Returns:
- the audit type name
-
getModule
Gets the module.- Returns:
- the module
-
setAuditType
public void setAuditType(int auditType) Sets the audit type.- Parameters:
auditType
- the new audit type
-
setAuditTypeName
Sets the audit type name.- Parameters:
auditTypeName
- the new audit type name
-
setModule
Sets the module.- Parameters:
module
- the new module
-