public interface IDBOStorageService
Modifier and Type | Method and Description |
---|---|
void |
createTables(IPortletInfo portletInfo,
IThingID xtypeID,
boolean isUpgrade)
Creates or upgrades table storage for DBO identified by portlet type
|
default void |
createTables(IThingID xtypeID,
boolean isUpgrade)
Creates or upgrades table storage for DBO identified by portlet type
|
void |
deleteAllRecords(IThingID xtypeID)
Delete all records from the specified xtype table
|
void |
dropTables(IThingID xtypeID)
Drops storage tables for DBO identified by portlet type
|
String |
getDeleteSql(IThingID xtypeID)
Generates and returns delete statement for DBO custom table.
|
boolean |
loadExtendedInfo(IThing dbo,
String[] properties)
Loads extended attributes of the dbo from DB
|
boolean |
saveExtendedInfo(IThing dbo,
String[] properties)
Saves extended attributes of the dbo back to DB
|
boolean saveExtendedInfo(IThing dbo, String[] properties) throws MetaException
dbo
- instanceproperties
- list of DBO properties to save. Passing null would save all propertiesMetaException
boolean loadExtendedInfo(IThing dbo, String[] properties) throws MetaException
dbo
- instanceproperties
- list of DBO properties to load. Passing null would load all propertiesMetaException
default void createTables(IThingID xtypeID, boolean isUpgrade) throws MetaException
xtypeID
- isUpgrade
- MetaException
void createTables(IPortletInfo portletInfo, IThingID xtypeID, boolean isUpgrade) throws MetaException
portletInfo
- portletInfo to use to create the table storagextypeID
- isUpgrade
- MetaException
void dropTables(IThingID xtypeID) throws MetaException
xtypeID
- MetaException
String getDeleteSql(IThingID xtypeID) throws MetaException
MetaException
void deleteAllRecords(IThingID xtypeID) throws MetaException
xtypeID
- MetaException