|
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<D>
org.proteios.core.OwnedItem<D>
org.proteios.core.SharedItem<D>
org.proteios.core.SeparationMethod<D>
public class SeparationMethod<D extends SeparationMethodData>
This class is the root class for separation methods. The class describes the
object that is the result of the method. It is the base class for for the two
types of separationMethods: GelElectrophoresis and IPG.
| Field Summary | |
|---|---|
static int |
MAX_EXTERNAL_ID_LENGTH
The maximum length of the external id that can be stored in the database. |
static Item |
TYPE
The type of item represented by this class. |
| Method Summary | |
|---|---|
static SeparationMethod<?> |
getByExternalId(DbControl dc,
String externalId)
Get a SeparationMethod item when you know the external ID. |
String |
getExternalId()
Get the external id of the separation method. |
static List<Integer> |
getIdsForSeparationMethodsWithSeaprationEvent(DbControl dc)
|
Set<SeparationEvent> |
getSeparationEvents()
|
Item |
getType()
Get the type of item represented by the object. |
boolean |
isUsed()
Always return FALSE. |
void |
setExternalId(String externalId)
Set the external id for this SeparationMethod item. |
| Methods inherited from class org.proteios.core.SharedItem |
|---|
getItemKey, getProjectKey, isShared, setItemKey, setProjectKey |
| Methods inherited from class org.proteios.core.OwnedItem |
|---|
getOwner, setOwner |
| 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.Ownable |
|---|
getOwner, setOwner |
| 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.PROTEIOS_SEPARATIONMETHOD,
getType()public static final int MAX_EXTERNAL_ID_LENGTH
setExternalId(String),
Constant Field Values| Method Detail |
|---|
public static List<Integer> getIdsForSeparationMethodsWithSeaprationEvent(DbControl dc)
public static SeparationMethod<?> getByExternalId(DbControl dc,
String externalId)
throws ItemNotFoundException,
PermissionDeniedException,
BaseException
SeparationMethod item when you know the external ID.
dc - The DbControl which will be used for permission
checking and database access.externalId - The external id of the item to load
SeparationMethod item
ItemNotFoundException - If an item with the specified ID is not
found
PermissionDeniedException - If the logged in user doesn't have
READ permission for the item
BaseException - If there is another errorpublic Item getType()
IdentifiableItem enumeration.
public boolean isUsed()
throws BaseException
isUsed in class BasicItem<D extends SeparationMethodData>BaseExceptionpublic String getExternalId()
public void setExternalId(String externalId)
throws PermissionDeniedException,
InvalidDataException
SeparationMethod item. The
value cannot be null and must not be longer than the value specified by
the MAX_EXTERNAL_ID_LENGTH constant.
externalId - The new value for the external id
PermissionDeniedException - If the logged in user doesn't have
write permission
InvalidDataException - If the new value is null or longer than
MAX_EXTERNAL_ID_LENGTH
public Set<SeparationEvent> getSeparationEvents()
throws ItemNotFoundException,
BaseException
ItemNotFoundException
BaseException
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||