Class XmlExportAuditType
java.lang.Object
edu.internet2.middleware.grouper.xml.export.XmlExportAuditType
type of audit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
dbCount()
get db countstatic void
exportAuditTypes
(Writer writer, XmlExportMain xmlExportMain) static XmlExportAuditType
fromXml
(GrouperVersion exportVersion, com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader) take a reader (e.g.static XmlExportAuditType
fromXml
(GrouperVersion exportVersion, String xml) action within the audit categorycategory of auditcontext id ties multiple db changeswhen createdlong
hibernateVersionNumbergetId()
uuid of rowlabel for int01label for int02label for int03label for int04label for int05label for string01label for string02label for string03label for string04label for string05label for the string06 fieldlabel for the string07 fieldlabel for the string08 fieldwhen last updatedstatic void
processXmlFirstPass
(XmlImportMain xmlImportMain) parse the xml file for groupsstatic void
processXmlSecondPass
(XmlImportMain xmlImportMain) parse the xml file for groupsvoid
setActionName
(String actionName) action within the audit categoryvoid
setAuditCategory
(String auditType1) category of auditvoid
setContextId
(String contextId1) context id ties multiple db changesvoid
setCreatedOn
(String createdOn1) when createdvoid
setHibernateVersionNumber
(long hibernateVersionNumber1) hibernateVersionNumbervoid
uuid of rowvoid
setLabelInt01
(String labelInt01a) label for int01void
setLabelInt02
(String labelInt02a) label for int02void
setLabelInt03
(String labelInt03a) label for int03void
setLabelInt04
(String labelInt04a) label for int04void
setLabelInt05
(String labelInt05) label for int05void
setLabelString01
(String labelString01a) label for string01void
setLabelString02
(String labelString02a) label for string02void
setLabelString03
(String labelString03a) label for string03void
setLabelString04
(String labelString04a) label for string04void
setLabelString05
(String labelString05a) label for string05void
setLabelString06
(String labelString06a) label for the string06 fieldvoid
setLabelString07
(String labelString07a) label for the string07 fieldvoid
setLabelString08
(String labelString08a) label for the string08 fieldvoid
setLastUpdated
(String lastUpdated1) when last updatedconvert to audit typetoXml
(GrouperVersion exportVersion) void
toXml
(GrouperVersion exportVersion, Writer writer)
-
Constructor Details
-
XmlExportAuditType
public XmlExportAuditType()
-
-
Method Details
-
getId
uuid of row- Returns:
- id
-
setId
uuid of row- Parameters:
id1
-
-
getAuditCategory
category of audit- Returns:
- audit type
-
setAuditCategory
category of audit- Parameters:
auditType1
-
-
getActionName
action within the audit category- Returns:
- the action name
-
setActionName
action within the audit category- Parameters:
actionName
-
-
getLastUpdated
when last updated- Returns:
- timestamp
-
setLastUpdated
when last updated- Parameters:
lastUpdated1
-
-
dbCount
public static long dbCount()get db count- Returns:
- db count
-
getCreatedOn
when created- Returns:
- timestamp
-
setCreatedOn
when created- Parameters:
createdOn1
-
-
getLabelString01
label for string01- Returns:
- label
-
setLabelString01
label for string01- Parameters:
labelString01a
-
-
getLabelString02
label for string02- Returns:
- label
-
setLabelString02
label for string02- Parameters:
labelString02a
-
-
getLabelString03
label for string03- Returns:
- label
-
setLabelString03
label for string03- Parameters:
labelString03a
-
-
getLabelString04
label for string04- Returns:
- label
-
setLabelString04
label for string04- Parameters:
labelString04a
-
-
getLabelString05
label for string05- Returns:
- label
-
setLabelString05
label for string05- Parameters:
labelString05a
-
-
getContextId
context id ties multiple db changes- Returns:
- id
-
setContextId
context id ties multiple db changes- Parameters:
contextId1
-
-
getLabelInt01
label for int01- Returns:
- label
-
setLabelInt01
label for int01- Parameters:
labelInt01a
-
-
getLabelInt02
label for int02- Returns:
- label
-
setLabelInt02
label for int02- Parameters:
labelInt02a
-
-
getLabelInt03
label for int03- Returns:
- label
-
setLabelInt03
label for int03- Parameters:
labelInt03a
-
-
getLabelInt04
label for int04- Returns:
- label
-
setLabelInt04
label for int04- Parameters:
labelInt04a
-
-
getLabelInt05
label for int05- Returns:
- label
-
setLabelInt05
label for int05- Parameters:
labelInt05
-
-
getLabelString06
label for the string06 field- Returns:
- label
-
setLabelString06
label for the string06 field- Parameters:
labelString06a
-
-
getLabelString07
label for the string07 field- Returns:
- label
-
setLabelString07
label for the string07 field- Parameters:
labelString07a
-
-
getLabelString08
label for the string08 field- Returns:
- label
-
setLabelString08
label for the string08 field- Parameters:
labelString08a
-
-
exportAuditTypes
- Parameters:
writer
-xmlExportMain
-
-
fromXml
public static XmlExportAuditType fromXml(GrouperVersion exportVersion, com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader) take a reader (e.g. dom reader) and convert to an xml export audit type- Parameters:
exportVersion
-hierarchicalStreamReader
-- Returns:
- the bean
-
fromXml
- Parameters:
exportVersion
-xml
-- Returns:
- the object from xml
-
processXmlFirstPass
parse the xml file for groups- Parameters:
xmlImportMain
-
-
processXmlSecondPass
parse the xml file for groups- Parameters:
xmlImportMain
-
-
toAuditType
convert to audit type- Returns:
- the audit type
-
toXml
- Parameters:
exportVersion
-- Returns:
- the xml string
-
toXml
- Parameters:
exportVersion
-writer
-
-
getHibernateVersionNumber
public long getHibernateVersionNumber()hibernateVersionNumber- Returns:
- hibernateVersionNumber
-
setHibernateVersionNumber
public void setHibernateVersionNumber(long hibernateVersionNumber1) hibernateVersionNumber- Parameters:
hibernateVersionNumber1
-
-