org.apache.portals.graffito.model.server
Interface GraffitoServer

All Superinterfaces:
Server

public interface GraffitoServer
extends Server

Graffito Server interface is the default content store for Graffito. GraffitoServer is a db server with a predefined schema (see in the component subproject to see this schema).

Version:
$Id: GraffitoServer.java,v 1.1 2004/12/22 21:16:10 christophe Exp $
Author:
Christophe Lombart

Method Summary
 java.lang.String getDatasource()
          Get the datasource
 java.lang.String getDbAlias()
          Get the Db alias used to connect to the DB
 java.lang.String getDriver()
          Get the jdbc driver
 java.lang.String getJdbcLevel()
          Get the JDBC level
 java.lang.String getLogin()
          Get the login
 java.lang.String getPassword()
          Get the password
 java.lang.String getPlateform()
          Get the DB plateform name (MySql, Oracle, ...).
 java.lang.String getProtocol()
          Get the protocol
 java.lang.String getSubProtocol()
          Get the subprotocol used to build the connection url
 void setDatasource(java.lang.String datasource)
          Set the datasource
 void setDbAlias(java.lang.String dbAlias)
          Set the Db alias used to connect to the DB
 void setDriver(java.lang.String driver)
          Set the jdbc driver
 void setJdbcLevel(java.lang.String jdbcLevel)
          Set the jdbc level
 void setLogin(java.lang.String login)
          Set the login
 void setPassword(java.lang.String password)
          Set the password
 void setPlateform(java.lang.String plateform)
          Set the DB plateform name (MySql, Oracle, ...).
 void setProtocol(java.lang.String protocol)
          Set the protocol.
 void setSubProtocol(java.lang.String subProtocol)
          Set the subprotocol used to build the connection url
 
Methods inherited from interface org.apache.portals.graffito.model.server.Server
getAlias, getDescription, getScope, getStoreClassName, getTitle, setAlias, setDescription, setScope, setStoreClassName, setTitle
 

Method Detail

getPlateform

java.lang.String getPlateform()
Get the DB plateform name (MySql, Oracle, ...).

Returns:
the DB plateform

setPlateform

void setPlateform(java.lang.String plateform)
Set the DB plateform name (MySql, Oracle, ...).

Parameters:
plateform - The new plateform value

getDbAlias

java.lang.String getDbAlias()
Get the Db alias used to connect to the DB

Returns:
the Db alias

setDbAlias

void setDbAlias(java.lang.String dbAlias)
Set the Db alias used to connect to the DB

Parameters:
dbAlias - the new db alias value

getJdbcLevel

java.lang.String getJdbcLevel()
Get the JDBC level

Returns:
the jdbc level

setJdbcLevel

void setJdbcLevel(java.lang.String jdbcLevel)
Set the jdbc level

Parameters:
jdbcLevel -

getDatasource

java.lang.String getDatasource()
Get the datasource

Returns:
the datasource

setDatasource

void setDatasource(java.lang.String datasource)
Set the datasource

Parameters:
datasource - The new datasource value

getDriver

java.lang.String getDriver()
Get the jdbc driver

Returns:
the driver

setDriver

void setDriver(java.lang.String driver)
Set the jdbc driver

Parameters:
driver - The new jdbc driver

getProtocol

java.lang.String getProtocol()
Get the protocol

Returns:
the protocal

setProtocol

void setProtocol(java.lang.String protocol)
Set the protocol. It should be 'jdbc'

Parameters:
protocol -

getSubProtocol

java.lang.String getSubProtocol()
Get the subprotocol used to build the connection url

Returns:
thhe subprotocol

setSubProtocol

void setSubProtocol(java.lang.String subProtocol)
Set the subprotocol used to build the connection url

Parameters:
subProtocol - The new subprotocol value

getLogin

java.lang.String getLogin()
Get the login

Returns:
The login

setLogin

void setLogin(java.lang.String login)
Set the login

Parameters:
login - The new login value

getPassword

java.lang.String getPassword()
Get the password

Returns:
the password

setPassword

void setPassword(java.lang.String password)
Set the password

Parameters:
password - The new password value


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.