public class

File

extends DrupalEntity
java.lang.Object
   ↳ org.mule.modules.drupal.model.DrupalEntity
     ↳ org.mule.modules.drupal.model.File

Class Overview

Class that represents a File

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.drupal.model.DrupalEntity
Fields
private String content File content encoded in Base64
private Integer fid File Id
private String filemime The files MIME type.
private String filename Name of the file with no path components.
private Integer filesize The size of the file in bytes.
private Object imageStyles Styles
private Integer status A field indicating the status of the file.
private String targetUri Target Uri
private Integer timestamp Timestamp for when the file was added.
private Integer uid The users.uid of the user who is associated with the file.
private String uriFull Uri full path
[Expand]
Inherited Fields
From class org.mule.modules.drupal.model.DrupalEntity
Public Constructors
File()
Public Methods
String getContent()
Integer getFid()
String getFilemime()
String getFilename()
Integer getFilesize()
Object getImageStyles()
Integer getStatus()
String getTargetUri()
Integer getTimestamp()
Integer getUid()
String getUriFull()
void setContent(String content)
void setFid(Integer fid)
void setFilemime(String filemime)
void setFilename(String filename)
void setFilesize(Integer filesize)
void setImageStyles(Object imageStyles)
void setStatus(Integer status)
void setTargetUri(String targetUri)
void setTimestamp(Integer timestamp)
void setUid(Integer uid)
void setUriFull(String uriFull)
[Expand]
Inherited Methods
From class org.mule.modules.drupal.model.DrupalEntity
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1342248788461288091 (0x12a0a0295c6efa9b)

Fields

private String content

File content encoded in Base64

private Integer fid

File Id

private String filemime

The files MIME type.

private String filename

Name of the file with no path components. This may differ from the basename of the URI if the file is renamed to avoid overwriting an existing file.

private Integer filesize

The size of the file in bytes.

private Object imageStyles

Styles

private Integer status

A field indicating the status of the file. Two status are defined in core: temporary (0) and permanent (1). Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during a cron run.

private String targetUri

Target Uri

private Integer timestamp

Timestamp for when the file was added.

private Integer uid

The users.uid of the user who is associated with the file. See User

private String uriFull

Uri full path

Public Constructors

public File ()

Public Methods

public String getContent ()

public Integer getFid ()

public String getFilemime ()

public String getFilename ()

public Integer getFilesize ()

public Object getImageStyles ()

public Integer getStatus ()

public String getTargetUri ()

public Integer getTimestamp ()

public Integer getUid ()

public String getUriFull ()

public void setContent (String content)

Parameters
content

public void setFid (Integer fid)

Parameters
fid

public void setFilemime (String filemime)

Parameters
filemime

public void setFilename (String filename)

Parameters
filename

public void setFilesize (Integer filesize)

Parameters
filesize

public void setImageStyles (Object imageStyles)

Parameters
imageStyles

public void setStatus (Integer status)

Parameters
status

public void setTargetUri (String targetUri)

Parameters
targetUri

public void setTimestamp (Integer timestamp)

Parameters
timestamp

public void setUid (Integer uid)

Parameters
uid

public void setUriFull (String uriFull)

Parameters
uriFull