|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MappingController
Business logic related to managing mapped data.
| Method Summary | |
|---|---|
void |
create(org.opensubsystems.core.util.ThreeIntStruct tisValues)
Create mapped data. |
void |
delete(int iId)
Delete mapped data |
void |
delete(org.opensubsystems.core.util.ThreeIntStruct tisValues)
Delete mapped data |
int[] |
getMappedData(int iId,
int iMappingType)
Get array of mapped records for particular ID. |
| Methods inherited from interface org.opensubsystems.core.logic.ModifiableDataController |
|---|
save |
| Methods inherited from interface org.opensubsystems.core.logic.BasicDataController |
|---|
create |
| Methods inherited from interface org.opensubsystems.core.logic.DataController |
|---|
get |
| Methods inherited from interface org.opensubsystems.core.logic.StatelessController |
|---|
constructor |
| Method Detail |
|---|
void delete(int iId)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
delete in interface org.opensubsystems.core.logic.BasicDataControlleriId - - mapped data ID to be deleted. This is neither id1 nor id2 but
the id of the record representing the relation.
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
int[] getMappedData(int iId,
int iMappingType)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
iId - - Id of the first data object in relation for which we want to
retrieve Ids of the second objects in relation. This is id1
specified during creation.iMappingType - - mapping type the retrieved data belongs to
org.opensubsystems.core.error.OSSException - - error during getting mapped data
java.rmi.RemoteException - - required since this method can be called remotely
void create(org.opensubsystems.core.util.ThreeIntStruct tisValues)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
tisValues - - IDs and mapping type that has to be added into mapping table
1st value = mapped ID from first table
2nd value = mapped ID from second table
3rd value = mapping type
org.opensubsystems.core.error.OSSException - - an error has occured creating mapped data
java.rmi.RemoteException - - required since this method can be called remotely
void delete(org.opensubsystems.core.util.ThreeIntStruct tisValues)
throws org.opensubsystems.core.error.OSSException,
java.rmi.RemoteException
tisValues - - IDs and mapping type that has to be added into mapping table
1st value = mapped ID from first table
2nd value = mapped ID from second table
3rd value = mapping type
org.opensubsystems.core.error.OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||