L
- F
- O
- public abstract static class LogFactory.Entry<L extends Indexed,F extends LogFactory,O extends DataObject> extends DataObject implements Removable
Modifier and Type | Field and Description |
---|---|
protected F |
item_factory |
DEBUG, record
MAX_IDENTIFIER
Modifier | Constructor and Description |
---|---|
protected |
Entry(F fac,
Repository.Record r) |
Modifier and Type | Method and Description |
---|---|
boolean |
belongs(O q) |
void |
buildUpdateForm(Form f,
SessionService p) |
abstract boolean |
canRead(SessionService p)
Does the specified person have any access to the item at all
|
FormAction |
getAction() |
java.util.Date |
getDate()
Get the date the Item was added to the log
|
L |
getLink()
get the link item
|
protected F |
getLogFactory() |
AppUser |
getOperator()
Get the Person who added this item
|
O |
getOwner()
get the owning Query
|
LogFactory.ItemType.ItemValue |
getType() |
protected abstract L |
makeLink(java.lang.Number id)
actually retreive the link item from the database
|
abstract boolean |
permit(SessionService serv,
TransitionKey<LogFactory.Entry> key)
access control on transitions
|
void |
remove()
Remove referenced data if appropriate and then remove this object.
|
void |
setDate(java.util.Date d)
Set the Creation Date for LogItem
|
void |
setLink(L link_item)
Set the Link item
|
protected void |
setLinkID(int id)
set the ID of the link item entry in the data table.
|
void |
setOperator(AppUser p)
Set the Operator who added this item
|
void |
setOwner(O q) |
addToMap, addToMap, addToMap, commit, delete, empty, equals, formUpdate, getContext, getDatabaseService, getFactoryTag, getID, getIdentifier, getIdentifier, getLogger, getMap, getMap, getOwningFactory, getRecord, getRecord, getRecord, getSQLContext, getUniqueIdName, hashCode, isLocked, lock, post_commit, postCreate, pre_commit, release, setContents, setDirty, setMap, toString
protected F extends LogFactory item_factory
protected Entry(F fac, Repository.Record r)
protected F getLogFactory()
public final boolean belongs(O q)
public void buildUpdateForm(Form f, SessionService p)
public abstract boolean canRead(SessionService p)
p
- public FormAction getAction()
public abstract boolean permit(SessionService serv, TransitionKey<LogFactory.Entry> key)
serv
- key
- public final java.util.Date getDate()
public final L getLink() throws java.lang.Exception
java.lang.Exception
public final AppUser getOperator()
public final O getOwner() throws DataException
DataException
public LogFactory.ItemType.ItemValue getType()
protected abstract L makeLink(java.lang.Number id) throws java.lang.Exception
id
- if of link itemjava.lang.Exception
public final void remove() throws java.lang.Exception
public final void setDate(java.util.Date d)
d
- public final void setLink(L link_item)
link_item
- protected final void setLinkID(int id)
id
- public final void setOperator(AppUser p)
p
- public final void setOwner(O q)