org.unitedfront2.domain.communication
クラス BlogEntryTable

java.lang.Object
  上位を拡張 org.unitedfront2.domain.communication.BlogEntryTable

public class BlogEntryTable
extends Object

ブログ記事のファクトリクラスです。

作成者:
kurokkie

フィールドの概要
protected  Log logger
          ログ
 
コンストラクタの概要
BlogEntryTable()
           
 
メソッドの概要
 BlogEntry find(int id)
          ブログ記事を取得します。
 BlogEntry findByCode(String code)
          記事コードを持つブログ記事を取得します。
 BlogEntry get(int id)
          ブログ記事を取得します。
 void setDomainFactory(DomainFactory domainFactory)
           
 void setMessageTable(MessageTable messageTable)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

logger

protected final Log logger
ログ

コンストラクタの詳細

BlogEntryTable

public BlogEntryTable()
メソッドの詳細

find

public BlogEntry find(int id)
ブログ記事を取得します。

パラメータ:
id - ブログ記事 ID
戻り値:
ブログ記事

get

public BlogEntry get(int id)
              throws IllegalArgumentException
ブログ記事を取得します。

パラメータ:
id - ブログ記事 ID
戻り値:
ブログ記事
例外:
IllegalArgumentException - 指定した ID が存在しない。

findByCode

public BlogEntry findByCode(String code)
記事コードを持つブログ記事を取得します。

パラメータ:
code - 記事コード(メッセージコード)
戻り値:
ブログ記事、見つからなければ null

setMessageTable

public void setMessageTable(MessageTable messageTable)

setDomainFactory

public void setDomainFactory(DomainFactory domainFactory)


Copyright © 2007-2008 www.unitedfront2.org. All Rights Reserved.