com.liferay.portal.model.impl
Class OrganizationImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portal.model.impl.OrganizationModelImpl
          extended bycom.liferay.portal.model.impl.OrganizationImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, com.liferay.portal.model.Organization, com.liferay.portal.model.OrganizationModel, java.io.Serializable

public class OrganizationImpl
extends OrganizationModelImpl
implements com.liferay.portal.model.Organization

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static int ANY_PARENT_ORGANIZATION_ID
           
static int DEFAULT_PARENT_ORGANIZATION_ID
           
 
Fields inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, XSS_ALLOW_BY_MODEL, XSS_ALLOW_COMMENTS, XSS_ALLOW_NAME
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
OrganizationImpl()
           
 
Method Summary
 com.liferay.portal.model.Address getAddress()
           
 java.util.List getAddresses()
           
 com.liferay.portal.model.Group getGroup()
           
 boolean isRoot()
           
 
Methods inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
clone, compareTo, equals, getComments, getCompanyId, getCountryId, getLocation, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getStatusId, hashCode, isLocation, isRecursable, setComments, setCompanyId, setCountryId, setLocation, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setStatusId
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.OrganizationModel
getComments, getCompanyId, getCountryId, getLocation, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getRecursable, getRegionId, getStatusId, isLocation, isRecursable, setComments, setCompanyId, setCountryId, setLocation, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setStatusId
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

DEFAULT_PARENT_ORGANIZATION_ID

public static final int DEFAULT_PARENT_ORGANIZATION_ID
See Also:
Constant Field Values

ANY_PARENT_ORGANIZATION_ID

public static final int ANY_PARENT_ORGANIZATION_ID
See Also:
Constant Field Values
Constructor Detail

OrganizationImpl

public OrganizationImpl()
Method Detail

isRoot

public boolean isRoot()
Specified by:
isRoot in interface com.liferay.portal.model.Organization

getGroup

public com.liferay.portal.model.Group getGroup()
Specified by:
getGroup in interface com.liferay.portal.model.Organization

getAddress

public com.liferay.portal.model.Address getAddress()
Specified by:
getAddress in interface com.liferay.portal.model.Organization

getAddresses

public java.util.List getAddresses()
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
getAddresses in interface com.liferay.portal.model.Organization
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException