Package org.bgerp.app.servlet

# Class Interface

java.lang.Object
org.bgerp.app.servlet.Interface

public class Interface extends Object
Types of user interfaces.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `OPEN`
  `static final String`
  `USER`
  `static final String`
  `USER_MOB`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Interface()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `getIface(javax.servlet.http.HttpServletRequest request)`
  Detects request interface.
  `static String`
  `getUrlOpen()`
  Parameter `url.open` from `Setup`.
  `static String`
  `getUrlUser()`
  Parameter `url.user` from `Setup`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### USER

    public static final String USER
    See Also:
      - Constant Field Values

  - ### OPEN

    public static final String OPEN
    See Also:
      - Constant Field Values

  - ### USER_MOB

    public static final String USER_MOB
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Interface

    public Interface()

- ## Method Details

  - ### getIface

    public static String getIface(javax.servlet.http.HttpServletRequest request)
    Detects request interface.
    Returns:
      `USER`, `OPEN`, `USER_MOB` or `"undef"`

  - ### getUrlUser

    public static String getUrlUser()
    Parameter `url.user` from `Setup`.
    Returns:
      parameter value or `/user`.

  - ### getUrlOpen

    public static String getUrlOpen()
    Parameter `url.open` from `Setup`.
    Returns:
      parameter value or `/open`.