public class GokbRdbmsServiceImpl extends Object implements GokbRdbmsService
INSERT_ORG_PREPARED_STMT, INSERT_ORG_ROLE_PREPARED_STMT, INSERT_PACKAGE_PREPARED_STMT, INSERT_PLATFORM_PREPARED_STMT, INSERT_TIPP_PREPARED_STMT, INSERT_TITLE_PREPARED_STMT, UPDATE_ORG_PREPARED_STMT, UPDATE_ORG_ROLE_PREPARED_STMT, UPDATE_PACKAGE_PREPARED_STMT, UPDATE_PLATFORM_PREPARED_STMT, UPDATE_TIPP_PREPARED_STMT, UPDATE_TITLE_PREPARED_STMT
Constructor and Description |
---|
GokbRdbmsServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnections()
Close the SQL connections
|
Timestamp |
getUpdatedDate()
Get updated date
|
void |
insertLogEndTime(int updatedId) |
void |
insertOrganizationRoles(List<OleGokbOrganizationRole> oleGokbOrganizationRoles)
Insert list of OrganizationRoles
|
void |
insertOrganizations(List<OleGokbOrganization> oleGokbOrganizations)
Insert list of Organizations
|
void |
insertOrUpdateOrganizationRoles(List<OleGokbOrganizationRole> oleGokbOrganizationRoles)
Insert or Update list of OrganizationRoles
|
void |
insertOrUpdateOrganizations(List<OleGokbOrganization> oleGokbOrganizations)
Insert or Update list of Organizations
|
void |
insertOrUpdatePackages(List<OleGokbPackage> oleGokbPackages)
Insert or Update list of Packages
|
void |
insertOrUpdatePlatforms(List<OleGokbPlatform> oleGokbPlatforms)
Insert or Update list of Platforms
|
void |
insertOrUpdateTipps(List<OleGokbTipp> oleGokbTipps) |
void |
insertOrUpdateTitles(List<OleGokbTitle> oleGokbTitles)
Insert or Update list of Titles
|
void |
insertPackages(List<OleGokbPackage> oleGokbPackages)
Insert list of Packages
|
void |
insertPlatforms(List<OleGokbPlatform> oleGokbPlatforms)
Insert list of Platforms
|
int |
insertStatus()
Get recently inserted row id
|
void |
insertTipps(List<OleGokbTipp> oleGokbTipps) |
void |
insertTitles(List<OleGokbTitle> oleGokbTitles)
Insert list of Titles
|
void |
truncateTables()
Deleting all rows from the tables
|
void |
updateOrganization(OleGokbOrganization oleGokbOrganization)
Update Organization, if it exist already
|
void |
updateOrganizationRole(OleGokbOrganizationRole oleGokbOrganizationRole)
Update OrganizationRole, if it exist already
|
void |
updatePackage(OleGokbPackage oleGokbPack)
Update package, if it exist already
|
void |
updatePlatform(OleGokbPlatform oleGokbPlatform)
Update Platform, if it exist already
|
void |
updateStatus(int id,
String columnValue)
Update the status
|
void |
updateTipp(OleGokbTipp oleGokbTipp)
Update Tipp, if it exist already
|
void |
updateTitle(OleGokbTitle oleGokbTitle)
Update Title, if it exist already
|
public GokbRdbmsServiceImpl()
public void insertOrUpdatePackages(List<OleGokbPackage> oleGokbPackages)
insertOrUpdatePackages
in interface GokbRdbmsService
oleGokbPackages
- public void insertOrUpdateTipps(List<OleGokbTipp> oleGokbTipps)
insertOrUpdateTipps
in interface GokbRdbmsService
oleGokbTipps
- Insert or Update list of Tippspublic void insertOrUpdateTitles(List<OleGokbTitle> oleGokbTitles)
insertOrUpdateTitles
in interface GokbRdbmsService
oleGokbTitles
- public void insertOrUpdatePlatforms(List<OleGokbPlatform> oleGokbPlatforms)
insertOrUpdatePlatforms
in interface GokbRdbmsService
oleGokbPlatforms
- public void insertOrUpdateOrganizations(List<OleGokbOrganization> oleGokbOrganizations)
insertOrUpdateOrganizations
in interface GokbRdbmsService
oleGokbOrganizations
- public void insertOrUpdateOrganizationRoles(List<OleGokbOrganizationRole> oleGokbOrganizationRoles)
insertOrUpdateOrganizationRoles
in interface GokbRdbmsService
oleGokbOrganizationRoles
- public void updatePackage(OleGokbPackage oleGokbPack)
oleGokbPack
- public void updateTipp(OleGokbTipp oleGokbTipp)
oleGokbTipp
- public void updateTitle(OleGokbTitle oleGokbTitle)
oleGokbTitle
- public void updatePlatform(OleGokbPlatform oleGokbPlatform)
oleGokbPlatform
- public void updateOrganization(OleGokbOrganization oleGokbOrganization)
oleGokbOrganization
- public void updateOrganizationRole(OleGokbOrganizationRole oleGokbOrganizationRole)
oleGokbOrganizationRole
- public void truncateTables()
truncateTables
in interface GokbRdbmsService
public Timestamp getUpdatedDate()
getUpdatedDate
in interface GokbRdbmsService
public int insertStatus()
insertStatus
in interface GokbRdbmsService
public void insertLogEndTime(int updatedId)
insertLogEndTime
in interface GokbRdbmsService
public void updateStatus(int id, String columnValue)
updateStatus
in interface GokbRdbmsService
id
- columnValue
- public void insertPackages(List<OleGokbPackage> oleGokbPackages)
insertPackages
in interface GokbRdbmsService
oleGokbPackages
- public void insertTipps(List<OleGokbTipp> oleGokbTipps)
insertTipps
in interface GokbRdbmsService
oleGokbTipps
- Insert list of Tippspublic void insertTitles(List<OleGokbTitle> oleGokbTitles)
insertTitles
in interface GokbRdbmsService
oleGokbTitles
- public void insertPlatforms(List<OleGokbPlatform> oleGokbPlatforms)
insertPlatforms
in interface GokbRdbmsService
oleGokbPlatforms
- public void insertOrganizations(List<OleGokbOrganization> oleGokbOrganizations)
insertOrganizations
in interface GokbRdbmsService
oleGokbOrganizations
- public void insertOrganizationRoles(List<OleGokbOrganizationRole> oleGokbOrganizationRoles)
insertOrganizationRoles
in interface GokbRdbmsService
oleGokbOrganizationRoles
- public void closeConnections() throws SQLException
SQLException
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.