|
|||||||||
| Home >> All >> com >> RuntimeCollective >> content >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.content.bean
Class Editor

java.lang.Objectcom.RuntimeCollective.webapps.bean.SimpleActor
com.RuntimeCollective.content.bean.Editor
- All Implemented Interfaces:
- com.RuntimeCollective.webapps.bean.Actor, com.RuntimeCollective.webapps.bean.EntityBean, java.io.Serializable, com.RuntimeCollective.webapps.bean.User
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- public class Editor
- extends com.RuntimeCollective.webapps.bean.SimpleActor
Represents a user of the content module who has editor or administrator permissions.
- Version:
- $Id: Editor.java,v 1.7 2003/09/30 15:12:46 joe Exp $
| Field Summary | |
static java.lang.String |
DATABASE_TABLE
Deprecated. The name of the database table for this bean type. |
protected boolean |
isAdmin
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
protected boolean |
isEditor
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
| Fields inherited from class com.RuntimeCollective.webapps.bean.SimpleActor |
id, user |
| Fields inherited from interface com.RuntimeCollective.webapps.bean.EntityBean |
INTERFACE_BEAN, NULL_ID |
| Constructor Summary | |
Editor()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
|
Editor(int id)
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
|
| Method Summary | |
void |
delete()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
static Editor |
getEditorForUser(com.RuntimeCollective.webapps.bean.User user)
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
boolean |
getIsAdmin()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
boolean |
getIsEditor()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
boolean |
isAdmin()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
boolean |
isEditor()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
void |
save()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
void |
saveToDatabase()
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
void |
setIsAdmin(boolean isAdmin)
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
void |
setIsEditor(boolean isEditor)
Deprecated. This class shouldn't be used anymore - use the Permissions packages instead. |
| Methods inherited from class com.RuntimeCollective.webapps.bean.SimpleActor |
addRole, getAddress, getAttribute, getCreateDate, getEmail, getFirstName, getId, getLastName, getPassword, getRoles, getUser, hasRole, removeRole, setAddress, setAttribute, setCreateDate, setEmail, setFirstName, setId, setLastName, setPassword, setRoles, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DATABASE_TABLE
public static final java.lang.String DATABASE_TABLE
- Deprecated.
- The name of the database table for this bean type.
- See Also:
- Constant Field Values
- The name of the database table for this bean type.
isAdmin
protected boolean isAdmin
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- The user is a staff administrator.
- The user is a staff administrator.
isEditor
protected boolean isEditor
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- The user is a content editor.
- The user is a content editor.
| Constructor Detail |
Editor
public Editor()
throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Construct a new blank Editor with a new unique ID. This does NOT create a User for it to wrap.
- Construct a new blank Editor with a new unique ID. This does NOT create a User for it to wrap.
Editor
public Editor(int id)
throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Generate an Editor from the database for the given primary key.
- Generate an Editor from the database for the given primary key.
| Method Detail |
getEditorForUser
public static Editor getEditorForUser(com.RuntimeCollective.webapps.bean.User user) throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Get the Editor for a user.
- Get the Editor for a user.
save
public void save()
throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Save this Editor.
- Save this Editor.
saveToDatabase
public void saveToDatabase()
throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Save this Editor to the database.
- Save this Editor to the database.
delete
public void delete()
throws java.sql.SQLException
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Delete this Editor
- Delete this Editor
getIsAdmin
public boolean getIsAdmin()
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Get if the user is a staff administrator.
- Get if the user is a staff administrator.
isAdmin
public boolean isAdmin()
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Get if the user is a staff administrator.
- Get if the user is a staff administrator.
setIsAdmin
public void setIsAdmin(boolean isAdmin)
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Set the user is a staff administrator.
- Set the user is a staff administrator.
getIsEditor
public boolean getIsEditor()
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Get if the user is a content editor.
- Get if the user is a content editor.
isEditor
public boolean isEditor()
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Get if the user is a staff member.
- Get if the user is a staff member.
setIsEditor
public void setIsEditor(boolean isEditor)
- Deprecated. This class shouldn't be used anymore - use the Permissions packages instead.
- Set the user is a content editor.
- Set the user is a content editor.
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> content >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC