Class JCRFile
- java.lang.Object
 - 
- org.ametys.plugins.repository.metadata.jcr.JCRFile
 
 
- 
- All Implemented Interfaces:
 File,ModifiableFile
@Deprecated public class JCRFile extends Object implements ModifiableFile
Deprecated.org.ametys.cms.data.RichText new class doesn't use folder anymoreJava binding of a nt:file JCR Node.Text.escapeIllegalJcrChars(String)is used for escaping invalid JCR characters or character sequences. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetName()Deprecated.Returns the file name.NodegetNode()Deprecated.Retrieves the underlying node.JCRResourcegetResource()Deprecated.Returns the binary content of this file. 
 - 
 
- 
- 
Method Detail
- 
getNode
public Node getNode()
Deprecated.Retrieves the underlying node.- Returns:
 - the underlying node.
 
 
- 
getName
public String getName() throws AmetysRepositoryException
Deprecated.Description copied from interface:FileReturns the file name.- Specified by:
 getNamein interfaceFile- Returns:
 - the file name.
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
getResource
public JCRResource getResource() throws AmetysRepositoryException
Deprecated.Description copied from interface:FileReturns the binary content of this file.- Specified by:
 getResourcein interfaceFile- Specified by:
 getResourcein interfaceModifiableFile- Returns:
 - the binary content of this file.
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
 - 
 
 -