|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.aspect.administrative.FlowEPersonUtils
public class FlowEPersonUtils
Utility methods to processes actions on EPeople. These methods are used exclusively from the administrative flow scripts.
| Constructor Summary | |
|---|---|
FlowEPersonUtils()
|
|
| Method Summary | |
|---|---|
static FlowResult |
processAddEPerson(Context context,
org.apache.cocoon.environment.Request request,
Map objectModel)
Add a new eperson. |
static FlowResult |
processDeleteEPeople(Context context,
String[] epeopleIDs)
Delete the epeople specified by the epeopleIDs parameter. |
static FlowResult |
processEditEPerson(Context context,
org.apache.cocoon.environment.Request request,
Map ObjectModel,
int epersonID)
Edit an eperson's metadata, the email address, first name, and last name are all required. |
static FlowResult |
processLoginAs(Context context,
Map objectModel,
int epersonID)
Log this user in as another user. |
static FlowResult |
processResetPassword(Context context,
int epersonID)
Send the user a forgot password email message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowEPersonUtils()
| Method Detail |
|---|
public static FlowResult processAddEPerson(Context context,
org.apache.cocoon.environment.Request request,
Map objectModel)
throws SQLException,
AuthorizeException
context - The current DSpace contextrequest - The HTTP request parametersobjectModel - Cocoon's object model
SQLException
AuthorizeException
public static FlowResult processEditEPerson(Context context,
org.apache.cocoon.environment.Request request,
Map ObjectModel,
int epersonID)
throws SQLException,
AuthorizeException
context - The current DSpace contextrequest - The HTTP request parametersObjectModel - Cocoon's object modelepersonID - The unique id of the eperson being edited.
SQLException
AuthorizeException
public static FlowResult processResetPassword(Context context,
int epersonID)
throws IOException,
javax.mail.MessagingException,
SQLException,
AuthorizeException
context - The current DSpace contextepersonID - The unique id of the eperson being edited.
IOException
javax.mail.MessagingException
SQLException
AuthorizeException
public static FlowResult processLoginAs(Context context,
Map objectModel,
int epersonID)
throws SQLException
context - The current DSpace context.objectModel - Object model to obtain the HTTP request from.epersonID - The epersonID of the person to login as.
SQLException
public static FlowResult processDeleteEPeople(Context context,
String[] epeopleIDs)
throws NumberFormatException,
SQLException,
AuthorizeException,
EPersonDeletionException
context - The current DSpace contextepeopleIDs - The unique id of the eperson being edited.
NumberFormatException
SQLException
AuthorizeException
EPersonDeletionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||