|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.tn.util.TNFixedData
com.wm.app.tn.profile.Profile
public class Profile
Contains information about a partner on the trading network.
A Profile contains information about a partner's corporation, contacts, addresses, destinations for document exchange, and more. There is a set of standard fields supplied with the Trading Networks product. Customers may add to these by creating extended fields.
Access to Profiles is granted through the ProfileStore and the wm.tn.profile Integration server package. See com.wm.app.tn.profile.ProfileStore and the Trading Networks Built-in services documentation for details on how to create, save, change and delete Profiles.
ProfileStore
,
FieldGroup
,
ExtendedProfileField
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.wm.app.tn.util.TNFixedData |
---|
com.wm.app.tn.util.TNFixedData.TreeCursor |
Constructor Summary | |
---|---|
Profile()
Creates a Profile. |
Method Summary | |
---|---|
void |
addContact(Contact cont)
Adds a new contact to the profile. |
void |
addDestination(Destination dest)
Adds a new destination to the profile. |
void |
addID(ID id)
Adds a new ID to the profile. |
void |
addProfileGroup(java.lang.String groupId)
Set this profile to associate with a new profile group. |
void |
addUser(java.lang.String user)
|
static com.wm.data.IData |
create()
Creates a Profile. |
java.util.Enumeration |
getContacts()
Retrieves the set of contacts for the Profile. |
java.util.Vector |
getContactVector()
Retrieves a modifiable set of contacts for the Profile. |
Corporation |
getCorporation()
Retrieves the corporate component of a Profile. |
java.util.Enumeration |
getDestinations()
Retrieves the set of document destinations for the Profile. |
java.util.Vector |
getDestinationVector()
Retrieves a modifiable set of destinations from the Profile. |
java.lang.String |
getDisplayName()
|
java.util.Enumeration |
getExternalIDs()
Retrieves the set of external IDs for the Profile. |
java.util.Vector |
getExternalIDVector()
Retrieves a modifiable set of external IDs from the Profile. |
Destination |
getPreferredDestination()
|
java.lang.String[] |
getProfileGroupNames()
for internal use only |
java.util.Enumeration |
getProfileGroups()
Retrieve a list of profile groups that this profile is a member of. |
java.util.Vector |
getProfileGroupVector()
|
java.util.Enumeration |
getUsers()
Retrieves the set of IS Users for the Profile. |
java.util.Vector |
getUserVector()
|
static java.lang.Object[][] |
profileSchema()
|
void |
removeContacts()
Removes the entire set of Contacts from a Profile. |
void |
removeDestinations()
Removes the entire set of Destinations from a Profile. |
void |
removeExternalIDs()
Removes the entire set of IDs from a Profile. |
void |
removeUsers()
|
void |
setContacts(java.util.Vector contacts)
Replaces the entire set of Contacts for a Profile |
void |
setCorporation(Corporation corp)
Sets the corporate component of a Profile. |
void |
setDestinations(java.util.Vector dests)
Replaces the entire set of Destinations for a Profile |
void |
setExternalIDs(java.util.Vector ids)
Replaces the entire set of IDs for a Profile |
void |
setProfileGroupNames(java.lang.String[] groupNames)
for internal use only |
void |
setProfileGroups(java.lang.String[] groupIds)
Set this profile to assoiciate with a list of profile groups. |
void |
setUsers(java.lang.String[] users)
|
java.lang.String |
toMwSString()
|
java.lang.String |
toString()
Default toString implementation returns class name followed by contents. |
Methods inherited from class com.wm.app.tn.util.TNFixedData |
---|
clone, dataSize, get, get, getCursor, getHashCursor, getIndexCursor, getKey, getSharedCursor, getTreeCursor, indexOf, merge, set, set |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Profile()
Method Detail |
---|
public static com.wm.data.IData create()
public static java.lang.Object[][] profileSchema()
public final Corporation getCorporation()
public final java.lang.String getDisplayName()
public final void setCorporation(Corporation corp)
public final java.util.Enumeration getContacts()
public final java.util.Vector getContactVector()
public final void addContact(Contact cont)
public final void setContacts(java.util.Vector contacts)
public final void removeContacts()
public final java.util.Enumeration getExternalIDs()
public final java.util.Enumeration getUsers()
public final java.util.Vector getExternalIDVector()
public final java.util.Vector getUserVector()
public final void addID(ID id)
public final void addUser(java.lang.String user)
public final void setExternalIDs(java.util.Vector ids)
public final void setUsers(java.lang.String[] users)
public final void removeExternalIDs()
public final void removeUsers()
public final java.util.Enumeration getDestinations()
public final java.util.Vector getDestinationVector()
public final Destination getPreferredDestination()
public final void addDestination(Destination dest)
public final void setDestinations(java.util.Vector dests)
public final void removeDestinations()
public final void addProfileGroup(java.lang.String groupId)
public final void setProfileGroups(java.lang.String[] groupIds)
public final java.util.Enumeration getProfileGroups()
public final java.util.Vector getProfileGroupVector()
public final void setProfileGroupNames(java.lang.String[] groupNames)
public final java.lang.String[] getProfileGroupNames()
public final java.lang.String toString()
com.wm.app.tn.util.TNFixedData
toString
in class com.wm.app.tn.util.TNFixedData
public final java.lang.String toMwSString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |