入門記5:動かしてみた際の補足の補足の補足の補足。

また補足。

id:makotan様からの頂いた啓示「最後のActivityのFinishModeをManualにすれば良いだけだと思うよ」に従って、そのように変更してみた、の巻。(これが一段落したら、Bao外しの前にIF文再考をしないとなぁと思っている次第なのですが、入門記1で予告したBao外しに全然辿りつかないというのも、これはこれでまたヤキモキ><)


まず、今まで使っていたフローの「公開終了」のFinishModeをManualに変更します。(BuriはこのFinishModeがManualのものを「状態」として認識する模様)ついでに、以前のフローを残しておきたいのでパッケージとプロセスの名前を変えます。


続いてBaoを直します。

public interface DocumentBao2 {

	public static final Class<DocumentDto> TARGETDTO = DocumentDto.class;
	public static final String PROCESS = "文書管理パッケージ2.文書管理プロセス2";

	public void register(DocumentDto document);
	public static final String register_ACTIVITY = "登録";

	public List<DocumentDto> getPublishings();
	public static final String getPublishings_ACTIVITY = "公開中";

	public void finishPublishing(DocumentDto document);

	// 今回追加した
	@BuriActivity(value="公開終了")
	public List<DocumentDto> getFinishedPublishings();

	public void removeDocument(DocumentDto document);

}

そしてUnitTest。(setup、checkDataのメソッドの中身は前回と同じです)

(中略)
	private DocumentBao2 bao;
(中略)
	public void testTx() {
		DocumentDto doc1 = new DocumentDto("文書A", "文書Aです。");
		DocumentDto doc2 = new DocumentDto("文書B", "文書Bです。");
		DocumentDto doc3 = new DocumentDto("文書C", "文書Cです。");
		this.checkData("start");	// チラリ
		// 1st
		this.bao.register(doc1);
		this.checkData("this.bao.register(doc1);");	// チラリ
		assertEquals(1, this.bao.getPublishings().size());
		assertEquals(0, this.bao.getFinishedPublishings().size());	// 追加
		// 2nd
		this.bao.register(doc2);
		this.checkData("this.bao.register(doc2);");	// チラリ
		this.bao.register(doc3);
		this.checkData("this.bao.register(doc3);");	// チラリ
		assertEquals(3, this.bao.getPublishings().size());
		assertEquals(0, this.bao.getFinishedPublishings().size());	// 追加
		// 3rd
		this.bao.finishPublishing(doc1);
		this.checkData("this.bao.finishPublishing(doc1);");	// チラリ
		assertEquals(2, this.bao.getPublishings().size());
		assertEquals(1, this.bao.getFinishedPublishings().size());	// 追加
		// 4th
		this.bao.finishPublishing(doc2);
		this.checkData("this.bao.finishPublishing(doc2);");	// チラリ
		this.bao.finishPublishing(doc3);
		this.checkData("this.bao.finishPublishing(doc3);");	// チラリ
		assertEquals(0, this.bao.getPublishings().size());
		assertEquals(3, this.bao.getFinishedPublishings().size());	// 追加

		this.bao.removeDocument(doc1);
		assertEquals(0, this.bao.getPublishings().size());			// 追加
		assertEquals(2, this.bao.getFinishedPublishings().size());	// 追加
		this.checkData("this.bao.removeDocument(doc1);");	// チラリ
	}
	private void checkData(String title) {
		System.out.println("☆" + title);
		this.output(this.buriBranchDao.getAllBuriBranch(), BuriBranchEntityDto.class.getName());
		this.output(this.buriDataDao.getAllBuriData(), BuriDataDao.class.getName());
		this.output(this.buriDataPathHistoryDao.getAllBuriDataPathHistory(), BuriDataPathHistoryEntityDto.class.getName());
		this.output(this.buriPathDao.getAllBuriPath(), BuriPathDao.class.getName());
		this.output(this.buriStateDao.getAllBuriState(), BuriStateEntityDto.class.getName());
		this.output(this.buriStateUndoLogDao.getAllBuriState(), BuriStateUndoLogEntityDto.class.getName());
		this.output(this.buriStateUserDao.getAllBuriBranch(), BuriStateUserEntityDto.class.getName());
//		this.output(this.buriTransactionDao.getAllBuriBranch(), BuriTransactionEntityDto.class.getName());
		this.output(this.buriUserDao.getAllBuriBranch(), BuriUserEntityDto.class.getName());
		DocumentDao docDao = (DocumentDao) super.getComponent("DocumentDao");
		this.output(docDao.selectAll(), DocumentDto.class.getName());
	}


