|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MappingFactory
Methods to create and delete mapped data in the persistence store.
| Method Summary | |
|---|---|
void |
create(org.opensubsystems.core.util.ThreeIntStruct tisIDs)
Create mapping record. |
void |
delete(org.opensubsystems.core.util.ThreeIntStruct tisIDs)
Delete mapping record. |
int[] |
getMappedData(int iId,
int iMappingType)
Get array of mapped records for particular ID. |
int[] |
getMappedData(java.lang.String strColumnIDs,
int iMappingType)
Get array of mapped records for particular set of IDs. |
| Methods inherited from interface org.opensubsystems.core.persist.ModifiableDataFactory |
|---|
save |
| Methods inherited from interface org.opensubsystems.core.persist.BasicDataFactory |
|---|
create, create, delete |
| Methods inherited from interface org.opensubsystems.core.persist.DataFactory |
|---|
get, getDataType |
| Method Detail |
|---|
void create(org.opensubsystems.core.util.ThreeIntStruct tisIDs)
throws org.opensubsystems.core.error.OSSException
tisIDs - - IDs and mapping type that has to be added into mapping table
1st value = mapped ID from one table
2nd value = mapped ID from second table
3rd value = mapping type
org.opensubsystems.core.error.OSSException - - error during create
void delete(org.opensubsystems.core.util.ThreeIntStruct tisIDs)
throws org.opensubsystems.core.error.OSSException
tisIDs - - IDs and mapping type that has to be deleted from mapping table
1st value = mapped ID from one table
2nd value = mapped ID from second table
3rd value = mapping type
org.opensubsystems.core.error.OSSException - - error during delete
int[] getMappedData(int iId,
int iMappingType)
throws org.opensubsystems.core.error.OSSException
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
int[] getMappedData(java.lang.String strColumnIDs,
int iMappingType)
throws org.opensubsystems.core.error.OSSException
strColumnIDs - - string representation of IDs separated by ','
of the first data objects in relations for which we
want to retrieve Ids of the second objects in
relations. These are id1 specified during creation.iMappingType - - mapping type the retrieved data belongs to
org.opensubsystems.core.error.OSSException - - error during getting mapped data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||