lumis.portal.file
Class FileConfig

Package class diagram package FileConfig
java.lang.Object
  extended by lumis.portal.file.FileConfig

@StableMinor(version="5.5",
             sinceVersion="4.0")
public class FileConfig
extends Object

Object that represents a file object

Since:
4.0.0

Field Summary
static int TYPE_DEFAULT
          Default file type.
static int TYPE_FILES
          This type indicates that this file belongs to a "files" data type.
 
Constructor Summary
FileConfig(String fileId)
           
FileConfig(String fileId, FileParameter fileParameter, String serviceInstanceId)
           
FileConfig(String fileId, String name, String fullPath, String contentType, long fileSize, int type, String serviceInstanceId)
           
 
Method Summary
 String getContentType()
           
 long getFileSize()
           
 String getFullPath()
           
 String getId()
           
 String getName()
           
 String getServiceInstanceId()
           
 int getType()
           
 void setName(String name)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_DEFAULT

public static final int TYPE_DEFAULT
Default file type.

See Also:
Constant Field Values

TYPE_FILES

public static final int TYPE_FILES
This type indicates that this file belongs to a "files" data type.

See Also:
Constant Field Values
Constructor Detail

FileConfig

public FileConfig(String fileId)

FileConfig

public FileConfig(String fileId,
                  FileParameter fileParameter,
                  String serviceInstanceId)
           throws IOException
Throws:
IOException

FileConfig

public FileConfig(String fileId,
                  String name,
                  String fullPath,
                  String contentType,
                  long fileSize,
                  int type,
                  String serviceInstanceId)
Method Detail

getContentType

public String getContentType()

getId

public String getId()

getFileSize

public long getFileSize()

getFullPath

public String getFullPath()

getName

public String getName()

getServiceInstanceId

public String getServiceInstanceId()

setName

public void setName(String name)

getType

public int getType()

setType

public void setType(int type)


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.