|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Holds all the Information of an Enterprise. It also provides the methods to modify the attributes of an Enterprise Object.
Method Summary | |
void |
deletePerson(Person person)
|
java.util.Map |
getAddresses()
|
java.lang.String |
getBank()
|
java.lang.String |
getBankAccount()
|
java.lang.String |
getComment()
|
Person |
getContact()
|
Person |
getContactPerson()
|
java.lang.String |
getEmail()
|
java.util.Map |
getExtendedAttributs()
|
java.lang.String |
getId()
Returns the id associated with this Enterprise object. |
java.lang.String |
getKeywords()
|
java.lang.String |
getLastChanged()
|
java.lang.String |
getName()
|
java.lang.String |
getNumber()
|
int |
getObjectVersion()
|
Account |
getOwner()
|
java.lang.String |
getOwnerId()
|
java.util.Map |
getPhones()
Returns a Map with all phone objects which
are currently available for this enterprise. |
java.util.List |
getPhoneTypes()
Returns a List of all currently available phone types. |
java.util.List |
getProjects()
|
java.lang.String |
getUrl()
|
java.util.Map |
insertExtendedAttrs(java.lang.String key,
java.lang.String val)
|
void |
insertPerson(Person person)
|
Phone |
insertPhone(java.lang.String type,
java.lang.String number,
java.lang.String info)
Inserts a new Phone into the Enterprise. |
boolean |
isComplete()
|
boolean |
removePhone(Phone phone)
Removes the Phone from this
Enterprise. |
void |
setBank(java.lang.String string)
|
void |
setBankAccount(java.lang.String string)
|
void |
setComment(java.lang.String comment)
|
void |
setContact(Person person)
|
void |
setContactPerson(Person person)
|
void |
setEmail(java.lang.String string)
|
void |
setIsComplete(boolean bool)
|
void |
setKeywords()
|
void |
setName(java.lang.String name)
|
void |
setNumber(java.lang.String number)
|
void |
setObjectVersion(int objectVersion)
|
void |
setOwner(Account account)
|
void |
setUrl(java.lang.String url)
|
Method Detail |
public java.lang.String getId() throws OgoException, ConnectionException
Enterprise
object.
id
associated with this object.
OgoException
ConnectionException
public java.lang.String getName() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setName(java.lang.String name) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.Map insertExtendedAttrs(java.lang.String key, java.lang.String val) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.Map getExtendedAttributs() throws OgoException, ConnectionException
OgoException
ConnectionException
public int getObjectVersion() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setObjectVersion(int objectVersion) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getComment() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setComment(java.lang.String comment) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getUrl() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setUrl(java.lang.String url) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getKeywords() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setKeywords() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setContact(Person person) throws OgoException, ConnectionException
OgoException
ConnectionException
public Person getContact() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setOwner(Account account) throws OgoException, ConnectionException
OgoException
ConnectionException
public Account getOwner() throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getOwnerId() throws OgoException, ConnectionException
OgoException
ConnectionException
public boolean isComplete() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setIsComplete(boolean bool) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.Map getAddresses() throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.Map getPhones() throws OgoException, ConnectionException
Map
with all phone objects which
are currently available for this enterprise. The phones can be accessed
in the map by their Type
.
Phone
objects associated with this Enterprise.
OgoException
ConnectionException
public java.util.List getPhoneTypes() throws OgoException, ConnectionException
OgoException
ConnectionException
public Phone insertPhone(java.lang.String type, java.lang.String number, java.lang.String info) throws OgoException, ConnectionException
Phone
does not exist it will
be created. Otherwise the existing Phone
is updated.
type
- The type
, for example 01_tel
.number
- The number
, for example
0043-727-1234567
info
- Additional information.
OgoException
ConnectionException
public boolean removePhone(Phone phone) throws OgoException, ConnectionException
Phone
from this
Enterprise.
phone
- The Phone
to
remove.
OgoException
ConnectionException
public java.lang.String getNumber() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setNumber(java.lang.String number) throws OgoException, ConnectionException
OgoException
ConnectionException
public void insertPerson(Person person) throws OgoException, ConnectionException
OgoException
ConnectionException
public void deletePerson(Person person) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.List getProjects() throws OgoException, ConnectionException
OgoException
ConnectionException
public Person getContactPerson() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setContactPerson(Person person) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getEmail() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setEmail(java.lang.String string) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getBank() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setBank(java.lang.String string) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getBankAccount() throws OgoException, ConnectionException
OgoException
ConnectionException
public void setBankAccount(java.lang.String string) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.lang.String getLastChanged() throws OgoException, ConnectionException
OgoException
ConnectionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |