org.unitedfront2.dao
インタフェース SimpleDeletable

既知のサブインタフェースの一覧:
AccessControlDao, BlogDao, CommentDao, CommunityDao, MessageDao, ThreadDao
既知の実装クラスの一覧:
AccessControlDaoImpl, AccountDaoImpl, BlogDaoImpl, CommentDaoImpl, CommunityDaoImpl, MailDaoImpl, MessageDaoImpl, ProfileDaoImpl, SimpleDaoSupport, SimpleUserDaoImpl, ThreadDaoImpl

public interface SimpleDeletable

整数型主キーをただひとつ持つドメインオブジェクトを削除可能であることを表すインターフェースです。

作成者:
kurokkie

メソッドの概要
 void delete(int id)
          指定した主キーを持つデータを削除します。
 

メソッドの詳細

delete

void delete(int id)
指定した主キーを持つデータを削除します。削除対象となるドメインオブジェクトのプロパティとなるドメインオブ ジェクトも 極力 削除されます。プロパティとなるドメインオブジェクトが他のドメイン オブジェクトからも参照されている場合などは削除されない可能性があります。

パラメータ:
id - 主キー
'事前条件:'
The ${id} exists in database., ${id} の削除はデータ整合性制約に違反しない。(クラス不変表明を満たす)
'事後条件:'
The ${id} not exists in database.


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