|
||||||||||
| 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,
java.util.Map objectModel)
Add a new eperson. |
static FlowResult |
processDeleteEPeople(Context context,
java.lang.String[] epeopleIDs)
Delete the epeople specified by the epeopleIDs parameter. |
static FlowResult |
processEditEPerson(Context context,
org.apache.cocoon.environment.Request request,
java.util.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,
java.util.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,
java.util.Map objectModel)
throws java.sql.SQLException,
AuthorizeException
context - The current DSpace contextrequest - The HTTP request parametersobjectModel - Cocoon's object model
java.sql.SQLException
AuthorizeException
public static FlowResult processEditEPerson(Context context,
org.apache.cocoon.environment.Request request,
java.util.Map ObjectModel,
int epersonID)
throws java.sql.SQLException,
AuthorizeException
context - The current DSpace contextrequest - The HTTP request parametersObjectModel - Cocoon's object modelepersonID - The unique id of the eperson being edited.
java.sql.SQLException
AuthorizeException
public static FlowResult processResetPassword(Context context,
int epersonID)
throws java.io.IOException,
javax.mail.MessagingException,
java.sql.SQLException,
AuthorizeException
context - The current DSpace contextepersonID - The unique id of the eperson being edited.
java.io.IOException
javax.mail.MessagingException
java.sql.SQLException
AuthorizeException
public static FlowResult processLoginAs(Context context,
java.util.Map objectModel,
int epersonID)
throws java.sql.SQLException
context - The current DSpace context.objectModel - Object model to obtain the HTTP request from.epersonID - The epersonID of the person to login as.
java.sql.SQLException
public static FlowResult processDeleteEPeople(Context context,
java.lang.String[] epeopleIDs)
throws java.lang.NumberFormatException,
java.sql.SQLException,
AuthorizeException,
EPersonDeletionException
context - The current DSpace contextepeopleIDs - The unique id of the eperson being edited.
java.lang.NumberFormatException
java.sql.SQLException
AuthorizeException
EPersonDeletionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||