edu.internet2.middleware.grouper.audit
Class AuditEntry

java.lang.Object
  extended by edu.internet2.middleware.grouper.GrouperAPI
      extended by edu.internet2.middleware.grouper.audit.AuditEntry
All Implemented Interfaces:
HibGrouperLifecycle, Hib3GrouperVersioned, GrouperCloneable, GrouperUtil.FieldValuable, XmlImportable<AuditEntry>, XmlImportableBase<AuditEntry>, Serializable, org.hibernate.classic.Lifecycle

public class AuditEntry
extends GrouperAPI
implements Hib3GrouperVersioned, XmlImportable<AuditEntry>

represents a user audit record. This is one unit of work that could contain multiple operations.

See Also:
Serialized Form

Field Summary
static String FIELD_ACT_AS_MEMBER_ID
          constant for field name for: actAsMemberId
static String FIELD_AUDIT_TYPE_ID
          constant for field name for: auditTypeId
static String FIELD_CONTEXT_ID
          constant for field name for: contextId
static String FIELD_CREATED_ON_DB
          constant for field name for: createdOnDb
static String FIELD_DESCRIPTION
          constant for field name for: description
static String FIELD_DURATION_MICROSECONDS
          constant for field name for: durationMicroseconds
static String FIELD_ENV_NAME
          constant for field name for: envName
static String FIELD_GROUPER_ENGINE
          constant for field name for: grouperEngine
static String FIELD_GROUPER_VERSION
          constant for field name for: grouperVersion
static String FIELD_ID
          constant for field name for: id
static String FIELD_INT01
          constant for field name for: int01
static String FIELD_INT02
          constant for field name for: int02
static String FIELD_INT03
          constant for field name for: int03
static String FIELD_INT04
          constant for field name for: int04
static String FIELD_INT05
          constant for field name for: int05
static String FIELD_LAST_UPDATED_DB
          constant for field name for: lastUpdatedDb
static String FIELD_LOGGED_IN_MEMBER_ID
          constant for field name for: loggedInMemberId
static String FIELD_QUERY_COUNT
          constant for field name for: queryCount
static String FIELD_SERVER_HOST
          constant for field name for: serverHost
static String FIELD_SERVER_USER_NAME
          constant for field name for: serverUserName
static String FIELD_STRING01
          constant for field name for: string01
static String FIELD_STRING02
          constant for field name for: string02
static String FIELD_STRING03
          constant for field name for: string03
static String FIELD_STRING04
          constant for field name for: string04
static String FIELD_STRING05
          constant for field name for: string05
static String FIELD_STRING06
          constant for field name for: string06
static String FIELD_STRING07
          constant for field name for: string07
static String FIELD_STRING08
          constant for field name for: string08
static String FIELD_USER_IP_ADDRESS
          constant for field name for: userIpAddress
static String TABLE_GROUPER_AUDIT_ENTRY
          name of the grouper audit entry table in the db
 
Fields inherited from class edu.internet2.middleware.grouper.GrouperAPI
COLUMN_HIBERNATE_VERSION_NUMBER, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
 
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
 
Constructor Summary
AuditEntry()
          construct
AuditEntry(AuditTypeIdentifier auditTypeIdentifier, String... labelNamesAndValues)
          construct, assign an id
 
