public class Organization extends Session
Modifier and Type | Field and Description |
---|---|
static java.lang.String | INVALID_ORGANIZATION_ENTITY_ID
A constant for an invalid organization entity ID (value 00000000).
|
static java.lang.String | PROP_ADDRESS
A constant for the address property name.
|
static java.lang.String | PROP_ADMINISTRATOR_ID
A constant for the administrator ID property name.
|
static java.lang.String | PROP_BEST_CALL_TIME
A constant for the best time to call property name.
|
static java.lang.String | PROP_CATEGORY
A constant for the category property name.
|
static java.lang.String | PROP_CONTRACT
A constant for the contract property name.
|
static java.lang.String | PROP_DESCRIPTION
A constant for the description property name.
|
static java.lang.String | PROP_EMAIL_ADDRESS_1
A constant for the primary email address property name.
|
static java.lang.String | PROP_EMAIL_ADDRESS_2
A constant for the secondary email address property name.
|
static java.lang.String | PROP_FAMILY_NAME
A constant for the family name property name.
|
static java.lang.String | PROP_FAX_1
A constant for the primary fax number property name.
|
static java.lang.String | PROP_FAX_2
A constant for the secondary fax number property name.
|
static java.lang.String | PROP_GIVEN_NAME
A constant for the given name property name.
|
static java.lang.String | PROP_MIDDLE_NAME
A constant for the middle name property name.
|
static java.lang.String | PROP_OPENED_BY_STORE
A constant for the opened by store property.
|
static java.lang.String | PROP_ORGANIZATION_CHILDREN
A constant for the organization children property name.
|
static java.lang.String | PROP_ORGANIZATION_DN
A constant for the organization distinguished name property.
|
static java.lang.String | PROP_ORGANIZATION_ENTITY_ID
A constant for the organization entity ID property name.
|
static java.lang.String | PROP_ORGANIZATION_FUNCTION
A constant for the organization function property name.
|
static java.lang.String | PROP_ORGANIZATION_NAME
A constant for the organization name property name.
|
static java.lang.String | PROP_ORGANIZATION_PARENT
A constant for the organization parent property name.
|
static java.lang.String | PROP_PREFERRED_GIVEN_NAME
A constant for the preferred given name property name.
|
static java.lang.String | PROP_PUBLISH_TELEPHONE_1
A constant for the published primary telephone's property name.
|
static java.lang.String | PROP_PUBLISH_TELEPHONE_2
A constant for the publish secondary telephone property name.
|
static java.lang.String | PROP_SALUTATION
A constant for the salutation property name.
|
static java.lang.String | PROP_STATUS
A constant for the status property name.
|
static java.lang.String | PROP_STORE_ID
A constant for the store identifier property.
|
static java.lang.String | PROP_SUFFIX
A constant for the suffix property name.
|
static java.lang.String | PROP_TELEPHONE_NUM_1
A constant for the primary telephone number property name.
|
static java.lang.String | PROP_TELEPHONE_NUM_2
A constant for the secondary telephone number property name.
|
static java.lang.String | PROP_TELEPHONE_TYPE_1
A constant for the primary telephone type property name.
|
static java.lang.String | PROP_TELEPHONE_TYPE_2
A constant for the secondary telephone type property name.
|
Constructor and Description |
---|
Organization()
Default constructor for Organization.
|
Modifier and Type | Method and Description |
---|---|
void | addOrganizationChild(java.lang.Object child)
This method is a convenience method for adding an entry to the ModelObjectList stored under the PROP_ORGANIZATION_CHILDREN property.
|
Address | getAddress()
This method is a convenience method for retrieving the current setting of the PROP_ADDRESS property.
|
java.lang.String | getAdministratorID()
This method is a convenience method for retrieving the current setting of the PROP_ADMINISTRATOR_ID property.
|
java.lang.String | getBestCallTime()
This method is a convenience method for retrieving the current setting of the PROP_BEST_CALL_TIME property.
|
java.lang.String | getCategory()
This method is a convenience method for retrieving the current setting of the PROP_CATEGORY property.
|
Contract | getContract()
This method is a convenience method for retrieving the current setting of the PROP_CONTRACT property.
|
java.lang.String | getDescription()
This method is a convenience method for retrieving the current setting of the PROP_DESCRIPTION property.
|
java.lang.String | getEmailAddress1()
This method is a convenience method for retrieving the current setting of the PROP_EMAIL_ADDRESS_1 property.
|
java.lang.String | getEmailAddress2()
This method is a convenience method for retrieving the current setting of the PROP_EMAIL_ADDRESS_2 property.
|
java.lang.String | getFamilyName()
This method is a convenience method for retrieving the current value of the PROP_FAMILY_NAME property.
|
java.lang.String | getFax1()
This method is a convenience method for retrieving the current setting of the PROP_FAX_1 property.
|
java.lang.String | getFax2()
This method is a convenience method for retrieving the current setting of the PROP_FAX_2 property.
|
java.lang.String | getGivenName()
This method is a convenience method for retrieving the current value of the PROP_GIVEN_NAME property.
|
java.lang.String | getMiddleName()
This method is a convenience method for retrieving the current value of the PROP_MIDDLE_NAME property.
|
Store | getOpenedByStore()
This is a convenience method for retrieving the current setting of the PROP_OPENED_BY_STORE property.
|
java.util.Vector | getOrganizationChildren()
This method is a convenience method for retrieving the current setting of the PROP_ORGANIZATION_CHILDREN property.
|
ModelObjectList | getOrganizationChildrenModelObjectList()
This method is a convenience method for retrieving the current setting of the PROP_ORGANIZATION_CHILDREN property.
|
java.lang.String | getOrganizationDN()
This method is a convenience method for retrieving the current value of the PROP_ORGANIZATION_DN property.
|
java.lang.String | getOrganizationEntityID()
This method is a convenience method for retrieving the current setting of the PROP_ORGANIZATION_ENTITY_ID property.
|
java.lang.String | getOrganizationFunction()
This method is a convenience method for retrieving the current setting of the PROP_ORGANIZATION_FUNCTION property.
|
java.lang.String | getOrganizationName()
This method is a convenience method for retrieving the current setting of the PROP_ORGANIZATION_NAME property.
|
Organization | getOrganizationParent()
This method is a convenience method for retrieving the current setting of the PROP_ORGANIZATION_PARENT property.
|
java.lang.String | getPreferredGivenName()
This method is a convenience method for retrieving the current setting of the PROP_PREFERRED_GIVEN_NAME property.
|
java.lang.String | getPublishTelephone1()
This method is a convenience method for retrieving the current setting of the PROP_PUBLISH_TELEPHONE_1 property.
|
java.lang.String | getPublishTelephone2()
This method is a convenience method for retrieving the current setting of the PROP_PUBLISH_TELEPHONE_2 property.
|
java.lang.String | getSalutation()
This method is a convenience method for retrieving the current value of the PROP_SALUTATION property.
|
java.lang.String | getStatus()
This method is a convenience method for retrieving the current setting of the PROP_STATUS property.
|
java.lang.String | getStoreId()
This is a convenience method for retrieving the current setting of the PROP_STORE_ID property.
|
java.lang.String | getSuffix()
This method is a convenience method for retrieving the current value of the PROP_SUFFIX property.
|
java.lang.String | getTelephoneNum1()
This method is a convenience method for retrieving the current setting of the PROP_TELEPHONE_NUM_1 property.
|
java.lang.String | getTelephoneNum2()
This method is a convenience method for retrieving the current setting of the PROP_TELEPHONE_NUM_2 property.
|
java.lang.String | getTelephoneType1()
This method is a convenience method for retrieving the current setting of the PROP_TELEPHONE_TYPE_1 property.
|
java.lang.String | getTelephoneType2()
This method is a convenience method for retrieving the current setting of the PROP_TELEPHONE_TYPE_2 property.
|
void | setAddress(Address address)
This method is a convenience method for setting the PROP_ADDRESS property.
|
void | setAdministratorID(java.lang.String administratorID)
This method is a convenience method for setting the PROP_ADMINISTRATOR_ID property.
|
void | setBestCallTime(java.lang.String bestCallTime)
This method is a convenience method for setting the PROP_BEST_CALL_TIME property.
|
void | setCategory(java.lang.String category)
This method is a convenience method for setting the PROP_CATEGORY property.
|
void | setContract(Contract contract)
This method is a convenience method for setting the PROP_CONTRACT property.
|
void | setDescription(java.lang.String description)
This method is a convenience method for setting the PROP_DESCRIPTION property.
|
void | setEmailAddress1(java.lang.String emailAddress1)
This method is a convenience method for setting the PROP_EMAIL_ADDRESS_1 property.
|
void | setEmailAddress2(java.lang.String emailAddress2)
This method is a convenience method for setting the PROP_EMAIL_ADDRESS_2 property
|
void | setFamilyName(java.lang.String familyName)
This method is a convenience method for setting the PROP_FAMILY_NAME property.
|
void | setFax1(java.lang.String fax1)
This method is a convenience method for setting the PROP_FAX_1 property.
|
void | setFax2(java.lang.String fax2)
This method is a convenience method for setting the PROP_FAX_2 property.
|
void | setGivenName(java.lang.String givenName)
This method is a convenience method for setting the PROP_GIVEN_NAME property.
|
void | setMiddleName(java.lang.String middleName)
This method is a convenience method for setting the PROP_MIDDLE_NAME property.
|
void | setOpenedByStore(Store store)
This is a convenience method for setting the PROP_OPENED_BY_STORE property.
|
void | setOrganizationChildren(java.util.Vector organizationChildren)
This method is a convenience method for setting the PROP_ORGANIZATION_CHILDREN property.
|
void | setOrganizationDN(java.lang.String organizationDN)
This method is a convenience method for setting the PROP_ORGANIZATION_DN property.
|
void | setOrganizationEntityID(java.lang.String organizationEntityID)
This method is a convenience method for setting the PROP_ORGANIZATION_ENTITY_ID property.
|
void | setOrganizationFunction(java.lang.String organizationFunction)
This method is a convenience method for setting the PROP_ORGANIZATION_FUNCTION property.
|
void | setOrganizationName(java.lang.String organizationName)
This method is a convenience method for setting the PROP_ORGANIZATION_NAME property.
|
void | setOrganizationParent(Organization organizationParent)
This method is a convenience method for setting the PROP_ORGANIZATION_PARENT property.
|
void | setPreferredGivenName(java.lang.String preferredGivenName)
This method is a convenience method for setting the PROP_PREFERRED_GIVEN_NAME property.
|
void | setPublishTelephone1(java.lang.String publishTelephone1)
This method is a convenience method for setting the PROP_PUBLISH_TELEPHONE_1 property.
|
void | setPublishTelephone2(java.lang.String publishTelephone2)
This method is a convenience method for setting the PROP_PUBLISH_TELEPHONE_2 property.
|
void | setSalutation(java.lang.String salutation)
This method is a convenience method for setting the PROP_SALUTATION property.
|
void | setStatus(java.lang.String status)
This method is a convenience method for setting the PROP_STATUS property.
|
void | setSuffix(java.lang.String suffix)
This method is a convenience method for setting the PROP_SUFFIX property.
|
void | setTelephoneNum1(java.lang.String telephoneNum1)
This method is a convenience method for setting the PROP_TELEPHONE_NUM_1 property.
|
void | setTelephoneNum2(java.lang.String telephoneNum2)
This method is a convenience method for setting the PROP_TELEPHONE_NUM_2 property.
|
void | setTelephoneType1(java.lang.String telephoneType1)
This method is a convenience method for setting the PROP_TELEPHONE_TYPE_1 property.
|
void | setTelephoneType2(java.lang.String telephoneType2)
This method is a convenience method for setting the PROP_TELEPHONE_TYPE_2 property.
|
public static final java.lang.String PROP_ORGANIZATION_CHILDREN
The value is "organizationChildren".
The data stored under the PROP_ORGANIZATION_CHILDREN property is a ModelObjectList with entries of type Customer or Organization.
public static final java.lang.String PROP_ORGANIZATION_PARENT
The value is "organizationParent".
The data stored under the PROP_ORGANIZATION_PARENT property is an instance of Organization that represents the parent organization.
public static final java.lang.String PROP_ORGANIZATION_NAME
The value is "organizationName".
The data stored under the PROP_ORGANIZATION_NAME property is a String.
public static final java.lang.String PROP_ADMINISTRATOR_ID
The value is "administratorID".
The data stored under the PROP_ADMINISTRATOR_ID property is a String.
public static final java.lang.String PROP_CONTRACT
The value is "contract".
The data stored under the PROP_CONTRACT property is an instance of Contract that represents the contract eligibility for members of the organization shopping at the current store.
public static final java.lang.String PROP_ORGANIZATION_FUNCTION
The value is "organizationFunction".
The data stored under the PROP_ORGANIZATION_FUNCTION property is a String. Valid values are "O" or "OU".
public static final java.lang.String PROP_CATEGORY
The value is "category".
The data stored under the PROP_CATEGORY property is a String that represents the category that this organization falls under.
public static final java.lang.String PROP_DESCRIPTION
The value is "description".
The data stored under the PROP_DESCRIPTION property is a String.
public static final java.lang.String PROP_ORGANIZATION_ENTITY_ID
The value is "organizationEntityID".
The data stored under the PROP_ORGANIZATION_ENTITY_ID property is a String that corresponds to the organization entity ID.
public static final java.lang.String PROP_ORGANIZATION_DN
The value is "organizationDN".
The data stored under the PROP_ORGANIZATION_DN property is a String that represents the organization's distinguished name.
public static final java.lang.String PROP_ADDRESS
The value is "address".
The data stored under the PROP_ADDRESS property is an instance of Address that represents the address for this organization.
public static final java.lang.String PROP_SALUTATION
The value is "salutation".
The data stored under the PROP_SALUTATION property is a String for the organization administrator's salutation.
public static final java.lang.String PROP_GIVEN_NAME
The value is "givenName".
The data stored under the PROP_GIVEN_NAME property is a String for the organization administrator's given name.
public static final java.lang.String PROP_PREFERRED_GIVEN_NAME
The value is "preferredGivenName".
The data stored under the PROP_PREFERRED_GIVEN_NAME property is a String for the organization administrator's preferred given name.
public static final java.lang.String PROP_MIDDLE_NAME
The value is "middleName".
The data stored under the PROP_MIDDLE_NAME property is a String for the organization administrator's middle name.
public static final java.lang.String PROP_FAMILY_NAME
The value is "familyName".
The data stored under the PROP_FAMILY_NAME property is a String for the organization administrator's family name.
public static final java.lang.String PROP_SUFFIX
The value is "suffix".
The data stored under the PROP_SUFFIX property is a String for the organization administrator's suffix.
public static final java.lang.String PROP_TELEPHONE_NUM_1
The value is "telephoneNum1".
The data stored under the PROP_TELEPHONE_NUM_1 property is a String for the organization's primary telephone number.
public static final java.lang.String PROP_TELEPHONE_NUM_2
The value is "telephoneNum2".
The data stored under the PROP_TELEPHONE_NUM_2 property is a String for the organization's secondary telephone number.
public static final java.lang.String PROP_FAX_1
The value is "fax1".
The data stored under the PROP_FAX_1 property is a String for the organization's primary fax number.
public static final java.lang.String PROP_FAX_2
The value is "fax2".
The data stored under the PROP_FAX_2 property is a String for the organization's secondary fax number.
public static final java.lang.String PROP_EMAIL_ADDRESS_1
The value is "emailAddress1".
The data stored under the PROP_EMAIL_ADDRESS_1 property is a String for the organization's primary email address.
public static final java.lang.String PROP_EMAIL_ADDRESS_2
The value is "emailAddress2".
The data stored under the PROP_EMAIL_ADDRESS_2 property is a String for the organization's secondary email address.
public static final java.lang.String PROP_TELEPHONE_TYPE_1
The value is "telephoneType1".
The data stored under the PROP_TELEPHONE_TYPE_1 property is a String for the organization's primary telephone type.
public static final java.lang.String PROP_BEST_CALL_TIME
The value is "bestCallTime".
The data stored under the PROP_BEST_CALL_TIME property is a String for the organization's primary or secondary telephones best time to call.
public static final java.lang.String PROP_PUBLISH_TELEPHONE_1
The value is "publishTelephone1".
The data stored under the PROP_PUBLISH_TELEPHONE_1 property is a String for the organization's publish primary telephone setting. Possible values are "0" for false or "1" for true.
public static final java.lang.String PROP_TELEPHONE_TYPE_2
The value is "telephoneType2".
The data stored under the PROP_TELEPHONE_TYPE_2 property is a String for the organization's secondary telephone type.
public static final java.lang.String PROP_PUBLISH_TELEPHONE_2
The value is "publishTelephone2".
The data stored under the PROP_PUBLISH_TELEPHONE_2 property is a String for the organization's publish secondary telephone setting. Possible values are "0" for false or "1" for true.
public static final java.lang.String PROP_STATUS
The value is "status".
The data stored under the PROP_STATUS property is a String for the organization's status.
public static final java.lang.String INVALID_ORGANIZATION_ENTITY_ID
public static final java.lang.String PROP_OPENED_BY_STORE
The value is "openedByStore".
The data stored under this property is the Store model object for which the Organization has been opened.
public static final java.lang.String PROP_STORE_ID
The value is "storeId".
The data stored under this property is the store id for which the Organization has been opened.
public java.lang.String getEmailAddress1()
public java.lang.String getEmailAddress2()
public java.lang.String getFax1()
public java.lang.String getFax2()
public java.lang.String getOrganizationEntityID()
public java.util.Vector getOrganizationChildren()
public ModelObjectList getOrganizationChildrenModelObjectList()
public java.lang.String getStatus()
public java.lang.String getTelephoneNum1()
public java.lang.String getTelephoneNum2()
public void setEmailAddress1(java.lang.String emailAddress1)
public void setEmailAddress2(java.lang.String emailAddress2)
public void setFax1(java.lang.String fax1)
public void setFax2(java.lang.String fax2)
public void setOrganizationEntityID(java.lang.String organizationEntityID)
public void setOrganizationChildren(java.util.Vector organizationChildren)
public void addOrganizationChild(java.lang.Object child)
public void setStatus(java.lang.String status)
public void setTelephoneNum1(java.lang.String telephoneNum1)
public void setTelephoneNum2(java.lang.String telephoneNum2)
public java.lang.String getOrganizationName()
public Organization getOrganizationParent()
public void setOrganizationName(java.lang.String organizationName)
public void setOrganizationParent(Organization organizationParent)
public java.lang.String getOrganizationFunction()
public void setOrganizationFunction(java.lang.String organizationFunction)
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public Address getAddress()
public void setAddress(Address address)
public java.lang.String getFamilyName()
public java.lang.String getGivenName()
public java.lang.String getMiddleName()
public java.lang.String getSalutation()
public java.lang.String getSuffix()
public void setFamilyName(java.lang.String familyName)
public void setGivenName(java.lang.String givenName)
public void setMiddleName(java.lang.String middleName)
public void setSalutation(java.lang.String salutation)
public void setSuffix(java.lang.String suffix)
public java.lang.String getOrganizationDN()
public void setOrganizationDN(java.lang.String organizationDN)
public java.lang.String getPreferredGivenName()
public void setPreferredGivenName(java.lang.String preferredGivenName)
public java.lang.String getBestCallTime()
public java.lang.String getPublishTelephone1()
public java.lang.String getPublishTelephone2()
public java.lang.String getTelephoneType1()
public java.lang.String getTelephoneType2()
public void setBestCallTime(java.lang.String bestCallTime)
public void setPublishTelephone1(java.lang.String publishTelephone1)
public void setPublishTelephone2(java.lang.String publishTelephone2)
public void setTelephoneType1(java.lang.String telephoneType1)
public void setTelephoneType2(java.lang.String telephoneType2)
public java.lang.String getAdministratorID()
public void setAdministratorID(java.lang.String administratorID)
public Contract getContract()
public void setContract(Contract contract)
public void setOpenedByStore(Store store)
public Store getOpenedByStore()
public java.lang.String getStoreId()