Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
com.opencms.file.CmsFile

Uses of CmsFile in com.opencms.file
 

Methods in com.opencms.file that return CmsFile
 CmsFile I_CmsResourceType.exportResource(CmsObject cms, CmsFile file)
          Does the Linkmanagement when a resource will be exported.
 CmsFile I_CmsResourceBroker.createFile(CmsUser currentUser, CmsGroup currentGroup, CmsProject currentProject, java.lang.String newFileName, byte[] contents, java.lang.String type, java.util.Map propertyinfos)
          Creates a new file with the given content and resourcetype.
 CmsFile I_CmsResourceBroker.readFile(CmsUser currentUser, CmsProject currentProject, java.lang.String filename)
          Reads a file from the Cms.
Security: Access is granted, if: the user has access to the project the user can read the resource
 CmsFile I_CmsResourceBroker.readFile(CmsUser currentUser, CmsProject currentProject, java.lang.String filename, boolean includeDeleted)
          Reads a file from the Cms.
Security: Access is granted, if: the user has access to the project the user can read the resource
 CmsFile CmsResourceTypePlain.exportResource(CmsObject cms, CmsFile file)
          Does the Linkmanagement when a resource will be exported.
 CmsFile CmsResourceTypePage.exportResource(CmsObject cms, CmsFile file)
          When a resource has to be exported, the IDīs inside the Linkmanagement-Tags have to be changed to the corresponding URLīs
 CmsFile CmsResourceTypeFolder.exportResource(CmsObject cms, CmsFile file)
          Does the Linkmanagement when a resource will be exported.
 CmsFile CmsObject.createFile(java.lang.String folder, java.lang.String filename, byte[] contents, java.lang.String type)
          Deprecated. Use createResource instead.
 CmsFile CmsObject.createFile(java.lang.String folder, java.lang.String filename, byte[] contents, java.lang.String type, java.util.Hashtable properties)
          Deprecated. Use createResource instead.
protected  CmsFile CmsObject.doCreateFile(java.lang.String newFileName, byte[] contents, java.lang.String type)
          Creates a new file with the given content and resourcetype.
protected  CmsFile CmsObject.doCreateFile(java.lang.String newFileName, byte[] contents, java.lang.String type, java.util.Map properties)
          Creates a new file with the given content and resourcetype.
 CmsFile CmsObject.exportResource(CmsFile file)
          Exports a resource.
 CmsFile CmsObject.readFile(java.lang.String filename)
          Reads a file from the Cms.
 CmsFile CmsObject.readFile(java.lang.String filename, boolean includeDeleted)
          Reads a file from the Cms.
 CmsFile CmsObject.readFile(java.lang.String folder, java.lang.String filename)
          Reads a file from the Cms.
 

Methods in com.opencms.file with parameters of type CmsFile
 CmsFile I_CmsResourceType.exportResource(CmsObject cms, CmsFile file)
          Does the Linkmanagement when a resource will be exported.
 void I_CmsResourceBroker.writeFile(CmsUser currentUser, CmsProject currentProject, CmsFile file)
          Writes a file to the Cms.
A file can only be written to an offline project.
The state of the resource is set to CHANGED (1).
 void I_CmsResourceBroker.writeFileHeader(CmsUser currentUser, CmsProject currentProject, CmsFile file)
          Writes a fileheader to the Cms.
A file can only be written to an offline project.
The state of the resource is set to CHANGED (1).
private  void CmsSynchronize.synchronizeFile(CmsFile vfsFile)
          Synchronizes a file in the virtual or the server filesystem.
 CmsFile CmsResourceTypePlain.exportResource(CmsObject cms, CmsFile file)
          Does the Linkmanagement when a resource will be exported.
 CmsFile CmsResourceTypePage.exportResource(CmsObject cms, CmsFile file)
          When a resource has to be exported, the IDīs inside the Linkmanagement-Tags have to be changed to the corresponding URLīs
private  java.lang.String CmsResourceTypePage.readBodyPath(CmsObject cms, CmsFile file)
          method to check get the real body path from the content file
private  java.lang.String CmsResourceTypePage.checkBodyPath(CmsObject cms, CmsFile file)
          method to check get the real body path from the content file
 CmsFile CmsResourceTypeFolder.exportResource(CmsObject cms, CmsFile file)
          Does the Linkmanagement when a resource will be exported.
 CmsFile CmsObject.exportResource(CmsFile file)
          Exports a resource.
 void CmsObject.writeFile(CmsFile file)
          Writes a file to the Cms.
 void CmsObject.writeFileHeader(CmsFile file)
          Writes a file-header to the Cms.
private  void CmsExport.exportResource(CmsFile file)
          Exports one single file with all its data and content.