com.arsdigita.cms.contenttypes
Class Address

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.versioning.VersionedACSObject
                  extended bycom.arsdigita.cms.ContentItem
                      extended bycom.arsdigita.cms.ContentPage
                          extended bycom.arsdigita.cms.contenttypes.Address
All Implemented Interfaces:
com.arsdigita.auditing.Audited, com.arsdigita.cms.CustomCopy

public class Address
extends com.arsdigita.cms.ContentPage

This content type represents a generic address which is not country specific.

Version:
$Revision: #5 $ $Date: 2004/04/07 $
Author:
Dominik Kacprzak

Field Summary
static String ADDRESS
          PDL property name for address
static String BASE_DATA_OBJECT_TYPE
          Data object type for this domain object
static String EMAIL
          PDL property name for email address
static String FAX
          PDL property name for fax number
static String ISO_COUNTRY_CODE
          PDL property name for country iso code
static String MOBILE
          PDL property name for mobile phone number
static String NOTES
          PDL property name for notes
static String PHONE
          PDL property name for phone number
static String POSTAL_CODE
          PDL property name for postal code
static String URI
          PDL property name for URI
 
Fields inherited from class com.arsdigita.cms.ContentPage
LAUNCH_DATE, PAGES_IN_CATEGORY, PAGES_IN_FOLDER, QUERY_CATEGORY_ID, QUERY_PAGE, QUERY_ROOT_ID, QUERY_TYPE, SUMMARY, TITLE, versionId
 
Fields inherited from class com.arsdigita.cms.ContentItem
ANCESTORS, AUDITING, CHILDREN, CONTENT_SECTION, CONTENT_TYPE, DRAFT, DRAFT_VERSION, LANGUAGE, LIVE, NAME, PARENT, PENDING, VERSION, VERSIONS
 
Fields inherited from class com.arsdigita.versioning.VersionedACSObject
IS_DELETED, MASTER
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
Address()
           
Address(BigDecimal id)
           
Address(com.arsdigita.persistence.DataObject obj)
           
Address(com.arsdigita.persistence.OID id)
           
Address(String type)
           
 
Method Summary
 void beforeSave()
           
 String getAddress()
           
 String getCountryIsoCode()
           
 String getEmail()
           
 String getFax()
           
 String getMobile()
           
 String getNotes()
           
 String getPhone()
           
 String getPostalCode()
           
 String getURI()
           
 void setAddress(String address)
           
 void setCountryIsoCode(String isoCode)
           
 void setEmail(String email)
           
 void setFax(String fax)
           
 void setMobile(String mobile)
           
 void setNotes(String notes)
           
 void setPhone(String phone)
           
 void setPostalCode(String postalCode)
           
 void setURI(String uri)
           
 
Methods inherited from class com.arsdigita.cms.ContentPage
getBaseDataObjectType, getContentBundle, getDisplayName, getLaunchDate, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getSearchSummary, getTitle, setLaunchDate, setName, setPagesQueryParameters, setPagesQueryParameters, setTitle
 
Methods inherited from class com.arsdigita.cms.ContentItem
addCategory, addPendingVersion, afterSave, assertDraft, assertLive, assertMaster, assertPending, beforeDelete, canPublishToFS, copy, copy, copyProperty, copyProperty, copyServices, copyServicesFrom, createLiveVersion, createPendingVersion, get, getCategories, getCategoryCollection, getChildren, getContentSection, getContentType, getCreationDate, getCreationIP, getCreationUser, getDraftVersion, getLanguage, getLastModifiedDate, getLastModifiedIP, getLastModifiedUser, getLifecycle, getLiveVersion, getLocale, getName, getParent, getPath, getPathInfo, getPathInfo, getPathNoJsp, getPendingVersions, getPublicVersion, getVersion, getWorkingVersion, initialize, isDraftVersion, isLive, isLiveVersion, isPendingVersion, isPublished, makeCopy, promotePendingVersion, publish, publishToFS, removeCategory, removeLifecycle, removePendingVersion, set, setContentSection, setContentType, setDefaultCategory, setLanguage, setLifecycle, setLive, setLiveVersion, setParent, setVersion, setVersionRecursively, unpublish, unpublishFromFS
 
Methods inherited from class com.arsdigita.versioning.VersionedACSObject
applyTag, applyUniqueTag, autoPropagateMaster, getMaster, getRolledBackTo, getTransactions, getTransactions, isMaster, isRolledBack, isSubtype, permanentlyDelete, propagateMaster, recordAttributeChange, rollBackTo, rollBackTo, rollForward, save, setMaster, trackChanges
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, clear, delete, disconnect, equals, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDRESS

public static final String ADDRESS
PDL property name for address

See Also:
Constant Field Values

ISO_COUNTRY_CODE

public static final String ISO_COUNTRY_CODE
PDL property name for country iso code

See Also:
Constant Field Values

POSTAL_CODE

public static final String POSTAL_CODE
PDL property name for postal code

See Also:
Constant Field Values

PHONE

public static final String PHONE
PDL property name for phone number

See Also:
Constant Field Values

MOBILE

public static final String MOBILE
PDL property name for mobile phone number

See Also:
Constant Field Values

FAX

public static final String FAX
PDL property name for fax number

See Also:
Constant Field Values

EMAIL

public static final String EMAIL
PDL property name for email address

See Also:
Constant Field Values

NOTES

public static final String NOTES
PDL property name for notes

See Also:
Constant Field Values

URI

public static final String URI
PDL property name for URI

See Also:
Constant Field Values

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
Data object type for this domain object

See Also:
Constant Field Values
Constructor Detail

Address

public Address()

Address

public Address(BigDecimal id)
        throws com.arsdigita.domain.DataObjectNotFoundException

Address

public Address(com.arsdigita.persistence.OID id)
        throws com.arsdigita.domain.DataObjectNotFoundException

Address

public Address(com.arsdigita.persistence.DataObject obj)

Address

public Address(String type)
Method Detail

beforeSave

public void beforeSave()

getAddress

public String getAddress()

setAddress

public void setAddress(String address)

getCountryIsoCode

public String getCountryIsoCode()

setCountryIsoCode

public void setCountryIsoCode(String isoCode)

getPostalCode

public String getPostalCode()

setPostalCode

public void setPostalCode(String postalCode)

getPhone

public String getPhone()

setPhone

public void setPhone(String phone)

getMobile

public String getMobile()

setMobile

public void setMobile(String mobile)

getFax

public String getFax()

setFax

public void setFax(String fax)

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getNotes

public String getNotes()

setNotes

public void setNotes(String notes)

setURI

public void setURI(String uri)

getURI

public String getURI()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:0006 UTC