後は、buri-user.diconとapp.diconを以下のように直します。

buri-user.dicon

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.3//EN"
	"http://www.seasar.org/dtd/components23.dtd">
<components>
	<include path="buri/dicon/allDao.dicon" />

	<component class="org.escafe.buri.common.util.BuriConfigurationImpl">
	</component>

	<component name="BuriEngineConfig" class="org.escafe.buri.engine.impl.BuriEngineConfigImpl">
		<initMethod name="addResourceConfig">
			<arg>"docmanage.xpdl"</arg>
			<arg>"文書管理パッケージ"</arg>
		</initMethod>
		<initMethod name="addResourceConfig">
			<arg>"docmanage2.xpdl"</arg>
			<arg>"文書管理パッケージ2"</arg>
		</initMethod>
	</component>

	<component name="ExcelBaseParticipantProvider" class="org.escafe.buri.common.participantprovider.impl.ExcelBaseParticipantProvider">
	</component>

	<component class="org.escafe.buri.common.participantprovider.impl.ExcelPrtiPrvidrParserImpl">
	</component>
</components>

app.dicon

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.3//EN"
	"http://www.seasar.org/dtd/components23.dtd">
<components>
	<include path="dao.dicon" />
	<include path="buri/dicon/bao.dicon" />

	<component name="DocumentDao" class="tryapp.dao.DocumentDao">
		<aspect>j2ee.requiredTx</aspect>
		<aspect>dao.interceptor</aspect>
	</component>

	<component name="DocumentBao" class="tryapp.bao.DocumentBao">
		<aspect>j2ee.requiredTx</aspect>
		<aspect>bao.interceptor</aspect>
	</component>
	<component name="DocumentBao2" class="tryapp.bao.DocumentBao2">
		<aspect>j2ee.requiredTx</aspect>
		<aspect>bao.interceptor</aspect>
	</component>

</components>


で実行すると。。。(また、ログを文末に張り付けてありますです)
無事成功しました。
軽い気持ちでついでに追加したremoveDocumentメソッドも、assertEqualsで参照している件数を見る限り無事動いているようです。


ここで得られたログを見ると、Buriで管理する「状態」はつまるところ、BuriStateの中でBuriPathのpathIDで管理されている「状態」とBuriDataのdataIDを結びつけて、かつprocessDateがそのデータの状態の有効期限のような役割を持っている、と想像できます。
だから、getPublishings、getFinishedPublishingsといったメソッドで適切な件数が返される、と。


BuriBranchが実は若干謎だったりしますが、ともあれBuriはBuriStateに状態を積んでいくように管理していくので、結果的に履歴も一緒に管理されるという事ですね。(履歴を照会する際のクエリは別途作らないといけないかな?)


