1 21 22 package org.opensubsystems.core.logic.impl; 23 24 import org.opensubsystems.core.data.DataObject; 25 import org.opensubsystems.core.error.OSSException; 26 import org.opensubsystems.core.logic.DataController; 27 import org.opensubsystems.core.persist.DataFactory; 28 import org.opensubsystems.core.util.CallContext; 29 30 54 public abstract class DataControllerImpl extends StatelessControllerImpl 55 implements DataController 56 { 57 68 public DataObject get( 69 int iId 70 ) throws OSSException 71 { 72 return getDataFactory().get(iId, 73 CallContext.getInstance().getCurrentDomainId()); 74 } 75 76 78 86 protected abstract DataFactory getDataFactory( 87 ); 88 } 89 | Popular Tags |