com.liferay.portal.model
Interface OrganizationModel

All Superinterfaces:
BaseModel<Organization>, java.lang.Cloneable, java.lang.Comparable<Organization>, java.io.Serializable
All Known Subinterfaces:
Organization
All Known Implementing Classes:
OrganizationWrapper

public interface OrganizationModel
extends BaseModel<Organization>

View Source

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

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

Author:
Brian Wing Shun Chan
See Also:
Organization, OrganizationImpl, OrganizationModelImpl
Generated:

Method Summary
 java.lang.Object clone()
           
 int compareTo(Organization organization)
           
 java.lang.String getComments()
           
 long getCompanyId()
           
 long getCountryId()
           
 ExpandoBridge getExpandoBridge()
           
 long getLeftOrganizationId()
           
 java.lang.String getName()
           
 long getOrganizationId()
           
 long getParentOrganizationId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 boolean getRecursable()
           
 long getRegionId()
           
 long getRightOrganizationId()
           
 int getStatusId()
           
 java.lang.String getType()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isRecursable()
           
 void setCachedModel(boolean cachedModel)
           
 void setComments(java.lang.String comments)
           
 void setCompanyId(long companyId)
           
 void setCountryId(long countryId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setLeftOrganizationId(long leftOrganizationId)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 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(java.lang.String type)
           
 Organization toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getOrganizationId

long getOrganizationId()

setOrganizationId

void setOrganizationId(long organizationId)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getParentOrganizationId

long getParentOrganizationId()

setParentOrganizationId

void setParentOrganizationId(long parentOrganizationId)

getLeftOrganizationId

long getLeftOrganizationId()

setLeftOrganizationId

void setLeftOrganizationId(long leftOrganizationId)

getRightOrganizationId

long getRightOrganizationId()

setRightOrganizationId

void setRightOrganizationId(long rightOrganizationId)

getName

@AutoEscape
java.lang.String getName()

setName

void setName(java.lang.String name)

getType

java.lang.String getType()

setType

void setType(java.lang.String type)

getRecursable

boolean getRecursable()

isRecursable

boolean isRecursable()

setRecursable

void setRecursable(boolean recursable)

getRegionId

long getRegionId()

setRegionId

void setRegionId(long regionId)

getCountryId

long getCountryId()

setCountryId

void setCountryId(long countryId)

getStatusId

int getStatusId()

setStatusId

void setStatusId(int statusId)

getComments

@AutoEscape
java.lang.String getComments()

setComments

void setComments(java.lang.String comments)

isNew

boolean isNew()
Specified by:
isNew in interface BaseModel<Organization>

setNew

boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Organization>

isCachedModel

boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Organization>

setCachedModel

void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Organization>

isEscapedModel

boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Organization>

setEscapedModel

void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Organization>

getPrimaryKeyObj

java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Organization>

getExpandoBridge

ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Organization>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Organization>

clone

java.lang.Object clone()
Specified by:
clone in interface BaseModel<Organization>

compareTo

int compareTo(Organization organization)
Specified by:
compareTo in interface java.lang.Comparable<Organization>

hashCode

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

toEscapedModel

Organization toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<Organization>

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Organization>