Deprecated Methods |
org.apache.lenya.xml.DOMUtil.addElement(Document, String, String)
See replacement code. |
org.apache.lenya.cms.rc.RevisionController.canCheckOut(String, String)
please use canCheckOut(Document, String)
Checks if a source can be checked out. |
org.apache.lenya.net.InetAddressUtil.checkNetmask(InetAddress)
This was an internal implementation detail of the
method InetAddressUtil.contains(java.net.InetAddress, java.net.InetAddress, java.net.InetAddress) and should never have been
made public. Furthermore it's broken for IPv6.
(However, there is no real replacement. If you
need this functionality, you should rewrite it
yourself.) |
org.apache.lenya.xml.DOMUtil.create(String)
Use DocumentHelper.readDocument(java.lang.String) instead. |
org.apache.lenya.xml.DOMUtil.createNode(Document, XPath)
See replacement code. |
org.apache.lenya.cms.rc.RevisionController.deleteRCML(String)
please use deleteRCML(Document)
delete the rcml file |
org.apache.lenya.cms.rc.RevisionController.deleteRevisions(String)
please use deleteRevisions(Document)
delete the revisions |
org.apache.lenya.xml.DOMUtil.elementExists(Element, XPath)
See replacement code. |
org.apache.lenya.cms.publication.SiteTreeNodeImpl.getAbsoluteParentId()
use getParent().getAbsoluteId() instead |
org.apache.lenya.ac.Machine.getAddress(String)
This method is unnecessary and does not work for IPv6.
Use InetAddress.getByName(string) instead! |
org.apache.lenya.net.InetAddressUtil.getAddress(String)
This was an internal implementation detail of the
method InetAddressUtil.contains(java.net.InetAddress, java.net.InetAddress, java.net.InetAddress) and should never have been
made public. (And it's unnecessary
too, as well as broken for IPv6. ;-)
Use InetAddress.getByName(string)
instead. |
org.apache.lenya.xml.DOMUtil.getAllElements(Document, XPath)
Use
XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)
instead. |
org.apache.lenya.xml.DOMUtil.getAttributeValue(Element, XPath)
See replacement code. |
org.apache.lenya.cms.rc.RevisionController.getBackupFile(long, String)
getBackupFile(long, Document)
Get the file of a backup version |
org.apache.lenya.cms.authoring.DefaultCreator.getChildFileName(Publication, String, String, String, String)
because it implies not to use the DocumentIdToPathMapper
Get the file name of the child |
org.apache.lenya.net.InetAddressUtil.getClassPart(InetAddress, int)
This was an internal implementation detail of the
method InetAddressUtil.contains(java.net.InetAddress, java.net.InetAddress, java.net.InetAddress) and should never have been
made public. (And it's inefficient and unnecessary
too, as well as broken for IPv6. ;-)
Use ip.getAddress()[partNumber]
instead. |
org.apache.lenya.lucene.html.SimpleCharStream.getColumn()
|
org.apache.lenya.cms.publication.DublinCore.getCreator()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.getDateCreated()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.getDateIssued()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.getDescription()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.DefaultDocumentIdToPathMapper.getDirectory(Publication, String, String)
because language is missing
(non-Javadoc) |
org.apache.lenya.cms.publication.DocumentIdToPathMapper.getDirectory(Publication, String, String)
replaced by getDirectory with access to the language
Compute the document-path for a given publication, area and
document-id. As there are possibly multiple files for the same
document-id (for different languages) the return value is a directory. |
org.apache.lenya.cms.publication.IdentityDocumentIdToPathMapper.getDirectory(Publication, String, String)
because language is missing
(non-Javadoc) |
org.apache.lenya.xml.DOMUtil.getElement(Element, XPath)
Use
XPathAPI.selectSingleNode(org.w3c.dom.Node, java.lang.String)
instead. |
org.apache.lenya.xml.DOMUtil.getElementValue(Document, XPath)
Use instead. |
org.apache.lenya.xml.DOMUtil.getElementValue(Element)
See replacement code. |
org.apache.lenya.xml.DOMUtil.getElementValue(Element, XPath)
Use instead. |
org.apache.lenya.cms.publication.AbstractPublication.getEnvironment()
It is planned to decouple the environments from the publication. |
org.apache.lenya.cms.publication.Publication.getEnvironment()
It is planned to decouple the environments from the publication. |
org.apache.lenya.cms.cocoon.acting.RevisionControllerAction.getFilename()
getDocument()
Get the filename. |
org.apache.lenya.ac.impl.AbstractUser.getFullName()
has been superceded by getName() |
org.apache.lenya.cms.publication.SiteTreeNode.getHref()
use the href attribute of the label instead |
org.apache.lenya.cms.publication.DublinCore.getIdentifier()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.getIsReferencedBy()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.lucene.html.SimpleCharStream.getLine()
|
org.apache.lenya.cms.publication.DefaultDocument.getNodeId()
replaced by getName() |
org.apache.lenya.cms.publication.SiteTreeNodeImpl.getParentId()
use getParent().getId() instead |
org.apache.lenya.cms.publication.DublinCore.getPublisher()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.PageEnvelope.getRCEnvironment()
We should detach the RC environment from the page envelope. |
org.apache.lenya.cms.rc.RevisionController.getRCML(String)
please use getRCML(Document doc)
Get the RCML File for the file source |
org.apache.lenya.cms.publication.DublinCore.getRights()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.AbstractPublication.getSiteTree(String)
Please use getTree() because this method returns the interface and not a specific implementation |
org.apache.lenya.cms.publication.Publication.getSiteTree(String)
Please use getTree() because this method returns the interface and not a specific implementation |
org.apache.lenya.cms.publication.DublinCore.getSubject()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.getTitle()
Use DublinCore.getValues(java.lang.String) or DublinCore.getFirstValue(java.lang.String) instead. |
org.apache.lenya.cms.publication.SiteTree.importSubtree(SiteTreeNode, SiteTreeNode, String, String)
Use copy, move instead. |
org.apache.lenya.ac.impl.AbstractIPRange.isValidSubnet(InetAddress, InetAddress)
This method is currently not implemented, probably not necessary.and could be
removed in the future. Therefore it should not be used. |
org.apache.lenya.ac.file.FileIPRange.main(String[])
This should bemoved to a JUnit test. |
org.apache.lenya.cms.publication.SiteTreeNode.removeChildren()
Use deleteChildren() instead |
org.apache.lenya.cms.publication.SiteTree.removeNode(String)
Use deleteNode() instead |
org.apache.lenya.cms.rc.RevisionController.reservedCheckIn(String, String, boolean)
please use reservedCheckIn(Document, String, boolean)
Try to make a reserved check in of the file destination for a user with identity. A backup
copy can be made. |
org.apache.lenya.cms.rc.RevisionController.reservedCheckOut(String, String)
reservedCheckOut(Document, String)
Try to make a reserved check out of the file source for a user with identity |
org.apache.lenya.cms.rc.RevisionController.rollback(String, String, boolean, long)
please use rollback(Document, String, boolean, long)
Rolls back to the given point in time. |
org.apache.lenya.xml.DOMUtil.select(Document, String)
Use
XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)
instead. |
org.apache.lenya.xml.DOMUtil.setAttributeValue(Document, String, String)
See replacement code. |
org.apache.lenya.cms.publication.DublinCore.setCreator(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setDateCreated(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setDateIssued(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setDescription(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.xml.DOMUtil.setElementValue(Document, String, String)
See replacement code. |
org.apache.lenya.ac.impl.AbstractUser.setFullName(String)
has been superceded by setName(String) |
org.apache.lenya.cms.publication.DublinCore.setIdentifier(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setIsReferencedBy(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setPublisher(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setRights(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setSubject(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |
org.apache.lenya.cms.publication.DublinCore.setTitle(String)
Use DublinCore.addValue(java.lang.String, java.lang.String) or DublinCore.setValue(java.lang.String, java.lang.String) instead. |