Class XmlExportAttributeDefScope
java.lang.Object
edu.internet2.middleware.grouper.xml.export.XmlExportAttributeDefScope
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
dbCount
(XmlExportMain xmlExportMain) get db countstatic void
exportAttributeDefScopes
(Writer writer, XmlExportMain xmlExportMain) static void
exportAttributeDefScopesGsh
(Writer writer, XmlExportMain xmlExportMain) static XmlExportAttributeDefScope
fromXml
(GrouperVersion exportVersion, com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader) take a reader (e.g.static XmlExportAttributeDefScope
fromXml
(GrouperVersion exportVersion, String xml) attributeDefIdattributeDefScopeTypecontextIdcreateTimelong
hibernateVersionNumbermodifierTimescopeStringscopeString2getUuid()
uuidstatic void
processXmlFirstPass
(XmlImportMain xmlImportMain) parse the xml file for attributeDefScopesstatic void
processXmlSecondPass
(XmlImportMain xmlImportMain) parse the xml file for groupsvoid
setAttributeDefId
(String attributeDefId1) attributeDefIdvoid
setAttributeDefScopeType
(String attributeDefScopeType1) attributeDefScopeTypevoid
setContextId
(String contextId1) contextIdvoid
setCreateTime
(String createTime1) createTimevoid
setHibernateVersionNumber
(long hibernateVersionNumber1) hibernateVersionNumbervoid
setModifierTime
(String modifierTime1) modifierTimevoid
setScopeString
(String scopeString1) scopeStringvoid
setScopeString2
(String _scopeString2) scopeString2void
uuidconvert to attributeDefNameSetvoid
toGsh
(GrouperVersion exportVersion, Writer writer, String nameOfAttributeDef) toXml
(GrouperVersion exportVersion) void
toXml
(GrouperVersion exportVersion, Writer writer)
-
Constructor Details
-
XmlExportAttributeDefScope
public XmlExportAttributeDefScope()
-
-
Method Details
-
getAttributeDefScopeType
attributeDefScopeType- Returns:
- attributeDefScopeType
-
setAttributeDefScopeType
attributeDefScopeType- Parameters:
attributeDefScopeType1
-
-
getScopeString
scopeString- Returns:
- scopeString
-
setScopeString
scopeString- Parameters:
scopeString1
-
-
getScopeString2
scopeString2- Returns:
- scopeString2
-
setScopeString2
scopeString2- Parameters:
_scopeString2
-
-
getAttributeDefId
attributeDefId- Returns:
- attributeDefId
-
setAttributeDefId
attributeDefId- Parameters:
attributeDefId1
-
-
getUuid
uuid- Returns:
- uuid
-
setUuid
uuid- Parameters:
uuid1
-
-
getCreateTime
createTime- Returns:
- createTime
-
setCreateTime
createTime- Parameters:
createTime1
-
-
getModifierTime
modifierTime- Returns:
- modifierTime
-
setModifierTime
modifierTime- Parameters:
modifierTime1
-
-
getHibernateVersionNumber
public long getHibernateVersionNumber()hibernateVersionNumber- Returns:
- hibernateVersionNumber
-
setHibernateVersionNumber
public void setHibernateVersionNumber(long hibernateVersionNumber1) hibernateVersionNumber- Parameters:
hibernateVersionNumber1
-
-
getContextId
contextId- Returns:
- contextId
-
setContextId
contextId- Parameters:
contextId1
-
-
toAttributeDefScope
convert to attributeDefNameSet- Returns:
- the attributeDefNameSet
-
toXml
- Parameters:
exportVersion
-- Returns:
- the xml string
-
toXml
- Parameters:
exportVersion
-writer
-
-
processXmlSecondPass
parse the xml file for groups- Parameters:
xmlImportMain
-
-
dbCount
get db count- Parameters:
xmlExportMain
-- Returns:
- db count
-
exportAttributeDefScopes
- Parameters:
writer
-xmlExportMain
-
-
exportAttributeDefScopesGsh
- Parameters:
writer
-xmlExportMain
-
-
toGsh
public void toGsh(GrouperVersion exportVersion, Writer writer, String nameOfAttributeDef) throws IOException - Parameters:
exportVersion
-writer
-nameOfAttributeDef
-- Throws:
IOException
-
fromXml
public static XmlExportAttributeDefScope fromXml(GrouperVersion exportVersion, com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader) take a reader (e.g. dom reader) and convert to an xml export group- Parameters:
exportVersion
-hierarchicalStreamReader
-- Returns:
- the bean
-
fromXml
- Parameters:
exportVersion
-xml
-- Returns:
- the object from xml
-
processXmlFirstPass
parse the xml file for attributeDefScopes- Parameters:
xmlImportMain
-
-