|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.BasicItem<D>
net.sf.basedb.core.ChildItem<ArrayDesignPlateData>
net.sf.basedb.core.ArrayDesignPlate
public class ArrayDesignPlate
| Field Summary | |
|---|---|
private static QueryRuntimeFilter |
RUNTIME_FILTER
This filter will only return items if the logged in user has generic read permission to array designs. |
static Item |
TYPE
The type of item represented by this class. |
| Constructor Summary | |
|---|---|
ArrayDesignPlate(ArrayDesignPlateData arrayDesignPlateData)
|
|
| Method Summary | |
|---|---|
ArrayDesign |
getArrayDesign()
Gets this item's ArrayDesign. |
(package private) static ArrayDesignPlate |
getById(DbControl dc,
int id)
Get a ArrayDesignPlate item when you know the id. |
Plate |
getPlate()
Gets the Plate that belongs to this item. |
int |
getPosition()
Gets the position of this item. |
static ItemQuery<ArrayDesignPlate> |
getQuery(ArrayDesign design)
Get a query that returns ArrayDesignPlates connections for the specified array design. |
(package private) SharedData |
getSharedParent()
Get the shareable parent item of this child item. |
Item |
getType()
Get the type of item represented by the object. |
Set<ItemProxy> |
getUsingItems()
Get the array design this plate is used on. |
boolean |
isUsed()
Always TRUE. |
| Methods inherited from class net.sf.basedb.core.ChildItem |
|---|
getPermissionForWriteDeleteAndCreate, getPluginPermissions, initPermissions |
| Methods inherited from class net.sf.basedb.core.BasicItem |
|---|
addUsingItems, addUsingItems, checkPermission, equals, getData, getDbControl, getId, getPermissions, getSessionControl, getVersion, hashCode, hasPermission, isDetached, isInDatabase, onAfterCommit, onAfterInsert, onBeforeCommit, onRollback, setDbControl, setProjectDefaults, toString, toTransferable, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Item TYPE
Item.ARRAYDESIGNPLATE,
getType()private static final QueryRuntimeFilter RUNTIME_FILTER
| Constructor Detail |
|---|
ArrayDesignPlate(ArrayDesignPlateData arrayDesignPlateData)
| Method Detail |
|---|
public static ItemQuery<ArrayDesignPlate> getQuery(ArrayDesign design)
design - The array design to retreive plate connections for, null is allowed if
the logged in user has generic READ permission for array designs in which case
all plate connections will be retrieved
ItemQuery objectArrayDesign.getArrayDesignPlates()
static ArrayDesignPlate getById(DbControl dc,
int id)
throws ItemNotFoundException,
PermissionDeniedException,
BaseException
ArrayDesignPlate item when you know the id.
dc - The DbControl which will be used for
permission checking and database access.id - The id of the item to load
ArrayDesignPlate item
ItemNotFoundException - If an item with the specified
id is not found
PermissionDeniedException - If the logged in user doesn't
have Permission.READ permission to the item
BaseException - If there is another errorpublic Item getType()
IdentifiableItem enumeration.
public boolean isUsed()
throws BaseException
isUsed in class BasicItem<ArrayDesignPlateData>BaseException - If not able to tell if item is used or not.BasicItem.getUsingItems()
public Set<ItemProxy> getUsingItems()
throws BaseException
getUsingItems in class BasicItem<ArrayDesignPlateData>BaseException - If there is an error loading the itemsBasicItem.addUsingItems(Set, Item, org.hibernate.Query)SharedData getSharedParent()
ChildItemChildItem.initPermissions(int, int) method to calculate
the logged in user's permissions for the child item.
getSharedParent in class ChildItem<ArrayDesignPlateData>
public Plate getPlate()
throws PermissionDeniedException,
BaseException
Plate that belongs to this item.
Plate object
PermissionDeniedException - If the logged in user doesn't
have Permission.READ permission.
BaseException - If there is another error.
public ArrayDesign getArrayDesign()
throws PermissionDeniedException,
BaseException
ArrayDesign.
ArrayDesign object.
PermissionDeniedException - If the logged in user doesn't
have Permission.READ permission.
BaseException - If there is another error.public int getPosition()
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||