Class XmlExportAuditType
java.lang.Object
edu.internet2.middleware.grouper.xml.export.XmlExportAuditType
type of audit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longdbCount()get db countstatic voidexportAuditTypes(Writer writer, XmlExportMain xmlExportMain) static XmlExportAuditTypefromXml(GrouperVersion exportVersion, com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader) take a reader (e.g. dom reader) and convert to an xml export audit typestatic XmlExportAuditTypefromXml(GrouperVersion exportVersion, String xml) action within the audit categorycategory of auditcontext id ties multiple db changeswhen createdlonghibernateVersionNumbergetId()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 voidprocessXmlFirstPass(XmlImportMain xmlImportMain) parse the xml file for groupsstatic voidprocessXmlSecondPass(XmlImportMain xmlImportMain) parse the xml file for groupsvoidsetActionName(String actionName) action within the audit categoryvoidsetAuditCategory(String auditType1) category of auditvoidsetContextId(String contextId1) context id ties multiple db changesvoidsetCreatedOn(String createdOn1) when createdvoidsetHibernateVersionNumber(long hibernateVersionNumber1) hibernateVersionNumbervoiduuid of rowvoidsetLabelInt01(String labelInt01a) label for int01voidsetLabelInt02(String labelInt02a) label for int02voidsetLabelInt03(String labelInt03a) label for int03voidsetLabelInt04(String labelInt04a) label for int04voidsetLabelInt05(String labelInt05) label for int05voidsetLabelString01(String labelString01a) label for string01voidsetLabelString02(String labelString02a) label for string02voidsetLabelString03(String labelString03a) label for string03voidsetLabelString04(String labelString04a) label for string04voidsetLabelString05(String labelString05a) label for string05voidsetLabelString06(String labelString06a) label for the string06 fieldvoidsetLabelString07(String labelString07a) label for the string07 fieldvoidsetLabelString08(String labelString08a) label for the string08 fieldvoidsetLastUpdated(String lastUpdated1) when last updatedconvert to audit typetoXml(GrouperVersion exportVersion) voidtoXml(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-
-