com.liferay.portal.model.impl
Class OrganizationModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      extended by com.liferay.portal.model.impl.OrganizationModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
OrganizationImpl

public class OrganizationModelImpl
extends BaseModelImpl

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a model that represents the Organization table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.Organization, com.liferay.portal.service.model.OrganizationModel, com.liferay.portal.service.model.impl.OrganizationImpl, Serialized Form

Field Summary
static boolean CACHE_ENABLED
           
static boolean CACHE_ENABLED_GROUPS_ORGS
           
static boolean CACHE_ENABLED_USERS_ORGS
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
 
Constructor Summary
OrganizationModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getComments()
           
 long getCompanyId()
           
 long getCountryId()
           
 boolean getLocation()
           
 java.lang.String getName()
           
 long getOrganizationId()
           
 long getParentOrganizationId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 boolean getRecursable()
           
 long getRegionId()
           
 int getStatusId()
           
 int hashCode()
           
 boolean isLocation()
           
 boolean isRecursable()
           
 void setComments(java.lang.String comments)
           
 void setCompanyId(long companyId)
           
 void setCountryId(long countryId)
           
 void setLocation(boolean location)
           
 void setName(java.lang.String name)
           
 void setOrganizationId(long organizationId)
           
 void setParentOrganizationId(long parentOrganizationId)
           
 void setPrimaryKey(long pk)
           
 void setRecursable(boolean recursable)
           
 void setRegionId(long regionId)
           
 void setStatusId(int statusId)
           
 com.liferay.portal.model.Organization toEscapedModel()
           
static com.liferay.portal.model.Organization toModel(com.liferay.portal.model.OrganizationSoap soapModel)
           
static java.util.List<com.liferay.portal.model.Organization> toModels(com.liferay.portal.model.OrganizationSoap[] soapModels)
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

CACHE_ENABLED

public static final boolean CACHE_ENABLED

CACHE_ENABLED_GROUPS_ORGS

public static final boolean CACHE_ENABLED_GROUPS_ORGS

CACHE_ENABLED_USERS_ORGS

public static final boolean CACHE_ENABLED_USERS_ORGS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

OrganizationModelImpl

public OrganizationModelImpl()
Method Detail

toModel

public static com.liferay.portal.model.Organization toModel(com.liferay.portal.model.OrganizationSoap soapModel)

toModels

public static java.util.List<com.liferay.portal.model.Organization> toModels(com.liferay.portal.model.OrganizationSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getOrganizationId

public long getOrganizationId()

setOrganizationId

public void setOrganizationId(long organizationId)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getParentOrganizationId

public long getParentOrganizationId()

setParentOrganizationId

public void setParentOrganizationId(long parentOrganizationId)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getLocation

public boolean getLocation()

isLocation

public boolean isLocation()

setLocation

public void setLocation(boolean location)

getRecursable

public boolean getRecursable()

isRecursable

public boolean isRecursable()

setRecursable

public void setRecursable(boolean recursable)

getRegionId

public long getRegionId()

setRegionId

public void setRegionId(long regionId)

getCountryId

public long getCountryId()

setCountryId

public void setCountryId(long countryId)

getStatusId

public int getStatusId()

setStatusId

public void setStatusId(int statusId)

getComments

public java.lang.String getComments()

setComments

public void setComments(java.lang.String comments)

toEscapedModel

public com.liferay.portal.model.Organization toEscapedModel()

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class BaseModelImpl

compareTo

public int compareTo(java.lang.Object obj)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object