/** * Access the partial URL that forms the root of resource URLs. * * @param relative * if true, form within the access path only (i.e. starting with /msg) * @return the partial URL that forms the root of resource URLs. */ protected String getAccessPoint(boolean relative) { return (relative ? "" : ServerConfigurationService.getAccessUrl()) + REFERENCE_ROOT; } // getAccessPoint
protected String getAccessPoint(boolean relative) { return (relative ? "" : ServerConfigurationService.getAccessUrl()) + m_relativeAccessPoint; }
public String getReference() { return ServerConfigurationService.getAccessUrl() + "/poll/" + Entity.SEPARATOR + this.getId(); }
public String getUrl() { return ServerConfigurationService.getAccessUrl() + "/poll/" + this.getId(); }
public String getUrl() { return ServerConfigurationService.getAccessUrl() + getReference(); }
/** * {@inheritDoc} */ public String getEntityUrl(Reference ref) { return ServerConfigurationService.getAccessUrl() + ref.getReference(); }
public String getUrl() { return ServerConfigurationService.getAccessUrl() + getReference(); }
public String getReference() { return ServerConfigurationService.getAccessUrl() + "/poll/" + Entity.SEPARATOR + this.getId(); }
public String getUrl() { return ServerConfigurationService.getAccessUrl() + "/poll/" + this.getId(); }
public String getUrl() { return ServerConfigurationService.getAccessUrl() + getReference(); }
public String getUrl() { return ServerConfigurationService.getAccessUrl() + getReference(); }
public String getUrl() { return ServerConfigurationService.getAccessUrl() + getReference(); }
public String getEntityUrl(Reference ref) { return ServerConfigurationService.getAccessUrl() + Validator.escapeUrl(ref.getReference()); }
public String makeFCKAttachmentFromRespondus(String text) { if (text == null) { return text; } String processedText = XmlUtil.processFormattedText(text); // if unzipLocation is null, there is no assessment attachment - no action is needed if (unzipLocation == null || text.equals("")) { return processedText; } String accessURL = ServerConfigurationService.getAccessUrl(); String referenceRoot = AssessmentService.getContentHostingService().REFERENCE_ROOT; String url = accessURL + referenceRoot; String finalString = makeImageAttachment(text, url); return finalString; }
public String makeFCKAttachmentFromRespondus(String text) { if (text == null) { return text; } String processedText = XmlUtil.processFormattedText(text); // if unzipLocation is null, there is no assessment attachment - no action is needed if (unzipLocation == null || text.equals("")) { return processedText; } String accessURL = ServerConfigurationService.getAccessUrl(); String referenceRoot = AssessmentService.getContentHostingService().REFERENCE_ROOT; String url = accessURL + referenceRoot; String finalString = makeImageAttachment(text, url); return finalString; }
return ""; String accessURL = ServerConfigurationService.getAccessUrl(); String referenceRoot = AssessmentService.getContentHostingService().REFERENCE_ROOT; String prependString = accessURL + referenceRoot;
return ""; String accessURL = ServerConfigurationService.getAccessUrl(); String referenceRoot = AssessmentService.getContentHostingService().REFERENCE_ROOT; String prependString = accessURL + referenceRoot;
String accessURL = ServerConfigurationService.getAccessUrl(); String referenceRoot = AssessmentService.getContentHostingService().REFERENCE_ROOT; String prependString = accessURL + referenceRoot;
String accessURL = ServerConfigurationService.getAccessUrl(); String referenceRoot = AssessmentService.getContentHostingService().REFERENCE_ROOT; String prependString = accessURL + referenceRoot;