|
||||||||||
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.ProfileSummaryOps
public class ProfileSummaryOps
Provides database operations for retrieving partner profile summaries.
Constructor Summary | |
---|---|
ProfileSummaryOps()
|
Method Summary | |
---|---|
static java.util.Vector |
getAllProfileSummaries()
Retrieves summary information for all profiles in the database. |
static java.util.Vector |
getAllProfileSummaries(boolean all)
|
static java.util.Hashtable |
getLogos()
Return a Hashtable of all partner's logos. |
static byte[] |
getPartnerBinary(java.sql.Connection conn,
java.lang.String partnerID,
int binaryType)
|
static int |
getProfileCount()
|
static java.util.Vector |
getProfileSummaries(boolean deleted,
boolean sorted)
Retrieves summary information for profiles in the database. |
static java.util.Vector |
getProfileSummaries(java.sql.Connection conn,
boolean deleted,
boolean sorted)
Retrieves summary information for profiles in the database. |
static ProfileSummary |
getProfileSummary(java.sql.Connection conn,
java.lang.String partnerID)
Retrieves summary information for a trading partner. |
static ProfileSummary |
getProfileSummary(java.lang.String partnerID)
Retrieves summary information for a trading partner. |
static int |
getSortingIDType()
|
static boolean |
isDisplayNameUnique(java.lang.String corpName,
java.lang.String corpUnit)
|
static boolean |
isProfileDeletedByCorpNameAndUnit(java.lang.String corpName,
java.lang.String corpUnit)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileSummaryOps()
Method Detail |
---|
public static java.util.Vector getProfileSummaries(boolean deleted, boolean sorted) throws java.sql.SQLException, ProfileStoreException
deleted
- indicates whether to retrieve deleted or non-deleted profilessorted
- indicates whether to sort results on external ID
java.sql.SQLException
ProfileStoreException
public static java.util.Vector getProfileSummaries(java.sql.Connection conn, boolean deleted, boolean sorted) throws java.sql.SQLException, ProfileStoreException
conn
- a connection to the trasing networks databasedeleted
- indicates whether to retrieve deleted or non-deleted profilessorted
- indicates whether to sort results on external ID. If the system property "tn.sort.idType" does not
exist, the ProfileSummaries will be returned sorted by CorporationName+OrgUnitName.
java.sql.SQLException
ProfileStoreException
public static int getProfileCount()
public static java.util.Vector getAllProfileSummaries() throws java.sql.SQLException, ProfileStoreException
sorted
- indicates whether to sort results on external ID. If the system property "tn.sort.idType" does not
exist, the ProfileSummaries will be returned sorted by CorporationName+OrgUnitName.
java.sql.SQLException
ProfileStoreException
public static java.util.Vector getAllProfileSummaries(boolean all) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static ProfileSummary getProfileSummary(java.lang.String partnerID) throws java.sql.SQLException
partnerID
- identifier of the partner
java.sql.SQLException
public static ProfileSummary getProfileSummary(java.sql.Connection conn, java.lang.String partnerID) throws java.sql.SQLException
conn
- a connection to the trasing networks databasepartnerID
- identifier of the partner
java.sql.SQLException
public static boolean isProfileDeletedByCorpNameAndUnit(java.lang.String corpName, java.lang.String corpUnit)
public static boolean isDisplayNameUnique(java.lang.String corpName, java.lang.String corpUnit)
public static byte[] getPartnerBinary(java.sql.Connection conn, java.lang.String partnerID, int binaryType) throws java.sql.SQLException, ProfileStoreException
java.sql.SQLException
ProfileStoreException
public static java.util.Hashtable getLogos() throws java.sql.SQLException, LookupStoreException
java.sql.SQLException
LookupStoreException
public static int getSortingIDType() throws ProfileStoreException
ProfileStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |