edu.internet2.middleware.grouper.xml.export
Class XmlExportAuditType

java.lang.Object
  extended by edu.internet2.middleware.grouper.xml.export.XmlExportAuditType

public class XmlExportAuditType
extends Object

type of audit


Constructor Summary
XmlExportAuditType()
           
 
Method Summary
static long dbCount()
          get db count
static 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)
           
 String getActionName()
          action within the audit category
 String getAuditCategory()
          category of audit
 String getContextId()
          context id ties multiple db changes
 String getCreatedOn()
          when created
 long getHibernateVersionNumber()
          hibernateVersionNumber
 String getId()
          uuid of row
 String getLabelInt01()
          label for int01
 String getLabelInt02()
          label for int02
 String getLabelInt03()
          label for int03
 String getLabelInt04()
          label for int04
 String getLabelInt05()
          label for int05
 String getLabelString01()
          label for string01
 String getLabelString02()
          label for string02
 String getLabelString03()
          label for string03
 String getLabelString04()
          label for string04
 String getLabelString05()
          label for string05
 String getLabelString06()
          label for the string06 field
 String getLabelString07()
          label for the string07 field
 String getLabelString08()
          label for the string08 field
 String getLastUpdated()
          when last updated
static void processXmlFirstPass(XmlImportMain xmlImportMain)
          parse the xml file for groups
static void processXmlSecondPass(XmlImportMain xmlImportMain)
          parse the xml file for groups
 void setActionName(String actionName)
          action within the audit category
 void setAuditCategory(String auditType1)
          category of audit
 void setContextId(String contextId1)
          context id ties multiple db changes
 void setCreatedOn(String createdOn1)
          when created
 void setHibernateVersionNumber(long hibernateVersionNumber1)
          hibernateVersionNumber
 void setId(String id1)
          uuid of row
 void setLabelInt01(String labelInt01a)
          label for int01
 void setLabelInt02(String labelInt02a)
          label for int02
 void setLabelInt03(String labelInt03a)
          label for int03
 void setLabelInt04(String labelInt04a)
          label for int04
 void setLabelInt05(String labelInt05)
          label for int05
 void setLabelString01(String labelString01a)
          label for string01
 void setLabelString02(String labelString02a)
          label for string02
 void setLabelString03(String labelString03a)
          label for string03
 void setLabelString04(String labelString04a)
          label for string04
 void setLabelString05(String labelString05a)
          label for string05
 void setLabelString06(String labelString06a)
          label for the string06 field
 void setLabelString07(String labelString07a)
          label for the string07 field
 void setLabelString08(String labelString08a)
          label for the string08 field
 void setLastUpdated(String lastUpdated1)
          when last updated
 AuditType toAuditType()
          convert to audit type
 String toXml(GrouperVersion exportVersion)
           
 void toXml(GrouperVersion exportVersion, Writer writer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlExportAuditType

public XmlExportAuditType()
Method Detail

getId

public String getId()
uuid of row

Returns:
id

setId

public void setId(String id1)
uuid of row

Parameters:
id1 -

getAuditCategory

public String getAuditCategory()
category of audit

Returns:
audit type

setAuditCategory

public void setAuditCategory(String auditType1)
category of audit

Parameters:
auditType1 -

getActionName

public String getActionName()
action within the audit category

Returns:
the action name

setActionName

public void setActionName(String actionName)
action within the audit category

Parameters:
actionName -

getLastUpdated

public String getLastUpdated()
when last updated

Returns:
timestamp

setLastUpdated

public void setLastUpdated(String lastUpdated1)
when last updated

Parameters:
lastUpdated1 -

dbCount

public static long dbCount()
get db count

Returns:
db count

getCreatedOn

public String getCreatedOn()
when created

Returns:
timestamp

setCreatedOn

public void setCreatedOn(String createdOn1)
when created

Parameters:
createdOn1 -

getLabelString01

public String getLabelString01()
label for string01

Returns:
label

setLabelString01

public void setLabelString01(String labelString01a)
label for string01

Parameters:
labelString01a -

getLabelString02

public String getLabelString02()
label for string02

Returns:
label

setLabelString02

public void setLabelString02(String labelString02a)
label for string02

Parameters:
labelString02a -

getLabelString03

public String getLabelString03()
label for string03

Returns:
label

setLabelString03

public void setLabelString03(String labelString03a)
label for string03

Parameters:
labelString03a -

getLabelString04

public String getLabelString04()
label for string04

Returns:
label

setLabelString04

public void setLabelString04(String labelString04a)
label for string04

Parameters:
labelString04a -

getLabelString05

public String getLabelString05()
label for string05

Returns:
label

setLabelString05

public void setLabelString05(String labelString05a)
label for string05

Parameters:
labelString05a -

getContextId

public String getContextId()
context id ties multiple db changes

Returns:
id

setContextId

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

Parameters:
contextId1 -

getLabelInt01

public String getLabelInt01()
label for int01

Returns:
label

setLabelInt01

public void setLabelInt01(String labelInt01a)
label for int01

Parameters:
labelInt01a -

getLabelInt02

public String getLabelInt02()
label for int02

Returns:
label

setLabelInt02

public void setLabelInt02(String labelInt02a)
label for int02

Parameters:
labelInt02a -

getLabelInt03

public String getLabelInt03()
label for int03

Returns:
label

setLabelInt03

public void setLabelInt03(String labelInt03a)
label for int03

Parameters:
labelInt03a -

getLabelInt04

public String getLabelInt04()
label for int04

Returns:
label

setLabelInt04

public void setLabelInt04(String labelInt04a)
label for int04

Parameters:
labelInt04a -

getLabelInt05

public String getLabelInt05()
label for int05

Returns:
label

setLabelInt05

public void setLabelInt05(String labelInt05)
label for int05

Parameters:
labelInt05 -

getLabelString06

public String getLabelString06()
label for the string06 field

Returns:
label

setLabelString06

public void setLabelString06(String labelString06a)
label for the string06 field

Parameters:
labelString06a -

getLabelString07

public String getLabelString07()
label for the string07 field

Returns:
label

setLabelString07

public void setLabelString07(String labelString07a)
label for the string07 field

Parameters:
labelString07a -

getLabelString08

public String getLabelString08()
label for the string08 field

Returns:
label

setLabelString08

public void setLabelString08(String labelString08a)
label for the string08 field

Parameters:
labelString08a -

exportAuditTypes

public static void exportAuditTypes(Writer writer,
                                    XmlExportMain xmlExportMain)
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

public static XmlExportAuditType fromXml(GrouperVersion exportVersion,
                                         String xml)
Parameters:
exportVersion -
xml -
Returns:
the object from xml

processXmlFirstPass

public static void processXmlFirstPass(XmlImportMain xmlImportMain)
parse the xml file for groups

Parameters:
xmlImportMain -

processXmlSecondPass

public static void processXmlSecondPass(XmlImportMain xmlImportMain)
parse the xml file for groups

Parameters:
xmlImportMain -

toAuditType

public AuditType toAuditType()
convert to audit type

Returns:
the audit type

toXml

public String toXml(GrouperVersion exportVersion)
Parameters:
exportVersion -
Returns:
the xml string

toXml

public void toXml(GrouperVersion exportVersion,
                  Writer writer)
Parameters:
exportVersion -
writer -

getHibernateVersionNumber

public long getHibernateVersionNumber()
hibernateVersionNumber

Returns:
hibernateVersionNumber

setHibernateVersionNumber

public void setHibernateVersionNumber(long hibernateVersionNumber1)
hibernateVersionNumber

Parameters:
hibernateVersionNumber1 -