com.scooterframework.builtin.databrowser
Class ApplicationController

java.lang.Object
  extended by com.scooterframework.builtin.databrowser.ApplicationController
Direct Known Subclasses:
DatabasesController, RecordsController, TablesController, ViewsController, VrecordsController

public class ApplicationController
extends java.lang.Object

ApplicationController class contains common methods for DataBrowser.


Constructor Summary
ApplicationController()
           
 
Method Summary
 java.lang.String getDatabase()
          Returns database name.
 java.lang.String getTable()
          Returns table name.
 java.lang.String getTableKey()
          Returns table key.
 java.lang.String getView()
          Returns view name.
 java.lang.String getViewKey()
          Returns view key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationController

public ApplicationController()
Method Detail

getDatabase

public java.lang.String getDatabase()
Returns database name. If using plural names, the database name comes from database_id, otherwise, it comes from databases_id;

Returns:
database name

getTable

public java.lang.String getTable()
Returns table name. If using plural names, the table name comes from table_id, otherwise, it comes from tables_id;

Returns:
table name

getTableKey

public java.lang.String getTableKey()
Returns table key. If using plural names, the table key is table_id, otherwise, it is tables_id;

Returns:
table key

getView

public java.lang.String getView()
Returns view name. If using plural names, the view name comes from view_id, otherwise, it comes from views_id;

Returns:
view name

getViewKey

public java.lang.String getViewKey()
Returns view key. If using plural names, the view key is view_id, otherwise, it is views_id;

Returns:
view key