|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecureDeliveryServiceAPI
| Nested Class Summary | |
|---|---|
static class |
SecureDeliveryServiceAPI.Phase
|
static class |
SecureDeliveryServiceAPI.PhaseStatus
|
| Field Summary | |
|---|---|
static String |
EXITPWD_KEY
|
static String |
MODULE_KEY
|
static String |
NONE_ID
|
static String |
TITLE_DECORATION
|
| Method Summary | |
|---|---|
String |
decryptPassword(String moduleId,
String password)
Uses the module specified to decrypt the exit password. |
String |
encryptPassword(String moduleId,
String password)
Uses the module specified to encrypt the exit password before storing it on the assessment settings. |
String |
getHTMLFragment(String moduleId,
PublishedAssessmentIfc assessment,
javax.servlet.http.HttpServletRequest request,
SecureDeliveryServiceAPI.Phase phase,
SecureDeliveryServiceAPI.PhaseStatus status,
Locale locale)
Returns an HTML appropriate for the combination of parameters. |
String |
getInitialHTMLFragments(javax.servlet.http.HttpServletRequest request,
Locale locale)
Returns the initial HTML fragments for all active modules. |
SecureDeliveryModuleIfc |
getModuleReference(String moduleId,
Object context)
Helper method to obtain a reference to the runtime instance of the module specified. |
SortedSet<RegisteredSecureDeliveryModuleIfc> |
getSecureDeliveryModules(Locale locale)
|
String |
getTitleDecoration(String moduleId,
Locale locale)
|
boolean |
isSecureDeliveryAvaliable()
|
boolean |
isSecureDeliveryModuleAvailable(String moduleId)
|
SecureDeliveryServiceAPI.PhaseStatus |
validatePhase(String moduleId,
SecureDeliveryServiceAPI.Phase phase,
PublishedAssessmentIfc assessment,
javax.servlet.http.HttpServletRequest request)
Checks with the module specified by moduleId if the current delivery phase can continue. |
| Field Detail |
|---|
static final String MODULE_KEY
static final String EXITPWD_KEY
static final String TITLE_DECORATION
static final String NONE_ID
| Method Detail |
|---|
boolean isSecureDeliveryAvaliable()
boolean isSecureDeliveryModuleAvailable(String moduleId)
moduleId -
SortedSet<RegisteredSecureDeliveryModuleIfc> getSecureDeliveryModules(Locale locale)
String getTitleDecoration(String moduleId,
Locale locale)
moduleId - locale -
SecureDeliveryServiceAPI.PhaseStatus validatePhase(String moduleId,
SecureDeliveryServiceAPI.Phase phase,
PublishedAssessmentIfc assessment,
javax.servlet.http.HttpServletRequest request)
moduleId - phase - assessment - request -
String getInitialHTMLFragments(javax.servlet.http.HttpServletRequest request,
Locale locale)
request - locale -
String getHTMLFragment(String moduleId,
PublishedAssessmentIfc assessment,
javax.servlet.http.HttpServletRequest request,
SecureDeliveryServiceAPI.Phase phase,
SecureDeliveryServiceAPI.PhaseStatus status,
Locale locale)
moduleId - assessment - request - phase - status - locale -
String encryptPassword(String moduleId,
String password)
moduleId - password -
String decryptPassword(String moduleId,
String password)
moduleId - password -
SecureDeliveryModuleIfc getModuleReference(String moduleId,
Object context)
moduleId - context -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||