org.seasar.extension.dbsession
クラス DbSessionState

java.lang.Object
  拡張org.seasar.extension.dbsession.DbSessionState

public class DbSessionState
extends Object

HttpSessionの状態をあらわすクラスです。

作成者:
higa

コンストラクタの概要
DbSessionState(Map binaryData)
           
 
メソッドの概要
 Enumeration getAccessedAttributeNames()
          アクセスされたすべての属性名を返します。
 Object getAttribute(String name)
          指定された名前に対する値を返します。
 Enumeration getAttributeNames()
          セッションで管理されているすべての属性名を返します。
 boolean needDelete(String name)
          deleteする必要があるかどうか返します。
 boolean needInsert(String name)
          insertする必要があるかどうか返します。
 boolean needUpdate(String name)
          updateする必要があるかどうか返します。
 void setAttribute(String name, Object value)
          名前に対する値を設定します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DbSessionState

public DbSessionState(Map binaryData)
パラメータ:
binaryData -
メソッドの詳細

getAttribute

public Object getAttribute(String name)
指定された名前に対する値を返します。

パラメータ:
name -
戻り値:

getAttributeNames

public Enumeration getAttributeNames()
セッションで管理されているすべての属性名を返します。

戻り値:

getAccessedAttributeNames

public Enumeration getAccessedAttributeNames()
アクセスされたすべての属性名を返します。

戻り値:

setAttribute

public void setAttribute(String name,
                         Object value)
名前に対する値を設定します。

パラメータ:
name -
value -

needInsert

public boolean needInsert(String name)
insertする必要があるかどうか返します。

パラメータ:
name -
戻り値:

needUpdate

public boolean needUpdate(String name)
updateする必要があるかどうか返します。

パラメータ:
name -
戻り値:

needDelete

public boolean needDelete(String name)
deleteする必要があるかどうか返します。

パラメータ:
name -
戻り値:


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.