Codota Logo
EntityView.getOriginalEntityUrl
Code IndexAdd Codota to your IDE (free)

How to use
getOriginalEntityUrl
method
in
org.sakaiproject.entitybroker.EntityView

Best Java code snippets using org.sakaiproject.entitybroker.EntityView.getOriginalEntityUrl (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: sakaiproject/sakai

/**
 * Get all the path segments for the encoded URL for this view<br/>
 * Example: /user/aaronz/promote/stuff.xml <br/>
 * segments = {"user","aaronz","promote","stuff"}
 * @return an array of path segments
 */
public String[] getPathSegments() {
  String url = getOriginalEntityUrl();
  if (url == null) {
    url = getEntityURL();
  }
  String[] segments = new String[0];
  if (url != null) {
    url = TemplateParseUtil.findExtension(url)[1];
    if (url.charAt(0) == SEPARATOR) {
      url = url.substring(1);
    }
    segments = url.split(SEPARATOR+"");
  }
  return segments;
}
origin: sakaiproject/sakai

@EntityCustomAction(action="yyyy",viewKey="")
public ActionReturn xxxAction(EntityView view) {
 return new ActionReturn(view.getOriginalEntityUrl());
}
origin: org.sakaiproject.entitybroker/entitybroker-mocks

@EntityCustomAction(action="yyyy",viewKey="")
public ActionReturn xxxAction(EntityView view) {
 return new ActionReturn(view.getOriginalEntityUrl());
}
origin: sakaiproject/sakai

res.setHeader("x-sdata-url", view.getOriginalEntityUrl());
origin: org.sakaiproject.entitybroker/entitybroker-restimpl

res.setHeader("x-sdata-url", view.getOriginalEntityUrl());
origin: sakaiproject/sakai

  && view.getEntityReference().getId() == null) {
throw new EntityException("Unable to handle entity ("+view.getEntityReference()+") delete request without entity id, url=" 
    + view.getOriginalEntityUrl(), 
    view.getEntityReference()+"", HttpServletResponse.SC_BAD_REQUEST);
origin: sakaiproject/sakai

      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + "): " + e.getMessage(),
      view.getEntityReference()+"", HttpServletResponse.SC_INTERNAL_SERVER_ERROR);        
} catch (IllegalArgumentException e) {
      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + "): " + e.getMessage(),
      view.getEntityReference()+"", HttpServletResponse.SC_BAD_REQUEST);        
} catch (IllegalStateException e) {
      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + "): " + e.getMessage(),
      view.getEntityReference()+"", HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + ")",
      view.getEntityReference()+"", HttpServletResponse.SC_NOT_ACCEPTABLE );
origin: org.sakaiproject.entitybroker/entitybroker-restimpl

      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + "): " + e.getMessage(),
      view.getEntityReference()+"", HttpServletResponse.SC_INTERNAL_SERVER_ERROR);        
} catch (IllegalArgumentException e) {
      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + "): " + e.getMessage(),
      view.getEntityReference()+"", HttpServletResponse.SC_BAD_REQUEST);        
} catch (IllegalStateException e) {
      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + "): " + e.getMessage(),
      view.getEntityReference()+"", HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
      + path + ") for prefix (" + prefix + ") for entity (" + view.getEntityReference() + "), request url (" + view.getOriginalEntityUrl() + ")",
      view.getEntityReference()+"", HttpServletResponse.SC_NOT_ACCEPTABLE );
org.sakaiproject.entitybrokerEntityViewgetOriginalEntityUrl

Javadoc

Special use only, normally you should use #toString() or #getEntityURL(String,String)

Popular methods of EntityView

  • getEntityReference
  • setViewKey
  • <init>
  • getEntityURL
  • getViewKey
  • setEntityReference
  • setExtension
  • copy
    Makes a copy of an EntityView which can be changed independently
  • getExtension
  • getFormat
  • loadParseTemplates
    Override this method if creating a custom EntityView object
  • parseEntityURL
    Used to build this object after it has already been created (typically so custom templates can be in
  • loadParseTemplates,
  • parseEntityURL,
  • setMethod,
  • toString,
  • checkEntityURL,
  • getAnazlyzedTemplates,
  • getMethod,
  • getParseTemplate,
  • getParseTemplates

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • runOnUiThread (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • JList (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now