All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.html.lib.angular.ILocationService Maven / Gradle / Ivy

package net.java.html.lib.angular;
public class ILocationService extends net.java.html.lib.Objs {
  protected ILocationService(net.java.html.lib.Objs.Constructor c, java.lang.Object js) {
    super(c, js);
  }
  private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
    $Constructor() {
      super(ILocationService.class);
    }
    @Override
    public ILocationService create(java.lang.Object obj) {
      return obj == null ? null : new ILocationService(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static ILocationService $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  public java.lang.String absUrl() {
    return $Typings$.absUrl$265($js(this));
  }
  public java.lang.String hash() {
    return $Typings$.hash$266($js(this));
  }
  public ILocationService hash(java.lang.String newHash) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.hash$267($js(this), newHash));
  }
  public java.lang.String host() {
    return $Typings$.host$268($js(this));
  }
  /**
  * Return path of current url
  */
  public java.lang.String path() {
    return $Typings$.path$269($js(this));
  }
  /**
  * Change path when called with parameter and return $location.
  * Note: Path should always begin with forward slash (/), this method will add the forward slash if it is missing.
  *
  * @param path New path
  */
  public ILocationService path(java.lang.String path) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.path$270($js(this), path));
  }
  public double port() {
    return $Typings$.port$271($js(this));
  }
  public java.lang.String protocol() {
    return $Typings$.protocol$272($js(this));
  }
  public ILocationService replace() {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.replace$273($js(this)));
  }
  /**
  * Return search part (as object) of current url
  */
  public java.lang.Object search() {
    return $Typings$.search$274($js(this));
  }
  /**
  * Change search part when called with parameter and return $location.
  *
  * @param search When called with a single argument the method acts as a setter, setting the search component of $location to the specified value.
  *
  * If the argument is a hash object containing an array of values, these values will be encoded as duplicate search parameters in the url.
  */
  public ILocationService search(java.lang.Object search) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.search$275($js(this), /* AnyKeyword*/$js(search)));
  }
  /**
  * Change search part when called with parameter and return $location.
  *
  * @param search New search params
  * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign.
  */
  public ILocationService search(java.lang.String search, java.lang.String paramValue) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.search$276($js(this), search, /* UnionType*/$js(paramValue)));
  }
  /**
  * Change search part when called with parameter and return $location.
  *
  * @param search New search params
  * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign.
  */
  public ILocationService search(java.lang.String search, double paramValue) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.search$276($js(this), search, /* UnionType*/$js(paramValue)));
  }
  /**
  * Change search part when called with parameter and return $location.
  *
  * @param search New search params
  * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign.
  */
  public ILocationService search(java.lang.String search, java.lang.String[] paramValue) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.search$276($js(this), search, /* UnionType*/$js(paramValue)));
  }
  /**
  * Change search part when called with parameter and return $location.
  *
  * @param search New search params
  * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign.
  */
  public ILocationService search(java.lang.String search, java.lang.Boolean paramValue) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.search$276($js(this), search, /* UnionType*/$js(paramValue)));
  }
  public java.lang.Object state() {
    return $Typings$.state$277($js(this));
  }
  public ILocationService state(java.lang.Object state) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.state$278($js(this), /* AnyKeyword*/$js(state)));
  }
  public java.lang.String url() {
    return $Typings$.url$279($js(this));
  }
  public ILocationService url(java.lang.String url) {
    return (ILocationService)net.java.html.lib.angular.ILocationService.$as($Typings$.url$280($js(this), url));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy