Codota Logo
Description.getId
Code IndexAdd Codota to your IDE (free)

How to use
getId
method
in
org.springframework.extensions.webscripts.Description

Best Java code snippets using org.springframework.extensions.webscripts.Description.getId (Showing top 20 results out of 315)

  • Common ways to obtain Description
private void myMethod () {
Description d =
  • Codota IconWebScript script;script.getDescription()
  • Smart code suggestions by Codota
}
origin: org.springframework.extensions.surf/spring-surf

public String getId()
{
  return description.getId();
}
origin: org.alfresco.surf/spring-surf

public String getId()
{
  return description.getId();
}
origin: org.springframework.extensions.surf/spring-webscripts

/**
 * Associate Web Script with Path
 * 
 * @param script WebScript
 */
public void addScript(WebScript script)
{
  scripts.put(script.getDescription().getId(), script);
}

origin: org.alfresco.surf/spring-webscripts

/**
 * Associate Web Script with Path
 * 
 * @param script WebScript
 */
public void addScript(WebScript script)
{
  scripts.put(script.getDescription().getId(), script);
}

origin: deas/alfresco

/**
 * Associate Web Script with Path
 * 
 * @param script
 */
public void addScript(WebScript script)
{
  scripts.put(script.getDescription().getId(), script);
}

origin: org.springframework.extensions.surf/spring-webscripts

/**
 * Render a template (of given format) to the Web Script Response
 * 
 * @param format  template format (null, default format)  
 * @param model  data model to render
 * @param writer  where to output
 */
final protected void renderFormatTemplate(String format, Map<String, Object> model, Writer writer)
{
  format = (format == null) ? "" : format;
  String templatePath = getDescription().getId() + "." + format;
  if (logger.isDebugEnabled())
    logger.debug("Rendering template '" + templatePath + "'");
  renderTemplate(templatePath, model, writer);
}

origin: org.alfresco.surf/spring-webscripts

/**
 * Render a template (of given format) to the Web Script Response
 * 
 * @param format  template format (null, default format)  
 * @param model  data model to render
 * @param writer  where to output
 */
final protected void renderFormatTemplate(String format, Map<String, Object> model, Writer writer)
{
  format = (format == null) ? "" : format;
  String templatePath = getDescription().getId() + "." + format;
  if (logger.isDebugEnabled())
    logger.debug("Rendering template '" + templatePath + "'");
  renderTemplate(templatePath, model, writer);
}

origin: org.alfresco.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPathsByRegEx("/", scriptPaths, false);
}
origin: org.springframework.extensions.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: org.springframework.extensions.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPathsByRegEx("/", scriptPaths, false);
}
origin: org.springframework.extensions.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: org.alfresco.surf/spring-surf

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: deas/alfresco

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("", false, scriptPaths);
}
origin: org.springframework.extensions.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("", false, scriptPaths);
}
origin: org.alfresco.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script)
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("", false, scriptPaths);
}
origin: org.alfresco.surf/spring-webscripts

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: deas/alfresco

public String[] getScriptDocumentPaths(WebScript script) throws IOException
{
  String scriptPaths = script.getDescription().getId() + ".*";
  return getDocumentPaths("/", false, scriptPaths);
}
origin: org.springframework.extensions.surf/spring-webscripts

  public StatusTemplate getStatusTemplate()
  {
    int statusCode = we.getStatus();
    String format = req.getFormat();
    String scriptId = getDescription().getId();
    return AbstractWebScript.this.getStatusTemplate(scriptId, statusCode, (format == null) ? "" : format);
  }
});
origin: org.alfresco.surf/spring-webscripts

  public StatusTemplate getStatusTemplate()
  {
    int statusCode = we.getStatus();
    String format = req.getFormat();
    String scriptId = getDescription().getId();
    return AbstractWebScript.this.getStatusTemplate(scriptId, statusCode, (format == null) ? "" : format);
  }
});
origin: deas/alfresco

  public StatusTemplate getStatusTemplate()
  {
    int statusCode = we.getStatus();
    String format = req.getFormat();
    String scriptId = getDescription().getId();
    return AbstractWebScript.this.getStatusTemplate(scriptId, statusCode, (format == null) ? "" : format);
  }
});
org.springframework.extensions.webscriptsDescriptiongetId

Popular methods of Description

  • getFamilys
    Gets the family(s) of this service in the order that they are defined
  • getURIs
    Gets the URIs this service supports
  • getDefaultFormat
    Gets the default response format Note: the default response format is the first listed in the servic
  • getDescPath
    Gets the path of the description xml document for this web script
  • getFormatStyle
    Gets the style of Format discriminator supported by this web script
  • getLifecycle
    Get the lifecycle
  • getMethod
    Gets the HTTP method this service is bound to
  • getMultipartProcessing
  • getNegotiatedFormats
    Gets the formats available for negotiation
  • getRequestTypes
    Gets webscript request types
  • getRequiredAuthentication
    Gets the required authentication level for execution of this service
  • getRequiredCache
    Gets the required level of caching
  • getRequiredAuthentication,
  • getRequiredCache,
  • getResponseTypes,
  • getScriptPath,
  • getShortName,
  • getStorePath,
  • getArguments,
  • getDescDocument,
  • getPackage

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • addToBackStack (FragmentTransaction)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Notification (javax.management)
  • JLabel (javax.swing)
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