☆start
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
	***** org.escafe.buri.dao.BuriDataDao *****
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
	***** org.escafe.buri.dto.BuriStateEntityDto *****
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
☆this.bao.register(doc1);
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
		[/branchID=46/parentBranchID=0/pathID=null/dataID=46/BTID=0/processDate=null/versionNo=0]
	***** org.escafe.buri.dao.BuriDataDao *****
		[/dataID=46/pkeyVal=null/pkeyNum=167/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
		[/pathID=33/pathName=文書管理パッケージ2.文書管理プロセス2.登録/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act1/pathType=null]
		[/pathID=34/pathName=文書管理パッケージ2.文書管理プロセス2.公開中/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act2/pathType=null]
	***** org.escafe.buri.dto.BuriStateEntityDto *****
		[/stateID=52/pathID=34/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:45.775/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
		id=[167] title=[文書A] content=[文書Aです。]
☆this.bao.register(doc2);
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
		[/branchID=46/parentBranchID=0/pathID=null/dataID=46/BTID=0/processDate=null/versionNo=0]
		[/branchID=47/parentBranchID=0/pathID=null/dataID=47/BTID=0/processDate=null/versionNo=0]
	***** org.escafe.buri.dao.BuriDataDao *****
		[/dataID=46/pkeyVal=null/pkeyNum=167/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=47/pkeyVal=null/pkeyNum=168/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
		[/pathID=33/pathName=文書管理パッケージ2.文書管理プロセス2.登録/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act1/pathType=null]
		[/pathID=34/pathName=文書管理パッケージ2.文書管理プロセス2.公開中/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act2/pathType=null]
	***** org.escafe.buri.dto.BuriStateEntityDto *****
		[/stateID=52/pathID=34/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:45.775/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=53/pathID=34/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.119/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
		id=[167] title=[文書A] content=[文書Aです。]
		id=[168] title=[文書B] content=[文書Bです。]
☆this.bao.register(doc3);
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
		[/branchID=46/parentBranchID=0/pathID=null/dataID=46/BTID=0/processDate=null/versionNo=0]
		[/branchID=47/parentBranchID=0/pathID=null/dataID=47/BTID=0/processDate=null/versionNo=0]
		[/branchID=48/parentBranchID=0/pathID=null/dataID=48/BTID=0/processDate=null/versionNo=0]
	***** org.escafe.buri.dao.BuriDataDao *****
		[/dataID=46/pkeyVal=null/pkeyNum=167/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=47/pkeyVal=null/pkeyNum=168/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=48/pkeyVal=null/pkeyNum=169/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
		[/pathID=33/pathName=文書管理パッケージ2.文書管理プロセス2.登録/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act1/pathType=null]
		[/pathID=34/pathName=文書管理パッケージ2.文書管理プロセス2.公開中/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act2/pathType=null]
	***** org.escafe.buri.dto.BuriStateEntityDto *****
		[/stateID=52/pathID=34/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:45.775/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=53/pathID=34/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.119/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=54/pathID=34/dataID=48/branchID=48/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.151/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
		id=[167] title=[文書A] content=[文書Aです。]
		id=[168] title=[文書B] content=[文書Bです。]
		id=[169] title=[文書C] content=[文書Cです。]
☆this.bao.finishPublishing(doc1);
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
		[/branchID=46/parentBranchID=0/pathID=null/dataID=46/BTID=0/processDate=null/versionNo=0]
		[/branchID=47/parentBranchID=0/pathID=null/dataID=47/BTID=0/processDate=null/versionNo=0]
		[/branchID=48/parentBranchID=0/pathID=null/dataID=48/BTID=0/processDate=null/versionNo=0]
	***** org.escafe.buri.dao.BuriDataDao *****
		[/dataID=46/pkeyVal=null/pkeyNum=167/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=47/pkeyVal=null/pkeyNum=168/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=48/pkeyVal=null/pkeyNum=169/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
		[/pathID=33/pathName=文書管理パッケージ2.文書管理プロセス2.登録/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act1/pathType=null]
		[/pathID=34/pathName=文書管理パッケージ2.文書管理プロセス2.公開中/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act2/pathType=null]
		[/pathID=35/pathName=文書管理パッケージ2.文書管理プロセス2.公開終了/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act3/pathType=null]
	***** org.escafe.buri.dto.BuriStateEntityDto *****
		[/stateID=52/pathID=34/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:45.775/processDate=2008-11-18 01:51:46.302/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=53/pathID=34/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.119/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=54/pathID=34/dataID=48/branchID=48/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.151/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=55/pathID=35/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.333/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
		id=[167] title=[文書A] content=[文書Aです。]
		id=[168] title=[文書B] content=[文書Bです。]
		id=[169] title=[文書C] content=[文書Cです。]
☆this.bao.finishPublishing(doc2);
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
		[/branchID=46/parentBranchID=0/pathID=null/dataID=46/BTID=0/processDate=null/versionNo=0]
		[/branchID=47/parentBranchID=0/pathID=null/dataID=47/BTID=0/processDate=null/versionNo=0]
		[/branchID=48/parentBranchID=0/pathID=null/dataID=48/BTID=0/processDate=null/versionNo=0]
	***** org.escafe.buri.dao.BuriDataDao *****
		[/dataID=46/pkeyVal=null/pkeyNum=167/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=47/pkeyVal=null/pkeyNum=168/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=48/pkeyVal=null/pkeyNum=169/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
		[/pathID=33/pathName=文書管理パッケージ2.文書管理プロセス2.登録/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act1/pathType=null]
		[/pathID=34/pathName=文書管理パッケージ2.文書管理プロセス2.公開中/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act2/pathType=null]
		[/pathID=35/pathName=文書管理パッケージ2.文書管理プロセス2.公開終了/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act3/pathType=null]
	***** org.escafe.buri.dto.BuriStateEntityDto *****
		[/stateID=52/pathID=34/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:45.775/processDate=2008-11-18 01:51:46.302/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=53/pathID=34/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.119/processDate=2008-11-18 01:51:46.413/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=54/pathID=34/dataID=48/branchID=48/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.151/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=55/pathID=35/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.333/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=56/pathID=35/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.419/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
		id=[167] title=[文書A] content=[文書Aです。]
		id=[168] title=[文書B] content=[文書Bです。]
		id=[169] title=[文書C] content=[文書Cです。]
☆this.bao.finishPublishing(doc3);
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
		[/branchID=46/parentBranchID=0/pathID=null/dataID=46/BTID=0/processDate=null/versionNo=0]
		[/branchID=47/parentBranchID=0/pathID=null/dataID=47/BTID=0/processDate=null/versionNo=0]
		[/branchID=48/parentBranchID=0/pathID=null/dataID=48/BTID=0/processDate=null/versionNo=0]
	***** org.escafe.buri.dao.BuriDataDao *****
		[/dataID=46/pkeyVal=null/pkeyNum=167/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=47/pkeyVal=null/pkeyNum=168/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=48/pkeyVal=null/pkeyNum=169/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
		[/pathID=33/pathName=文書管理パッケージ2.文書管理プロセス2.登録/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act1/pathType=null]
		[/pathID=34/pathName=文書管理パッケージ2.文書管理プロセス2.公開中/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act2/pathType=null]
		[/pathID=35/pathName=文書管理パッケージ2.文書管理プロセス2.公開終了/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act3/pathType=null]
	***** org.escafe.buri.dto.BuriStateEntityDto *****
		[/stateID=52/pathID=34/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:45.775/processDate=2008-11-18 01:51:46.302/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=53/pathID=34/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.119/processDate=2008-11-18 01:51:46.413/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=54/pathID=34/dataID=48/branchID=48/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.151/processDate=2008-11-18 01:51:46.459/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=55/pathID=35/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.333/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=56/pathID=35/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.419/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=57/pathID=35/dataID=48/branchID=48/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.467/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
		id=[167] title=[文書A] content=[文書Aです。]
		id=[168] title=[文書B] content=[文書Bです。]
		id=[169] title=[文書C] content=[文書Cです。]
☆this.bao.removeDocument(doc1);
	***** org.escafe.buri.dto.BuriBranchEntityDto *****
		[/branchID=46/parentBranchID=0/pathID=null/dataID=46/BTID=0/processDate=null/versionNo=0]
		[/branchID=47/parentBranchID=0/pathID=null/dataID=47/BTID=0/processDate=null/versionNo=0]
		[/branchID=48/parentBranchID=0/pathID=null/dataID=48/BTID=0/processDate=null/versionNo=0]
	***** org.escafe.buri.dao.BuriDataDao *****
		[/dataID=46/pkeyVal=null/pkeyNum=167/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=47/pkeyVal=null/pkeyNum=168/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
		[/dataID=48/pkeyVal=null/pkeyNum=169/dataType=tryapp.dto.DocumentDto/tableName=Document/insertUserID=null]
	***** org.escafe.buri.dto.BuriDataPathHistoryEntityDto *****
	***** org.escafe.buri.dao.BuriPathDao *****
		[/pathID=33/pathName=文書管理パッケージ2.文書管理プロセス2.登録/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act1/pathType=null]
		[/pathID=34/pathName=文書管理パッケージ2.文書管理プロセス2.公開中/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act2/pathType=null]
		[/pathID=35/pathName=文書管理パッケージ2.文書管理プロセス2.公開終了/realPathName=newpkg.newpkg_wp1.newpkg_wp1_act3/pathType=null]
	***** org.escafe.buri.dto.BuriStateEntityDto *****
		[/stateID=52/pathID=34/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:45.775/processDate=2008-11-18 01:51:46.302/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=53/pathID=34/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.119/processDate=2008-11-18 01:51:46.413/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=54/pathID=34/dataID=48/branchID=48/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.151/processDate=2008-11-18 01:51:46.459/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=55/pathID=35/dataID=46/branchID=46/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.333/processDate=2008-11-18 01:51:46.532/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=56/pathID=35/dataID=47/branchID=47/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.419/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
		[/stateID=57/pathID=35/dataID=48/branchID=48/userIDNum=null/userIDVal=null/participantName=文書管理担当/participantType=ROLE/BTID=0/insertDate=2008-11-18 01:51:46.467/processDate=9999-12-31 23:59:59.999/autoRunTime=9999-12-31 23:59:59.999/abortDate=9999-12-31 23:59:59.999/versionNo=0]
	***** org.escafe.buri.dto.BuriStateUndoLogEntityDto *****
	***** org.escafe.buri.dto.BuriStateUserEntityDto *****
	***** org.escafe.buri.dto.BuriUserEntityDto *****
	***** tryapp.dto.DocumentDto *****
		id=[167] title=[文書A] content=[文書Aです。]
		id=[168] title=[文書B] content=[文書Bです。]
		id=[169] title=[文書C] content=[文書Cです。]