|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.BasicItem<FileTypeData>
org.proteios.core.FileType
public class FileType
This class is used to represent the type of File items in Proteios.
File| Field Summary | |
|---|---|
static String |
DECYDER_BVA_XML
|
static String |
DTA_PEAK_LIST
|
static String |
IMAGE
The id for the FileType item representing an image file. |
static String |
MASCOT_XML
|
static String |
MGF_PEAK_LIST
|
static String |
MSINSPECT_FEATURES
|
static String |
MZDATA
|
static String |
MZML
|
static String |
MZXML
|
static String |
OMSSA_PARAMETERS
|
static String |
OMSSA_RESULT_XML
|
static String |
OPENMS_FEATURES
|
static String |
PEP_XML
|
static String |
PICK_LIST
|
static String |
PIUMS_MATCHER
|
static String |
PIUMS_PEPEX
|
static String |
PIUMS_PEPFIL
|
static String |
PKL_PEAK_LIST
|
static String |
PLATE_MAPPING
The id for the FileType item representing a plate mapping
file. |
static String |
PLGS_PEAK_LIST
|
static String |
PRINT_MAP
The id for the FileType item representing a print map
file. |
static String |
PROTOCOL
The id for the FileType item representing a protocol. |
static String |
RAW_DATA
The id for the FileType item representing a raw data file. |
static String |
RAW_SPECTRUM
|
static String |
REPORTER_MAP
The id for the FileType item representing a reporter map
file. |
static String |
SCANNED_GEL_IMAGE
|
static String |
SHW_RESULT
|
static String |
SPOT_IMAGES
The id for the FileType item representing a spot images
file. |
static String |
TANDEM_RESULT
|
static Item |
TYPE
The type of item represented by this class. |
| Fields inherited from interface org.proteios.core.Nameable |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Method Summary | |
|---|---|
String |
getDescription()
Get the description for the item. |
String |
getName()
Get the name of the item. |
static ItemQuery<FileType> |
getQuery()
Get a query configured to retrieve FileType items. |
String |
getSystemId()
Get the system id for the item. |
Item |
getType()
Get the type of item represented by the object. |
boolean |
isSystemItem()
Check if the item is a system item or not. |
boolean |
isUsed()
Check if: any file has been assigned this type |
void |
setDescription(String description)
Set the description for the item. |
void |
setName(String name)
Set the name of the item. |
| Methods inherited from class org.proteios.core.BasicItem |
|---|
checkPermission, equals, getDbControl, getId, getPermissions, getSessionControl, getVersion, hashCode, hasPermission, isDetached, isInDatabase, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.proteios.core.Identifiable |
|---|
getId, getVersion |
| Methods inherited from interface org.proteios.core.AccessControlled |
|---|
checkPermission, hasPermission |
| Field Detail |
|---|
public static final Item TYPE
Item.FILETYPE,
getType()public static final String PROTOCOL
FileType item representing a protocol.
public static final String RAW_DATA
FileType item representing a raw data file.
public static final String PLATE_MAPPING
FileType item representing a plate mapping
file.
public static final String REPORTER_MAP
FileType item representing a reporter map
file.
public static final String PRINT_MAP
FileType item representing a print map
file.
public static final String IMAGE
FileType item representing an image file.
public static final String SPOT_IMAGES
FileType item representing a spot images
file.
public static final String SCANNED_GEL_IMAGE
public static final String PICK_LIST
public static final String SHW_RESULT
public static final String RAW_SPECTRUM
public static final String DTA_PEAK_LIST
public static final String PKL_PEAK_LIST
public static final String MGF_PEAK_LIST
public static final String MZDATA
public static final String MZML
public static final String MZXML
public static final String MASCOT_XML
public static final String TANDEM_RESULT
public static final String PIUMS_MATCHER
public static final String PIUMS_PEPEX
public static final String PIUMS_PEPFIL
public static final String DECYDER_BVA_XML
public static final String PEP_XML
public static final String PLGS_PEAK_LIST
public static final String OMSSA_PARAMETERS
public static final String OMSSA_RESULT_XML
public static final String MSINSPECT_FEATURES
public static final String OPENMS_FEATURES
| Method Detail |
|---|
public static ItemQuery<FileType> getQuery()
throws BaseException
FileType items.
ItemQuery object
BaseExceptionpublic Item getType()
IdentifiableItem enumeration.
getType in interface Identifiablepublic String getName()
Nameable
getName in interface NameableString with the name of the item
public void setName(String name)
throws PermissionDeniedException,
InvalidDataException
NameableNameable.MAX_NAME_LENGTH constant.
setName in interface Nameablename - The new name for the item
PermissionDeniedException - If the logged in user doesn't
have write permission
InvalidDataException - If the name is null or longer
than specified by the Nameable.MAX_NAME_LENGTH constantpublic String getDescription()
Nameable
getDescription in interface NameableString with a description of the item
public void setDescription(String description)
throws PermissionDeniedException,
InvalidDataException
NameableNameable.MAX_DESCRIPTION_LENGTH constant.
setDescription in interface Nameabledescription - The new description for the item
PermissionDeniedException - If the logged in user doesn't
have write permission
InvalidDataException - If the description longer
than specified by the Nameable.MAX_DESCRIPTION_LENGTH constantpublic String getSystemId()
SystemItem
getSystemId in interface SystemItempublic boolean isSystemItem()
SystemItem
isSystemItem in interface SystemItem
public boolean isUsed()
throws BaseException
isUsed in class BasicItem<FileTypeData>BaseException - If there is an error
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||