Method Summary
 void assignIntValue(AuditType auditType, String label, Long value)
           
 void assignStringValue(AuditType auditType, String label, String value)
           
 GrouperAPI clone()
          deep clone the fields in this object
 boolean equalsDeep(AuditEntry auditEntry)
          see if one audit type is the same as another (not looking at last update, id, etc)
 String getActAsMemberId()
          member uuid of the user being acted as
 AuditType getAuditType()
          get the audit type, it better be there
 String getAuditTypeId()
          foreign key to the type of audit entry this is
 String getContextId()
          context id ties multiple db changes
 Timestamp getCreatedOn()
          when created
 Long getCreatedOnDb()
          when created
 String getDescription()
          description of what happened in paragraph form
 long getDurationMicroseconds()
          number of nanos that the duration of the context took
 String getEnvName()
          env label from grouper.properties
 String getGrouperEngine()
          WS, UI, loader, GSH, etc
 String getGrouperVersion()
          version of the grouper API, e.g.
 String getId()
          primary key uuid of this record
 Long getInt01()
          misc integer field 1
 Long getInt02()
          misc integer field 2
 Long getInt03()
          misc integer field 3
 Long getInt04()
          misc integer field 4
 Long getInt05()
          misc integer field 5
 Timestamp getLastUpdated()
          when last updated
 Long getLastUpdatedDb()
          when last updated
 String getLoggedInMemberId()
          member uuid of the user logged in to grouper ui or ws etc
 int getQueryCount()
          number of queries (count be db or otherwise)
 String getServerHost()
          host of the server that executed the transaction
 String getServerUserName()
          Username of the OS user running the API.
 String getString01()
          misc field 1
 String getString02()
          misc field 2
 String getString03()
          misc field 3
 String getString04()
          misc field 4
 String getString05()
          misc field 5
 String getString06()
          misc field 6
 String getString07()
          misc field 7
 String getString08()
          misc field 8
 String getUserIpAddress()
          ip address of user (from WS or UI etc)
 void onPreSave(HibernateSession hibernateSession)
          before a save (insert) occurs
 void onPreUpdate(HibernateSession hibernateSession)
          before an update occurs
 String retrieveStringValue(AuditType auditType, String label)
          get a string value from name value pairs
 String retrieveStringValue(String label)
          get a string value from name value pairs
 void saveOrUpdate(boolean copyContextData)
          save or update this object
 void setActAsMemberId(String actAsMemberUuid1)
          member uuid of the user being acted as
 void setAuditTypeId(String auditTypeId1)
          foreign key to the type of audit entry this is
 void setContextId(String contextId1)
          context id ties multiple db changes
 void setCreatedOn(Timestamp createdOn1)
          when created
 void setCreatedOnDb(Long createdOn1)
          when created
 void setDescription(String description1)
          description of what happened in paragraph form
 void setDurationMicroseconds(long durationMicroseconds1)
          number of nanos that the duration of the context took
 void setEnvName(String envLabel1)
          env label from grouper.properties
 void setGrouperEngine(String grouperSystem1)
          WS, UI, loader, GSH, etc
 void setGrouperVersion(String grouperVersion1)
          version of the grouper API, e.g.
 void setId(String id1)
          primary key uuid of this record
 void setInt01(Long int01a)
          misc integer field 1
 void setInt02(Long int02a)
          misc integer field 2
 void setInt03(Long int03a)
          misc integer field 3
 void setInt04(Long int04a)
          misc integer field 4
 void setInt05(Long int05a)
          misc integer field 5
 void setLastUpdated(Timestamp lastUpdated1)
          when last updated
 void setLastUpdatedDb(Long lastUpdated1)
          when last updated
 void setLoggedInMemberId(String loggedInMemberUuid)
          member uuid of the user logged in to grouper ui or ws etc
 void setQueryCount(int queryCount)
          number of queries (count be db or otherwise)
 void setServerHost(String serverHost1)
          host of the server that executed the transaction
 void setServerUserName(String serverUserName1)
          Username of the OS user running the API.
 void setString01(String string01a)
          misc field 1
 void setString02(String string02a)
          misc field 2
 void setString03(String string03a)
          misc field 3
 void setString04(String string04a)
          misc field 4
 void setString05(String string05a)
          misc field 5
 void setString06(String string06a)
          misc field 6
 void setString07(String string07a)
          misc field 7
 void setString08(String string08a)
          misc field 8
 void setUserIpAddress(String userIpAddress1)
          ip address of user (from WS or UI etc)
 String toString()
           
 String toStringDeep()
          the string repre
 String toStringReport(boolean extended)
           
 void truncate()
          make sure this object will fit in the DB
 void xmlCopyBusinessPropertiesToExisting(AuditEntry existingRecord)
          copy business (non update) properties to an existing record
 boolean xmlDifferentBusinessProperties(AuditEntry other)
          see if the non update cols are different (e.g.
 boolean xmlDifferentUpdateProperties(AuditEntry other)
          see if the update cols are different (e.g.
 String xmlGetId()
          set id key in db
 XmlImportable<AuditEntry> xmlRetrieveByIdOrKey()
          retrieve from db by id or key.
 AuditEntry xmlSaveBusinessProperties(AuditEntry existingRecord)
          save the business properties (not update properties)
 void xmlSaveUpdateProperties()
          save the udpate properties (e.g.
 void xmlSetId(String theId)
          set id key in db
 XmlExportAuditEntry xmlToExportAuditEntry(GrouperVersion grouperVersion)
          convert to xml bean for export
 String xmlToString()
          convert to string for log
 
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onSave, onUpdate, setHibernateVersionNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIELD_ACT_AS_MEMBER_ID

public static final String FIELD_ACT_AS_MEMBER_ID
constant for field name for: actAsMemberId

See Also:
Constant Field Values

FIELD_AUDIT_TYPE_ID

public static final String FIELD_AUDIT_TYPE_ID
constant for field name for: auditTypeId

See Also:
Constant Field Values

FIELD_CONTEXT_ID

public static final String FIELD_CONTEXT_ID
constant for field name for: contextId

See Also:
Constant Field Values

FIELD_CREATED_ON_DB

public static final String FIELD_CREATED_ON_DB
constant for field name for: createdOnDb

See Also:
Constant Field Values

FIELD_DESCRIPTION

public static final String FIELD_DESCRIPTION
constant for field name for: description

See Also:
Constant Field Values

FIELD_DURATION_MICROSECONDS

public static final String FIELD_DURATION_MICROSECONDS
constant for field name for: durationMicroseconds

See Also:
Constant Field Values

FIELD_ENV_NAME

public static final String FIELD_ENV_NAME
constant for field name for: envName

See Also:
Constant Field Values

FIELD_GROUPER_ENGINE

public static final String FIELD_GROUPER_ENGINE
constant for field name for: grouperEngine

See Also:
Constant Field Values

FIELD_GROUPER_VERSION

public static final String FIELD_GROUPER_VERSION
constant for field name for: grouperVersion

See Also:
Constant Field Values

FIELD_ID

public static final String FIELD_ID
constant for field name for: id

See Also:
Constant Field Values

FIELD_INT01

public static final String FIELD_INT01
constant for field name for: int01

See Also:
Constant Field Values

FIELD_INT02

public static final String FIELD_INT02
constant for field name for: int02

See Also:
Constant Field Values

FIELD_INT03

public static final String FIELD_INT03
constant for field name for: int03

See Also:
Constant Field Values

FIELD_INT04

public static final String FIELD_INT04
constant for field name for: int04

See Also:
Constant Field Values

FIELD_INT05

public static final String FIELD_INT05
constant for field name for: int05

See Also:
Constant Field Values

FIELD_LAST_UPDATED_DB

public static final String FIELD_LAST_UPDATED_DB
constant for field name for: lastUpdatedDb

See Also:
Constant Field Values

FIELD_LOGGED_IN_MEMBER_ID

public static final String FIELD_LOGGED_IN_MEMBER_ID
constant for field name for: loggedInMemberId

See Also:
Constant Field Values

FIELD_QUERY_COUNT

public static final String FIELD_QUERY_COUNT
constant for field name for: queryCount

See Also:
Constant Field Values

FIELD_SERVER_HOST

public static final String FIELD_SERVER_HOST
constant for field name for: serverHost

See Also:
Constant Field Values

FIELD_SERVER_USER_NAME

public static final String FIELD_SERVER_USER_NAME
constant for field name for: serverUserName

See Also:
Constant Field Values

FIELD_STRING01

public static final String FIELD_STRING01
constant for field name for: string01

See Also:
Constant Field Values

FIELD_STRING02

public static final String FIELD_STRING02
constant for field name for: string02

See Also:
Constant Field Values

FIELD_STRING03

public static final String FIELD_STRING03
constant for field name for: string03

See Also:
Constant Field Values

FIELD_STRING04

public static final String FIELD_STRING04
constant for field name for: string04

See Also:
Constant Field Values

FIELD_STRING05

public static final String FIELD_STRING05
constant for field name for: string05

See Also:
Constant Field Values

FIELD_STRING06

public static final String FIELD_STRING06
constant for field name for: string06

See Also:
Constant Field Values

FIELD_STRING07

public static final String FIELD_STRING07
constant for field name for: string07

See Also:
Constant Field Values

FIELD_STRING08

public static final String FIELD_STRING08
constant for field name for: string08

See Also:
Constant Field Values

FIELD_USER_IP_ADDRESS

public static final String FIELD_USER_IP_ADDRESS
constant for field name for: userIpAddress

See Also:
Constant Field Values

TABLE_GROUPER_AUDIT_ENTRY

public static final String TABLE_GROUPER_AUDIT_ENTRY
name of the grouper audit entry table in the db

See Also:
Constant Field Values
Constructor Detail

AuditEntry

public AuditEntry()
construct


AuditEntry

public AuditEntry(AuditTypeIdentifier auditTypeIdentifier,
                  String... labelNamesAndValues)
construct, assign an id

Parameters:
auditTypeIdentifier - points to audit type
labelNamesAndValues - alternate label name and value
Method Detail

equalsDeep

public boolean equalsDeep(AuditEntry auditEntry)
see if one audit type is the same as another (not looking at last update, id, etc)

Parameters:
auditEntry -
Returns:
true if equals, false if not

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

getAuditType

public AuditType getAuditType()
get the audit type, it better be there

Returns:
the audit type

toStringReport

public String toStringReport(boolean extended)
Parameters:
extended - if all fields should be printed
Returns:
the report

saveOrUpdate

public void saveOrUpdate(boolean copyContextData)
save or update this object

Parameters:
copyContextData -

assignStringValue

public void assignStringValue(AuditType auditType,
                              String label,
                              String value)
Parameters:
auditType -
label -
value -

assignIntValue

public void assignIntValue(AuditType auditType,
                           String label,
                           Long value)
Parameters:
auditType -
label -
value -

getAuditTypeId

public String getAuditTypeId()
foreign key to the type of audit entry this is

Returns:
the audit type id

setAuditTypeId

public void setAuditTypeId(String auditTypeId1)
foreign key to the type of audit entry this is

Parameters:
auditTypeId1 -

getId

public String getId()
primary key uuid of this record

Returns:
the id

setId

public void setId(String id1)
primary key uuid of this record

Parameters:
id1 -

getActAsMemberId

public String getActAsMemberId()
member uuid of the user being acted as

Returns:
uuid

getContextId

public String getContextId()
context id ties multiple db changes

Returns:
id

getLoggedInMemberId

public String getLoggedInMemberId()
member uuid of the user logged in to grouper ui or ws etc

Returns:
uuid

getServerHost

public String getServerHost()
host of the server that executed the transaction

Returns:
host

getUserIpAddress

public String getUserIpAddress()
ip address of user (from WS or UI etc)

Returns:
user ip address

setActAsMemberId

public void setActAsMemberId(String actAsMemberUuid1)
member uuid of the user being acted as

Parameters:
actAsMemberUuid1 -

setContextId

public void setContextId(String contextId1)
context id ties multiple db changes

Parameters:
contextId1 -

setLoggedInMemberId

public void setLoggedInMemberId(String loggedInMemberUuid)
member uuid of the user logged in to grouper ui or ws etc

Parameters:
loggedInMemberUuid -

setServerHost

public void setServerHost(String serverHost1)
host of the server that executed the transaction

Parameters:
serverHost1 -

setUserIpAddress

public void setUserIpAddress(String userIpAddress1)
ip address of user (from WS or UI etc)

Parameters:
userIpAddress1 -

getEnvName

public String getEnvName()
env label from grouper.properties

Returns:
env label

setEnvName

public void setEnvName(String envLabel1)
env label from grouper.properties

Parameters:
envLabel1 -

getGrouperEngine

public String getGrouperEngine()
WS, UI, loader, GSH, etc

Returns:
grouper system

setGrouperEngine

public void setGrouperEngine(String grouperSystem1)
WS, UI, loader, GSH, etc

Parameters:
grouperSystem1 -

getString01

public String getString01()
misc field 1

Returns:
field

setString01

public void setString01(String string01a)
misc field 1

Parameters:
string01a -

getString02

public String getString02()
misc field 2

Returns:
field

setString02

public void setString02(String string02a)
misc field 2

Parameters:
string02a -

getString03

public String getString03()
misc field 3

Returns:
field

setString03

public void setString03(String string03a)
misc field 3

Parameters:
string03a -

getString04

public String getString04()
misc field 4

Returns:
field

setString04

public void setString04(String string04a)
misc field 4

Parameters:
string04a -

getString05

public String getString05()
misc field 5

Returns:
field

setString05

public void setString05(String string05a)
misc field 5

Parameters:
string05a -

getString06

public String getString06()
misc field 6

Returns:
field

setString06

public void setString06(String string06a)
misc field 6

Parameters:
string06a -

getString07

public String getString07()
misc field 7

Returns:
field

setString07

public void setString07(String string07a)
misc field 7

Parameters:
string07a -

getString08

public String getString08()
misc field 8

Returns:
field

setString08

public void setString08(String string08a)
misc field 8

Parameters:
string08a -

getInt01

public Long getInt01()
misc integer field 1

Returns:
field

setInt01

public void setInt01(Long int01a)
misc integer field 1

Parameters:
int01a -

getInt02

public Long getInt02()
misc integer field 2

Returns:
field

setInt02

public void setInt02(Long int02a)
misc integer field 2

Parameters:
int02a -

getInt03

public Long getInt03()
misc integer field 3

Returns:
field

setInt03

public void setInt03(Long int03a)
misc integer field 3

Parameters:
int03a -

getInt04

public Long getInt04()
misc integer field 4

Returns:
field

setInt04

public void setInt04(Long int04a)
misc integer field 4

Parameters:
int04a -

getInt05

public Long getInt05()
misc integer field 5

Returns:
field

setInt05

public void setInt05(Long int05a)
misc integer field 5

Parameters:
int05a -

getDescription

public String getDescription()
description of what happened in paragraph form

Returns:
description

setDescription

public void setDescription(String description1)
description of what happened in paragraph form

Parameters:
description1 -

getCreatedOn

public Timestamp getCreatedOn()
when created

Returns:
timestamp

getLastUpdated

public Timestamp getLastUpdated()
when last updated

Returns:
timestamp

getCreatedOnDb

public Long getCreatedOnDb()
when created

Returns:
timestamp

getLastUpdatedDb

public Long getLastUpdatedDb()
when last updated

Returns:
timestamp

setCreatedOn

public void setCreatedOn(Timestamp createdOn1)
when created

Parameters:
createdOn1 -

setLastUpdated

public void setLastUpdated(Timestamp lastUpdated1)
when last updated

Parameters:
lastUpdated1 -

truncate

public void truncate()
make sure this object will fit in the DB


getGrouperVersion

public String getGrouperVersion()
version of the grouper API, e.g. 1.4.0

Returns:
version

setGrouperVersion

public void setGrouperVersion(String grouperVersion1)
version of the grouper API, e.g. 1.4.0

Parameters:
grouperVersion1 -

clone

public GrouperAPI clone()
Description copied from class: GrouperAPI
deep clone the fields in this object

Specified by:
clone in interface GrouperCloneable
Specified by:
clone in class GrouperAPI
Returns:
the clone of the object
See Also:
GrouperAPI.clone()

getDurationMicroseconds

public long getDurationMicroseconds()
number of nanos that the duration of the context took

Returns:
duration nanos

setDurationMicroseconds

public void setDurationMicroseconds(long durationMicroseconds1)
number of nanos that the duration of the context took

Parameters:
durationMicroseconds1 -

onPreSave

public void onPreSave(HibernateSession hibernateSession)
Description copied from interface: HibGrouperLifecycle
before a save (insert) occurs

Specified by:
onPreSave in interface HibGrouperLifecycle
Overrides:
onPreSave in class GrouperAPI
See Also:
GrouperAPI.onPreSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)

onPreUpdate

public void onPreUpdate(HibernateSession hibernateSession)
Description copied from interface: HibGrouperLifecycle
before an update occurs

Specified by:
onPreUpdate in interface HibGrouperLifecycle
Overrides:
onPreUpdate in class GrouperAPI
See Also:
GrouperAPI.onPreUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)

getQueryCount

public int getQueryCount()
number of queries (count be db or otherwise)

Returns:
query count

setQueryCount

public void setQueryCount(int queryCount)
number of queries (count be db or otherwise)

Parameters:
queryCount -

getServerUserName

public String getServerUserName()
Username of the OS user running the API. This might identify who ran a GSH call

Returns:
server user name

setServerUserName

public void setServerUserName(String serverUserName1)
Username of the OS user running the API. This might identify who ran a GSH call

Parameters:
serverUserName1 -

setCreatedOnDb

public void setCreatedOnDb(Long createdOn1)
when created

Parameters:
createdOn1 -

setLastUpdatedDb

public void setLastUpdatedDb(Long lastUpdated1)
when last updated

Parameters:
lastUpdated1 -

toStringDeep

public String toStringDeep()
the string repre

Returns:
string

xmlRetrieveByIdOrKey

public XmlImportable<AuditEntry> xmlRetrieveByIdOrKey()
Description copied from interface: XmlImportable
retrieve from db by id or key. throws exception if duplicate

Specified by:
xmlRetrieveByIdOrKey in interface XmlImportable<AuditEntry>
Returns:
the object or null if not found
See Also:
XmlImportable.xmlRetrieveByIdOrKey()

xmlCopyBusinessPropertiesToExisting

public void xmlCopyBusinessPropertiesToExisting(AuditEntry existingRecord)
Description copied from interface: XmlImportableBase
copy business (non update) properties to an existing record

Specified by:
xmlCopyBusinessPropertiesToExisting in interface XmlImportableBase<AuditEntry>
See Also:
XmlImportableBase.xmlCopyBusinessPropertiesToExisting(java.lang.Object)

xmlDifferentBusinessProperties

public boolean xmlDifferentBusinessProperties(AuditEntry other)
Description copied from interface: XmlImportableBase
see if the non update cols are different (e.g. name)

Specified by:
xmlDifferentBusinessProperties in interface XmlImportableBase<AuditEntry>
Parameters:
other - the one to compare with
Returns:
true if so
See Also:
XmlImportableBase.xmlDifferentBusinessProperties(java.lang.Object)

xmlDifferentUpdateProperties

public boolean xmlDifferentUpdateProperties(AuditEntry other)
Description copied from interface: XmlImportableBase
see if the update cols are different (e.g. last updated)

Specified by:
xmlDifferentUpdateProperties in interface XmlImportableBase<AuditEntry>
Parameters:
other - the one to compare with
Returns:
true if so
See Also:
XmlImportableBase.xmlDifferentUpdateProperties(java.lang.Object)

xmlGetId

public String xmlGetId()
Description copied from interface: XmlImportableBase
set id key in db

Specified by:
xmlGetId in interface XmlImportableBase<AuditEntry>
Returns:
id
See Also:
XmlImportableBase.xmlGetId()

xmlSaveBusinessProperties

public AuditEntry xmlSaveBusinessProperties(AuditEntry existingRecord)
Description copied from interface: XmlImportableBase
save the business properties (not update properties)

Specified by:
xmlSaveBusinessProperties in interface XmlImportableBase<AuditEntry>
Parameters:
existingRecord - null if insert, the object if exists in DB generally just copy the hibernate version number, and last updated to the object and store it
Returns:
the new object or existing
See Also:
XmlImportableBase.xmlSaveBusinessProperties(java.lang.Object)

xmlSaveUpdateProperties

public void xmlSaveUpdateProperties()
Description copied from interface: XmlImportableBase
save the udpate properties (e.g. last updated). Note, this is done with a sql update statement, not with hibernate

Specified by:
xmlSaveUpdateProperties in interface XmlImportableBase<AuditEntry>
See Also:
XmlImportableBase.xmlSaveUpdateProperties()

xmlSetId

public void xmlSetId(String theId)
Description copied from interface: XmlImportableBase
set id key in db

Specified by:
xmlSetId in interface XmlImportableBase<AuditEntry>
See Also:
XmlImportableBase.xmlSetId(java.lang.String)

xmlToExportAuditEntry

public XmlExportAuditEntry xmlToExportAuditEntry(GrouperVersion grouperVersion)
convert to xml bean for export

Parameters:
grouperVersion -
Returns:
xml bean

retrieveStringValue

public String retrieveStringValue(String label)
get a string value from name value pairs

Parameters:
label -
Returns:
value

retrieveStringValue

public String retrieveStringValue(AuditType auditType,
                                  String label)
get a string value from name value pairs

Parameters:
auditType -
label -
Returns:
value

xmlToString

public String xmlToString()
Description copied from interface: XmlImportableBase
convert to string for log

Specified by:
xmlToString in interface XmlImportableBase<AuditEntry>
Returns:
the string value for log
See Also:
XmlImportableBase.xmlToString()