public interface TopiaEntityContextable extends TopiaEntity
Modifier and Type | Field and Description |
---|---|
static String |
TOPIA_CONTEXT |
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete entity in persistence context.
|
TopiaContext |
getTopiaContext()
Get topia context.
|
void |
setTopiaContext(TopiaContext topiaContext)
Set topia context.
|
void |
update()
Update entity in persistence context.
|
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getAggregate, getComposite, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
static final String TOPIA_CONTEXT
void setTopiaContext(TopiaContext topiaContext) throws TopiaException
topiaContext
- topia contextTopiaException
- if current topia entity context is not nullTopiaContext getTopiaContext()
void update() throws TopiaException
TopiaException
void delete() throws TopiaException
TopiaException
Copyright © 2004–2022 Code Lutin. All rights reserved.