Class GuiAuditEntry
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiAuditEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.Log
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<GuiAuditEntry>
convertFromAuditEntries
(Collection<AuditEntry> auditEntries) static Set<GuiAuditEntry>
convertFromAuditEntries
(Collection<AuditEntry> auditEntries, String configMax, int defaultMax) action when permission is added to roleunderlying audit entryconvert the audit to an audit line for screenduration in secondsint
getFile()
try to get a friendly label for engine from the externalized text filegui attribute defgui attribute def name for the audit if applicableaudit date string, format based on ui property uiV2.audit.dateFormataudit date string, format based on ui property uiV2.audit.dateFormatWithSecondsgui entity for the audit if applicablegui group for the audit if applicablegui member for the audit if applicablegui pit group for the audit if applicablegui privilegegui stem for the audit if applicableget the gui subject who performed this action default to the act as id, and if null, then the logged in idint
int
void
void
void
action when permission is added to rolevoid
setAuditEntry
(AuditEntry auditEntry1) underlying audit entryvoid
setGuiAttributeDef
(GuiAttributeDef guiAttributeDef1) gui attribute defvoid
setGuiAttributeDefName
(GuiAttributeDefName guiAttributeDefName1) gui attribute def name for the audit if applicablevoid
setGuiEntity
(GuiEntity guiEntity1) gui entity for the audit if applicablevoid
setGuiGroup
(GuiGroup guiGroup1) gui group for the audit if applicablevoid
setGuiMember
(GuiMember guiMember1) gui member for the audit if applicablevoid
setGuiPITGroup
(GuiPITGroup guiPITGroup1) gui pit group for the audit if applicablevoid
setGuiPrivilege
(GuiPrivilege guiPrivilege1) gui privilegevoid
setGuiStem
(GuiStem guiStem1) gui stem for the audit if applicable
-
Field Details
-
LOG
protected static final org.apache.commons.logging.Log LOGlogger
-
-
Constructor Details
-
GuiAuditEntry
public GuiAuditEntry()default constructor -
GuiAuditEntry
- Parameters:
theAuditEntry
-
-
-
Method Details
-
getDurationLabel
duration in seconds- Returns:
- duration in seconds
-
convertFromAuditEntries
- Parameters:
auditEntries
-configMax
-max
-- Returns:
- gui audit entries
-
convertFromAuditEntries
public static Set<GuiAuditEntry> convertFromAuditEntries(Collection<AuditEntry> auditEntries, String configMax, int defaultMax) - Parameters:
auditEntries
-configMax
-max
-- Returns:
- gui audit entries
-
getGuiAttributeDef
gui attribute def- Returns:
- gui attribute def
-
setGuiAttributeDef
gui attribute def- Parameters:
guiAttributeDef1
-
-
getGuiAttributeDefName
gui attribute def name for the audit if applicable- Returns:
- attr def name
-
setGuiAttributeDefName
gui attribute def name for the audit if applicable- Parameters:
guiAttributeDefName1
-
-
getGuiEntity
gui entity for the audit if applicable- Returns:
- entity
-
setGuiEntity
gui entity for the audit if applicable- Parameters:
guiEntity1
-
-
getGuiPrivilege
gui privilege- Returns:
- privilege
-
setGuiPrivilege
gui privilege- Parameters:
guiPrivilege1
-
-
getGuiStem
gui stem for the audit if applicable- Returns:
- stem
-
setGuiStem
gui stem for the audit if applicable- Parameters:
guiStem1
-
-
getGuiPITGroup
gui pit group for the audit if applicable- Returns:
- the gui pit group
-
getGuiGroup
gui group for the audit if applicable- Returns:
- the gui group
-
setGuiGroup
gui group for the audit if applicable- Parameters:
guiGroup1
-
-
setGuiPITGroup
gui pit group for the audit if applicable- Parameters:
guiPITGroup1
-
-
getGuiMember
gui member for the audit if applicable- Returns:
- the member
-
setGuiMember
gui member for the audit if applicable- Parameters:
guiMember1
-
-
getAction
action when permission is added to role- Returns:
-
setAction
action when permission is added to role- Parameters:
action
-
-
getGuiSubjectPerformedAction
get the gui subject who performed this action default to the act as id, and if null, then the logged in id- Returns:
- the gui subject
-
getGrouperEngineLabel
try to get a friendly label for engine from the externalized text file- Returns:
- engine
-
getGuiDate
audit date string, format based on ui property uiV2.audit.dateFormat- Returns:
- formatted audit entry date
-
getGuiDateWithSeconds
audit date string, format based on ui property uiV2.audit.dateFormatWithSeconds- Returns:
- formatted audit entry date
-
getAuditEntry
underlying audit entry- Returns:
- audit
-
setAuditEntry
underlying audit entry- Parameters:
auditEntry1
-
-
getAttributeValue
-
getAuditLine
convert the audit to an audit line for screen- Returns:
- the audit line
-
internal_setupMember
public void internal_setupMember() -
internal_setupGroup
public void internal_setupGroup() -
getExportSize
public int getExportSize() -
getFile
-
getImportTotalAdded
public int getImportTotalAdded() -
getImportTotalDeleted
public int getImportTotalDeleted() -
getGroupLinkOrName
- Returns:
- link if available otherwise name
-