public abstract class ManagedFileStorageBean extends ManagedFileStorageBeanBase implements javax.ejb.EntityBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ManagedFileStorageBean() |
Modifier and Type | Method and Description |
---|---|
void | ejbActivate()
Activites the enterprise Java bean.
|
ManagedFileStorageKey | ejbCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file)
Creates the object that persists the file contents of the managed file.
|
void | ejbLoad()
Loads the enterprise Java bean.ejbLoad
|
void | ejbPassivate()
Passivates the enterprise Java bean.
|
void | ejbPostCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file)
Operations to perform after the object is created.
|
void | ejbRemove()
Removes the enterprise Java bean.
|
void | ejbStore()
Stores the enterprise Java bean.
|
javax.ejb.EntityContext | getEntityContext()
Returns the entity context.
|
abstract short | getOptCounter()
Get accessor for persistent attribute: optCounter
|
void | setEntityContext(javax.ejb.EntityContext ctx)
Sets the entity context.
|
abstract void | setOptCounter(short newOptCounter)
Set accessor for persistent attribute: optCounter
|
void | unsetEntityContext()
Unsets the entity context.
|
public static final java.lang.String COPYRIGHT
public void setEntityContext(javax.ejb.EntityContext ctx)
public javax.ejb.EntityContext getEntityContext()
public void unsetEntityContext()
public ManagedFileStorageKey ejbCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file) throws javax.ejb.CreateException
public void ejbPostCreate(java.lang.Long fileId, java.lang.String contentWorkspace, java.lang.String contentOldWorkspace, byte[] file) throws javax.ejb.CreateException
public void ejbActivate()
public void ejbLoad()
public void ejbPassivate()
public void ejbRemove() throws javax.ejb.RemoveException
public void ejbStore()
public abstract short getOptCounter()
public abstract void setOptCounter(short newOptCounter)