ibrokerkit.iservicestore.store.impl.db
Class DbForwarding

java.lang.Object
  extended by ibrokerkit.iservicestore.store.impl.AbstractForwarding
      extended by ibrokerkit.iservicestore.store.impl.db.DbForwarding
All Implemented Interfaces:
Forwarding, DbObject, IService, java.io.Serializable, java.lang.Comparable<IService>

public class DbForwarding
extends AbstractForwarding
implements DbObject

See Also:
Serialized Form

Method Summary
static java.util.List<DbForwarding> All(org.hibernate.Session session)
           
static java.util.List<DbForwarding> AllByIndx(org.hibernate.Session session, java.lang.String indx)
           
static java.util.List<DbForwarding> AllByQxri(org.hibernate.Session session, java.lang.String qxri)
           
static java.lang.Long Count(org.hibernate.Session session)
           
static DbForwarding EnabledByQxri(org.hibernate.Session session, java.lang.String qxri)
           
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
          Get arbitrary key/value pairs.
 java.lang.Boolean getEnabled()
          Get a flag whether the i-service is enabled or not.
 java.lang.Boolean getErrorPage()
          Get a flag whether this Forwarding i-service should support an automatic error page at undefined mappings.
 java.lang.Long getId()
          Get the internal ID of this i-service.
 java.lang.Boolean getIndexPage()
          Get a flag whether this Forwarding i-service should support an automatic index page at /(+index).
 java.lang.String getIndx()
          Get the INDX value of this i-service.
 java.util.Map<java.lang.String,java.lang.String> getMappings()
          Get the mappings associated with this Forwarding i-service.
 java.lang.String getName()
          Get the internal name of this i-service.
 java.lang.String getQxri()
          Get the QXRI this i-service is bound to.
 java.sql.Timestamp getTimestamp()
          Get the internal timestamp of this i-service.
 void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
          Set arbitrary key/value pairs.
 void setEnabled(java.lang.Boolean enabled)
          Set a flag whether the i-service is enabled or not.
 void setErrorPage(java.lang.Boolean errorPage)
          Set a flag whether this Forwarding i-service should support an automatic error page at undefined mappings.
 void setIndexPage(java.lang.Boolean indexPage)
          Set a flag whether this Forwarding i-service should support an automatic index page at /(+index).
 void setIndx(java.lang.String indx)
          Set the INDX value of this i-service.
 void setMappings(java.util.Map<java.lang.String,java.lang.String> mappings)
          Set the mappings associated with this Forwarding i-service.
 void setName(java.lang.String name)
          Get the internal name of this i-service.
 void setQxri(java.lang.String qxri)
          Set the QXRI this i-service is bound to.
 
Methods inherited from class ibrokerkit.iservicestore.store.impl.AbstractForwarding
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public java.lang.Long getId()
Description copied from interface: IService
Get the internal ID of this i-service.

Specified by:
getId in interface IService
Returns:
ID.

getTimestamp

public java.sql.Timestamp getTimestamp()
Description copied from interface: IService
Get the internal timestamp of this i-service.

Specified by:
getTimestamp in interface IService
Returns:
Timestamp.

getQxri

public java.lang.String getQxri()
Description copied from interface: IService
Get the QXRI this i-service is bound to.

Specified by:
getQxri in interface IService
Returns:
Qxri.

setQxri

public void setQxri(java.lang.String qxri)
Description copied from interface: IService
Set the QXRI this i-service is bound to.

Specified by:
setQxri in interface IService
Parameters:
qxri - Qxri.

getName

public java.lang.String getName()
Description copied from interface: IService
Get the internal name of this i-service. This is only used for informational purposes and may be empty.

Specified by:
getName in interface IService
Returns:
Name.

setName

public void setName(java.lang.String name)
Description copied from interface: IService
Get the internal name of this i-service. This is only used for informational purposes and may be empty.

Specified by:
setName in interface IService
Parameters:
name - Name.

getEnabled

public java.lang.Boolean getEnabled()
Description copied from interface: IService
Get a flag whether the i-service is enabled or not. An i-service that is not enabled cannot be invoked through ibrokerFront.

Specified by:
getEnabled in interface IService
Returns:
Enabled flag.

setEnabled

public void setEnabled(java.lang.Boolean enabled)
Description copied from interface: IService
Set a flag whether the i-service is enabled or not. An i-service that is not enabled cannot be invoked through ibrokerFront.

Specified by:
setEnabled in interface IService
Parameters:
enabled - Enabled flag.

getAttributes

public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Description copied from interface: IService
Get arbitrary key/value pairs. These attributes are not used internally.

Specified by:
getAttributes in interface IService
Returns:
Attributes.

setAttributes

public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Description copied from interface: IService
Set arbitrary key/value pairs. These attributes are not used internally.

Specified by:
setAttributes in interface IService
Parameters:
attributes - Attributes.

getIndx

public java.lang.String getIndx()
Description copied from interface: IService
Get the INDX value of this i-service.

Specified by:
getIndx in interface IService
Returns:
Indx.

setIndx

public void setIndx(java.lang.String indx)
Description copied from interface: IService
Set the INDX value of this i-service.

Specified by:
setIndx in interface IService
Parameters:
indx - Indx.

getIndexPage

public java.lang.Boolean getIndexPage()
Description copied from interface: Forwarding
Get a flag whether this Forwarding i-service should support an automatic index page at /(+index).

Specified by:
getIndexPage in interface Forwarding
Returns:
Index Page flag.

setIndexPage

public void setIndexPage(java.lang.Boolean indexPage)
Description copied from interface: Forwarding
Set a flag whether this Forwarding i-service should support an automatic index page at /(+index).

Specified by:
setIndexPage in interface Forwarding
Parameters:
indexPage - Index Page flag.

getErrorPage

public java.lang.Boolean getErrorPage()
Description copied from interface: Forwarding
Get a flag whether this Forwarding i-service should support an automatic error page at undefined mappings.

Specified by:
getErrorPage in interface Forwarding
Returns:
errorPage Error Page flag.

setErrorPage

public void setErrorPage(java.lang.Boolean errorPage)
Description copied from interface: Forwarding
Set a flag whether this Forwarding i-service should support an automatic error page at undefined mappings.

Specified by:
setErrorPage in interface Forwarding
Parameters:
errorPage - Error Page flag.

getMappings

public java.util.Map<java.lang.String,java.lang.String> getMappings()
Description copied from interface: Forwarding
Get the mappings associated with this Forwarding i-service.

Specified by:
getMappings in interface Forwarding
Returns:
Mappings.

setMappings

public void setMappings(java.util.Map<java.lang.String,java.lang.String> mappings)
Description copied from interface: Forwarding
Set the mappings associated with this Forwarding i-service.

Specified by:
setMappings in interface Forwarding
Parameters:
mappings - Mappings.

All

public static java.util.List<DbForwarding> All(org.hibernate.Session session)

AllByQxri

public static java.util.List<DbForwarding> AllByQxri(org.hibernate.Session session,
                                                     java.lang.String qxri)

AllByIndx

public static java.util.List<DbForwarding> AllByIndx(org.hibernate.Session session,
                                                     java.lang.String indx)

EnabledByQxri

public static DbForwarding EnabledByQxri(org.hibernate.Session session,
                                         java.lang.String qxri)

Count

public static java.lang.Long Count(org.hibernate.Session session)


Copyright © 2009. All Rights Reserved.