org.pentaho.platform.repository.solution.filebased
Class FileInfo

java.lang.Object
  extended by org.pentaho.platform.repository.solution.filebased.FileInfo

public class FileInfo
extends Object

Author:
James Dixon TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static String FILE_DISPLAY_TYPE_FOLDER
           
static String FILE_DISPLAY_TYPE_PROCESS
           
static String FILE_DISPLAY_TYPE_REPORT
           
static String FILE_DISPLAY_TYPE_RULE
           
static String FILE_DISPLAY_TYPE_SOLUTION
           
static String FILE_DISPLAY_TYPE_UNKNOWN
           
static String FILE_DISPLAY_TYPE_URL
           
static String FILE_DISPLAY_TYPE_VIEW
           
static String FILE_TYPE_ACTIVITY
           
static String FILE_TYPE_BIRT
           
static String FILE_TYPE_CONTENT
           
static String FILE_TYPE_FOLDER
           
static String FILE_TYPE_INDEX
           
static String FILE_TYPE_MODEL
           
static String FILE_TYPE_REPORT
           
static String FILE_TYPE_RULES
           
static String FILE_TYPE_URL
           
static String FILE_TYPE_VIEW
           
static String FILE_TYPE_WORKFLOW
           
static String FILE_TYPE_XML
           
static String FILE_TYPE_XPDL
           
 
Constructor Summary
FileInfo()
           
FileInfo(org.dom4j.Element node, ILogger logger)
           
FileInfo(String fileName, Date lastModified, String path, String solutionId, FileBasedSolutionRepository repository)
           
 
Method Summary
 String getAuthor()
           
 String getDescription()
           
 String getFileName()
           
 boolean getHasParameters()
           
 Date getLastUpdated()
           
 String getName()
           
 List getParamterNames()
           
 String getPath()
           
 long getSize()
           
 String getSolutionId()
           
 String getUrl()
           
 void setAuthor(String author)
           
 void setDescription(String description)
           
 void setHasParameters(boolean hasParameters)
           
 void setLastUpdated(Date lastUpdated)
           
 void setName(String name)
           
 void setParamterNames(List parameterNames)
           
 void setSize(long size)
           
 void setUrl(String url)
           
 org.dom4j.Element toXmlNode(org.dom4j.Element parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_TYPE_ACTIVITY

public static final String FILE_TYPE_ACTIVITY
See Also:
Constant Field Values

FILE_TYPE_FOLDER

public static final String FILE_TYPE_FOLDER
See Also:
Constant Field Values

FILE_TYPE_RULES

public static final String FILE_TYPE_RULES
See Also:
Constant Field Values

FILE_TYPE_REPORT

public static final String FILE_TYPE_REPORT
See Also:
Constant Field Values

FILE_TYPE_WORKFLOW

public static final String FILE_TYPE_WORKFLOW
See Also:
Constant Field Values

FILE_TYPE_XPDL

public static final String FILE_TYPE_XPDL
See Also:
Constant Field Values

FILE_TYPE_BIRT

public static final String FILE_TYPE_BIRT
See Also:
Constant Field Values

FILE_TYPE_MODEL

public static final String FILE_TYPE_MODEL
See Also:
Constant Field Values

FILE_TYPE_VIEW

public static final String FILE_TYPE_VIEW
See Also:
Constant Field Values

FILE_TYPE_CONTENT

public static final String FILE_TYPE_CONTENT
See Also:
Constant Field Values

FILE_TYPE_XML

public static final String FILE_TYPE_XML
See Also:
Constant Field Values

FILE_TYPE_INDEX

public static final String FILE_TYPE_INDEX
See Also:
Constant Field Values

FILE_TYPE_URL

public static final String FILE_TYPE_URL
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_SOLUTION

public static final String FILE_DISPLAY_TYPE_SOLUTION
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_FOLDER

public static final String FILE_DISPLAY_TYPE_FOLDER
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_REPORT

public static final String FILE_DISPLAY_TYPE_REPORT
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_PROCESS

public static final String FILE_DISPLAY_TYPE_PROCESS
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_RULE

public static final String FILE_DISPLAY_TYPE_RULE
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_VIEW

public static final String FILE_DISPLAY_TYPE_VIEW
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_URL

public static final String FILE_DISPLAY_TYPE_URL
See Also:
Constant Field Values

FILE_DISPLAY_TYPE_UNKNOWN

public static final String FILE_DISPLAY_TYPE_UNKNOWN
See Also:
Constant Field Values
Constructor Detail

FileInfo

public FileInfo()

FileInfo

public FileInfo(String fileName,
                Date lastModified,
                String path,
                String solutionId,
                FileBasedSolutionRepository repository)

FileInfo

public FileInfo(org.dom4j.Element node,
                ILogger logger)
Method Detail

toXmlNode

public org.dom4j.Element toXmlNode(org.dom4j.Element parent)

getAuthor

public String getAuthor()

getLastUpdated

public Date getLastUpdated()

getSize

public long getSize()

getHasParameters

public boolean getHasParameters()

getName

public String getName()

getUrl

public String getUrl()

getFileName

public String getFileName()

getPath

public String getPath()

getSolutionId

public String getSolutionId()

getDescription

public String getDescription()

getParamterNames

public List getParamterNames()

setAuthor

public void setAuthor(String author)

setLastUpdated

public void setLastUpdated(Date lastUpdated)

setSize

public void setSize(long size)

setHasParameters

public void setHasParameters(boolean hasParameters)

setName

public void setName(String name)

setUrl

public void setUrl(String url)

setDescription

public void setDescription(String description)

setParamterNames

public void setParamterNames(List parameterNames)