|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.tn.db.ProfileDeleteOps
public class ProfileDeleteOps
Provides database operations for deleting partner profiles and their components.
Constructor Summary | |
---|---|
ProfileDeleteOps()
|
Method Summary | |
---|---|
static void |
deleteAddress(java.sql.Connection conn,
java.lang.String addressID,
java.lang.String partnerID)
|
static void |
deleteAddress(java.lang.String addressID,
java.lang.String partnerID)
|
static void |
deleteContact(java.sql.Connection conn,
java.lang.String contactID,
java.lang.String partnerID)
|
static void |
deleteContact(java.lang.String contactID,
java.lang.String partnerID)
|
static void |
deleteDestination(java.sql.Connection conn,
java.lang.String destID)
|
static void |
deleteDestination(java.lang.String destID)
|
static void |
deleteID(java.sql.Connection conn,
java.lang.String partnerIDID)
|
static void |
deleteID(java.lang.String partnerIDID)
|
static void |
deletePartnerBinary(java.sql.Connection conn,
java.lang.String partnerID,
int binaryType)
|
static void |
deletePartnerBinary(java.lang.String partnerID,
int binaryType)
|
static void |
deleteProfile(java.sql.Connection conn,
java.lang.String partnerID)
Physically deletes the entire profile, except the row on the Partner table, which is logically deleted (delete=true). |
static void |
deleteProfile(java.lang.String partnerID)
Physically deletes the entire profile, except the row on the Partner table, which is logically deleted (delete=true). |
static int |
safeDeleteProfile(java.sql.Connection conn,
java.lang.String partnerID,
boolean delete)
Marks a profile as deleted. |
static int |
safeDeleteProfile(java.lang.String partnerID,
boolean delete)
Marks a profile as deleted. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileDeleteOps()
Method Detail |
---|
public static void deleteContact(java.lang.String contactID, java.lang.String partnerID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deleteContact(java.sql.Connection conn, java.lang.String contactID, java.lang.String partnerID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deleteAddress(java.lang.String addressID, java.lang.String partnerID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deleteAddress(java.sql.Connection conn, java.lang.String addressID, java.lang.String partnerID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deleteDestination(java.lang.String destID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deleteDestination(java.sql.Connection conn, java.lang.String destID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deleteID(java.lang.String partnerIDID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deleteID(java.sql.Connection conn, java.lang.String partnerIDID) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deletePartnerBinary(java.lang.String partnerID, int binaryType) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static void deletePartnerBinary(java.sql.Connection conn, java.lang.String partnerID, int binaryType) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static int safeDeleteProfile(java.lang.String partnerID, boolean delete) throws java.sql.SQLException
partnerID
- the ID of the profile to delete
java.sql.SQLException
public static int safeDeleteProfile(java.sql.Connection conn, java.lang.String partnerID, boolean delete) throws java.sql.SQLException
conn
- a connection to the trading networks databasepartnerID
- the ID of the profile to delete
java.sql.SQLException
public static void deleteProfile(java.lang.String partnerID) throws java.sql.SQLException, ProfileStoreException
partnerID
- the ID of the profile to delete
java.sql.SQLException
ProfileStoreException
public static void deleteProfile(java.sql.Connection conn, java.lang.String partnerID) throws java.sql.SQLException, ProfileStoreException
conn
- a connection to the trading networks databasepartnerID
- the ID of the profile to delete
java.sql.SQLException
ProfileStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |