|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ bean overview ] | PREV NEXT | ||||||||
Uses of Interface
com.RuntimeCollective.webapps.bean.EntityBean
| Uses of EntityBean in com.RuntimeCollective.webapps.bean |
| Subinterfaces of EntityBean in com.RuntimeCollective.webapps.bean | |
interface |
Actor
Abstract class for all objects that wrap a registered user of a Runtime Webapp. |
interface |
DBFile
Database entry which manages and refers to an file in the database |
interface |
Duplicable
Interface to implement if you want an EntityBean to be duplicable, that is, to make it possible to duplicate a bean into a new one, with the same properties, but a new id. |
interface |
SequenceBean
An interface for beans that can be identified by a sequence property -- this can either be a string representing an integer or a single letter. |
interface |
TrackedUser
A User whose logins and sessions we track. |
interface |
User
Interface for all objects that represent a registered user of a Runtime Webapp. |
interface |
Versioned
Interface to implement if you want an EntityBean to be duplicable, that is, to make it possible to duplicate a bean into a new one, with the same properties, but a new id. |
| Classes in com.RuntimeCollective.webapps.bean that implement EntityBean | |
class |
Address
An address. |
class |
AuditedExtension
This Extension can be used to collect creation/lastModified user/date on any EntityBean. |
class |
ModeratedExtension
This is an extension which can be stuck to any EntityBean, and allows for the storage of moderation information for that bean. |
class |
ServletFile
A wrapper to a DBFile which makes it more convenient to use in a servlet context. |
class |
Session
The Session object is the identification that a User has logged in, and when. |
class |
SimpleActor
A simple abstract implementation of the Actor interface that exposes the properties of the underlying User. |
class |
SimpleDBFile
Database entry which manages and refers to an file in the database |
class |
SimpleTrackedUser
The default implementation of TrackedUser. |
class |
SimpleUser
Simple implementation of the User interface representing a user that has an address. |
class |
TreeExtension
This is an extension which places the extended EntityBean into a tree, thus having 0/1 parent and 0/n children. |
class |
UserGroup
A group of users. |
class |
UserGroupType
A type of user group. |
class |
VersionedExtension
An extension which can be used to stick the Versioned behaviour to any Duplicable bean. |
| Methods in com.RuntimeCollective.webapps.bean that return EntityBean | |
EntityBean |
TreeExtension.getEntityBean()
Gets the bean. |
EntityBean |
ModeratedExtension.getEntityBean()
Gets themoderated bean. |
EntityBean |
AuditedExtension.getEntityBean()
Gets the bean. |
| Methods in com.RuntimeCollective.webapps.bean with parameters of type EntityBean | |
void |
TreeExtension.setEntityBean(EntityBean bean)
Sets the bean. |
static TreeExtension |
TreeExtension.getFor(EntityBean bean,
java.lang.String treeName)
Gets the TreeExtension for a particular bean and a particular treeName, if one exists. |
static java.util.List |
TreeExtension.getAllFor(EntityBean bean,
java.lang.String treeName)
Gets all the TreeExtensions for a particular bean and a particular treeName, ordered by id. |
static java.util.List |
TreeExtension.getAllFor(EntityBean bean)
Gets all the TreeExtensions for a particular bean, ordered by treeName then by id. |
static java.util.List |
TreeExtension.getTreeNamesFor(EntityBean bean)
Get a list of TreeNames to which an EntityBean belongs, order alphabetically. |
static boolean |
TreeExtension.onlyBelongsTo(EntityBean bean,
java.lang.String treeName)
Check if the EntityBean belongs, and *only* belongs, to the TreeName provided. |
void |
ModeratedExtension.setEntityBean(EntityBean bean)
Sets the moderated bean. |
static ModeratedExtension |
ModeratedExtension.getFor(EntityBean eb)
Gets the ModeratedExtension for a particular bean if one exists. |
static ModeratedExtension |
ModeratedExtension.getOrCreateFor(EntityBean eb)
Gets or creates the ModeratedExtension for a particular bean. |
static boolean |
ModeratedExtension.needApproval(EntityBean bean)
Says whether a given EntityBean requires approval. |
static boolean |
ModeratedExtension.isModerated(EntityBean bean)
Says whether a given EntityBean is moderated. |
static User |
ModeratedExtension.getModeratorUser(EntityBean bean)
Gets who, if anybody, is moderating the bean. |
static java.lang.String |
ModeratedExtension.getModeratorName(EntityBean bean)
Says who, if anybody, is moderating the bean. |
void |
AuditedExtension.setEntityBean(EntityBean bean)
Sets the bean. |
static AuditedExtension |
AuditedExtension.getFor(EntityBean bean)
Gets the AuditedExtension for a particular bean. |
static AuditedExtension |
AuditedExtension.getOrCreateFor(EntityBean bean)
Gets the AuditedExtension for a particular bean. |
static void |
AuditedExtension.markAsCreated(EntityBean bean,
User user)
Get or create an AuditedExtension for the bean, sets the Creation data, and save the extension. |
static void |
AuditedExtension.markAsCreated(EntityBean bean,
User user,
boolean createIfNecessary)
Get an AuditedExtension for the bean, sets the Creation data, and save the extension. |
static void |
AuditedExtension.markAsEdited(EntityBean bean,
User user)
Get or create an AuditedExtension for the bean, sets the LastModified data, and save the extension. |
static void |
AuditedExtension.markAsEdited(EntityBean bean,
User user,
boolean createIfNecessary)
Get an AuditedExtension for the bean, sets the LastModified data, and save the extension. |
static void |
AuditInfo.recordEdit(EntityBean edited,
User editor,
java.lang.String notes)
|
static java.util.List |
AuditInfo.getLastEditUserAndDate(EntityBean edited,
java.lang.String notes)
Get the date of the latest action (of a given type/notes) for a bean/ Useful to get the last approval date of a bean, for example. |
static java.util.Date |
AuditInfo.getLastApprovalDate(EntityBean edited)
Get the last approval date of an edited object. |
static java.util.Date |
AuditInfo.getLastCreationDate(EntityBean edited)
Get the last creation date of an edited object. |
static User |
AuditInfo.getLastApprovalUser(EntityBean edited)
Get the last approval user of an edited object. |
static User |
AuditInfo.getLastCreationUser(EntityBean edited)
Get the last creation user of an edited object. |
| Constructors in com.RuntimeCollective.webapps.bean with parameters of type EntityBean | |
BeanFileFolder(EntityBean bean,
java.lang.String dirBase)
Construct a folder for this bean and base directory. |
|
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ bean overview ] | PREV NEXT | ||||||||