Liferay 6.0.3

com.liferay.portal.model.impl
Class OrganizationModelImpl

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

public class OrganizationModelImpl
extends BaseModelImpl<Organization>
implements OrganizationModel

This interface is a model that represents the Organization_ table in the database.

See Also:
OrganizationImpl, Organization, OrganizationModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED_GROUPS_ORGS
           
static boolean FINDER_CACHE_ENABLED_USERS_ORGS
           
static long LOCK_EXPIRATION_TIME
           
static String MAPPING_TABLE_GROUPS_ORGS_NAME
           
static String MAPPING_TABLE_USERS_ORGS_NAME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
OrganizationModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Organization organization)
           
 boolean equals(Object obj)
           
 String getComments()
           
 long getCompanyId()
           
 long getCountryId()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getLeftOrganizationId()
           
 String getName()
           
 long getOrganizationId()
           
 long getOriginalCompanyId()
           
 String getOriginalName()
           
 long getOriginalParentOrganizationId()
           
 long getParentOrganizationId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 boolean getRecursable()
           
 long getRegionId()
           
 long getRightOrganizationId()
           
 int getStatusId()
           
 String getType()
           
 int hashCode()
           
 boolean isRecursable()
           
 void setComments(String comments)
           
 void setCompanyId(long companyId)
           
 void setCountryId(long countryId)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setLeftOrganizationId(long leftOrganizationId)
           
 void setName(String name)
           
 void setOrganizationId(long organizationId)
           
 void setParentOrganizationId(long parentOrganizationId)
           
 void setPrimaryKey(long pk)
           
 void setRecursable(boolean recursable)
           
 void setRegionId(long regionId)
           
 void setRightOrganizationId(long rightOrganizationId)
           
 void setStatusId(int statusId)
           
 void setType(String type)
           
 Organization toEscapedModel()
           
static Organization toModel(OrganizationSoap soapModel)
           
static List<Organization> toModels(OrganizationSoap[] soapModels)
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.OrganizationModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

MAPPING_TABLE_GROUPS_ORGS_NAME

public static final String MAPPING_TABLE_GROUPS_ORGS_NAME
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_ORGS

public static final boolean FINDER_CACHE_ENABLED_GROUPS_ORGS

MAPPING_TABLE_USERS_ORGS_NAME

public static final String MAPPING_TABLE_USERS_ORGS_NAME
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_ORGS

public static final boolean FINDER_CACHE_ENABLED_USERS_ORGS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

OrganizationModelImpl

public OrganizationModelImpl()
Method Detail

toModel

public static Organization toModel(OrganizationSoap soapModel)

toModels

public static List<Organization> toModels(OrganizationSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface OrganizationModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface OrganizationModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Organization>
Specified by:
getPrimaryKeyObj in interface OrganizationModel
Returns:
the primary key

getOrganizationId

public long getOrganizationId()
Specified by:
getOrganizationId in interface OrganizationModel

setOrganizationId

public void setOrganizationId(long organizationId)
Specified by:
setOrganizationId in interface OrganizationModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface OrganizationModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface OrganizationModel

getOriginalCompanyId

public long getOriginalCompanyId()

getParentOrganizationId

public long getParentOrganizationId()
Specified by:
getParentOrganizationId in interface OrganizationModel

setParentOrganizationId

public void setParentOrganizationId(long parentOrganizationId)
Specified by:
setParentOrganizationId in interface OrganizationModel

getOriginalParentOrganizationId

public long getOriginalParentOrganizationId()

getLeftOrganizationId

public long getLeftOrganizationId()
Specified by:
getLeftOrganizationId in interface OrganizationModel

setLeftOrganizationId

public void setLeftOrganizationId(long leftOrganizationId)
Specified by:
setLeftOrganizationId in interface OrganizationModel

getRightOrganizationId

public long getRightOrganizationId()
Specified by:
getRightOrganizationId in interface OrganizationModel

setRightOrganizationId

public void setRightOrganizationId(long rightOrganizationId)
Specified by:
setRightOrganizationId in interface OrganizationModel

getName

public String getName()
Specified by:
getName in interface OrganizationModel

setName

public void setName(String name)
Specified by:
setName in interface OrganizationModel

getOriginalName

public String getOriginalName()

getType

public String getType()
Specified by:
getType in interface OrganizationModel

setType

public void setType(String type)
Specified by:
setType in interface OrganizationModel

getRecursable

public boolean getRecursable()
Specified by:
getRecursable in interface OrganizationModel

isRecursable

public boolean isRecursable()
Specified by:
isRecursable in interface OrganizationModel

setRecursable

public void setRecursable(boolean recursable)
Specified by:
setRecursable in interface OrganizationModel

getRegionId

public long getRegionId()
Specified by:
getRegionId in interface OrganizationModel

setRegionId

public void setRegionId(long regionId)
Specified by:
setRegionId in interface OrganizationModel

getCountryId

public long getCountryId()
Specified by:
getCountryId in interface OrganizationModel

setCountryId

public void setCountryId(long countryId)
Specified by:
setCountryId in interface OrganizationModel

getStatusId

public int getStatusId()
Specified by:
getStatusId in interface OrganizationModel

setStatusId

public void setStatusId(int statusId)
Specified by:
setStatusId in interface OrganizationModel

getComments

public String getComments()
Specified by:
getComments in interface OrganizationModel

setComments

public void setComments(String comments)
Specified by:
setComments in interface OrganizationModel

toEscapedModel

public Organization toEscapedModel()
Specified by:
toEscapedModel in interface OrganizationModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Organization>
Specified by:
getExpandoBridge in interface OrganizationModel
Overrides:
getExpandoBridge in class BaseModelImpl<Organization>
Returns:
the expando bridge

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Organization>
Specified by:
setExpandoBridgeAttributes in interface OrganizationModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Organization>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Organization>
Specified by:
clone in interface OrganizationModel
Specified by:
clone in class BaseModelImpl<Organization>
Returns:
the clone

compareTo

public int compareTo(Organization organization)
Specified by:
compareTo in interface OrganizationModel
Specified by:
compareTo in interface Comparable<Organization>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface OrganizationModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface OrganizationModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Organization>
Specified by:
toXmlString in interface OrganizationModel
Returns:
the XML representation of this model instance

Liferay 6.0.3