03-11-2009 07:24 AM
import org.alfresco.web.scripts.WebScriptStatus;
…
protected Map<String, Object> executeImpl(WebScriptRequest req, WebScriptStatus status) {
String id = req.getParameter("id");
String action = req.getParameter("action");
if (id == null || action == null) {
logger.debug("Email, ID, action, or secret not set");
status.setCode(400);
status.setMessage("Required data has not been provided");
status.setRedirect(true);
}
…
But the type WebScriptStatus seems to be deprecated (using Alfresco Stable 3d), so I've got a warning for every call to the object status.03-11-2009 07:29 AM
protected Map<String, Object> executeImpl(WebScriptRequest req, Status status, Cache cache){
03-11-2009 07:44 AM
executeImpl(WebScriptRequest req, WebScriptStatus status, WebScriptCache cache)
(cache is a WebScriptCache type and not a Cache type, for the org.alfresco.repo.web.scripts.content.StreamContent class)
executeImpl(WebScriptRequest req, WebScriptStatus status)
as described in the javadoc. For the moment I don't quite know what is the WebScriptCache…Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.