|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.setup.xml.A_CmsSetupXmlUpdate
org.opencms.setup.xml.CmsXmlUpdateDefaultProperties
public class CmsXmlUpdateDefaultProperties
Update the default properties, from 6.2.3 to 7.
Constructor Summary | |
---|---|
CmsXmlUpdateDefaultProperties()
|
Method Summary | |
---|---|
protected boolean |
executeUpdate(org.dom4j.Document document,
java.lang.String xpath)
Executes the adding/updating changes on the given document. |
protected java.lang.String |
getCommonPath()
Returns a parent path that is common for all nodes to modify. |
protected java.util.List |
getKeys()
Returns a list of keys for creating the new nodes. |
java.lang.String |
getName()
Returns the nice name for the change. |
java.lang.String |
getXmlFilename()
Returns the affected xml configuration file name. |
protected java.util.List |
getXPathsToRemove()
Returns a list of xpaths for the nodes to remove. |
protected java.util.List |
getXPathsToUpdate()
Returns a list of xpaths for the nodes to add/update. |
Methods inherited from class org.opencms.setup.xml.A_CmsSetupXmlUpdate |
---|
execute, getCodeToChange, prepareDoc, updateDoc, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsXmlUpdateDefaultProperties()
Method Detail |
---|
public java.lang.String getName()
I_CmsSetupXmlUpdate
I_CmsSetupXmlUpdate.getName()
public java.lang.String getXmlFilename()
I_CmsSetupXmlUpdate
I_CmsSetupXmlUpdate.getXmlFilename()
protected boolean executeUpdate(org.dom4j.Document document, java.lang.String xpath)
A_CmsSetupXmlUpdate
Only needs to be overriden if A_CmsSetupXmlUpdate.getXPathsToUpdate()
is not empty.
executeUpdate
in class A_CmsSetupXmlUpdate
document
- the document to apply the changes toxpath
- the xpath to execute the changes for
A_CmsSetupXmlUpdate.executeUpdate(org.dom4j.Document, java.lang.String)
protected java.lang.String getCommonPath()
A_CmsSetupXmlUpdate
getCommonPath
in class A_CmsSetupXmlUpdate
A_CmsSetupXmlUpdate.getCommonPath()
protected java.util.List getKeys()
protected java.util.List getXPathsToRemove()
A_CmsSetupXmlUpdate
getXPathsToRemove
in class A_CmsSetupXmlUpdate
A_CmsSetupXmlUpdate.getXPathsToRemove()
protected java.util.List getXPathsToUpdate()
A_CmsSetupXmlUpdate
getXPathsToUpdate
in class A_CmsSetupXmlUpdate
A_CmsSetupXmlUpdate.getXPathsToUpdate()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |