ibrokerkit.iservicestore.store.impl.db
Class DbAuthentication

java.lang.Object
  extended by ibrokerkit.iservicestore.store.impl.AbstractAuthentication
      extended by ibrokerkit.iservicestore.store.impl.db.DbAuthentication
All Implemented Interfaces:
Authentication, DbObject, IService, java.io.Serializable, java.lang.Comparable<IService>

public class DbAuthentication
extends AbstractAuthentication
implements DbObject

See Also:
Serialized Form

Method Summary
static java.util.List<DbAuthentication> All(org.hibernate.Session session)
           
static java.util.List<DbAuthentication> AllByIndx(org.hibernate.Session session, java.lang.String indx)
           
static java.util.List<DbAuthentication> AllByQxri(org.hibernate.Session session, java.lang.String qxri)
           
static java.lang.Long Count(org.hibernate.Session session)
           
static DbAuthentication 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.Long getId()
          Get the internal ID of this i-service.
 java.lang.String getIndx()
          Get the INDX value of this i-service.
 java.lang.String getName()
          Get the internal name of this i-service.
 java.lang.String getPass()
          Get the hashed password associated with this Authentication 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 setIndx(java.lang.String indx)
          Set the INDX value of this i-service.
 void setName(java.lang.String name)
          Get the internal name of this i-service.
 void setPass(java.lang.String pass)
          Set the hashed password associated with this Authentication 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.AbstractAuthentication
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.

getPass

public java.lang.String getPass()
Description copied from interface: Authentication
Get the hashed password associated with this Authentication i-service.

Specified by:
getPass in interface Authentication
Returns:
Hashed password.

setPass

public void setPass(java.lang.String pass)
Description copied from interface: Authentication
Set the hashed password associated with this Authentication i-service.

Specified by:
setPass in interface Authentication
Parameters:
pass - Hashed password.

All

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

AllByQxri

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

AllByIndx

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

EnabledByQxri

public static DbAuthentication 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.