|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Organization>
com.liferay.portal.model.impl.OrganizationModelImpl
public class OrganizationModelImpl
The base model implementation for the Organization service. Represents a row in the "Organization_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface OrganizationModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in OrganizationImpl.
Never modify or reference this class directly. All methods that expect a organization model instance should use the Organization interface instead.
OrganizationImpl,
Organization,
OrganizationModel,
Serialized Form| 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()
Gets the comments of this organization. |
long |
getCompanyId()
Gets the company id of this organization. |
long |
getCountryId()
Gets the country id of this organization. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getLeftOrganizationId()
Gets the left organization id of this organization. |
String |
getName()
Gets the name of this organization. |
long |
getOrganizationId()
Gets the organization id of this organization. |
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getOriginalParentOrganizationId()
|
long |
getParentOrganizationId()
Gets the parent organization id of this organization. |
long |
getPrimaryKey()
Gets the primary key of this organization. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getRecursable()
Gets the recursable of this organization. |
long |
getRegionId()
Gets the region id of this organization. |
long |
getRightOrganizationId()
Gets the right organization id of this organization. |
int |
getStatusId()
Gets the status id of this organization. |
String |
getType()
Gets the type of this organization. |
int |
hashCode()
|
boolean |
isRecursable()
Determines whether this organization is recursable. |
void |
setComments(String comments)
Sets the comments of this organization. |
void |
setCompanyId(long companyId)
Sets the company id of this organization. |
void |
setCountryId(long countryId)
Sets the country id of this organization. |
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)
Sets the left organization id of this organization. |
void |
setName(String name)
Sets the name of this organization. |
void |
setOrganizationId(long organizationId)
Sets the organization id of this organization. |
void |
setParentOrganizationId(long parentOrganizationId)
Sets the parent organization id of this organization. |
void |
setPrimaryKey(long pk)
Sets the primary key of this organization |
void |
setRecursable(boolean recursable)
Sets whether this {$entity.humanName} is recursable. |
void |
setRegionId(long regionId)
Sets the region id of this organization. |
void |
setRightOrganizationId(long rightOrganizationId)
Sets the right organization id of this organization. |
void |
setStatusId(int statusId)
Sets the status id of this organization. |
void |
setType(String type)
Sets the type of this organization. |
Organization |
toEscapedModel()
Gets a copy of this organization as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Organization |
toModel(OrganizationSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Organization> |
toModels(OrganizationSoap[] soapModels)
Converts the soap model instances into normal model instances. |
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 |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final String MAPPING_TABLE_GROUPS_ORGS_NAME
public static final boolean FINDER_CACHE_ENABLED_GROUPS_ORGS
public static final String MAPPING_TABLE_USERS_ORGS_NAME
public static final boolean FINDER_CACHE_ENABLED_USERS_ORGS
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public OrganizationModelImpl()
| Method Detail |
|---|
public static Organization toModel(OrganizationSoap soapModel)
soapModel - the soap model instance to convert
public static List<Organization> toModels(OrganizationSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
OrganizationModel
getPrimaryKey in interface OrganizationModelpublic void setPrimaryKey(long pk)
OrganizationModel
setPrimaryKey in interface OrganizationModelpk - the primary key of this organizationpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Organization>getPrimaryKeyObj in interface OrganizationModelpublic long getOrganizationId()
OrganizationModel
getOrganizationId in interface OrganizationModelpublic void setOrganizationId(long organizationId)
OrganizationModel
setOrganizationId in interface OrganizationModelorganizationId - the organization id of this organizationpublic long getCompanyId()
OrganizationModel
getCompanyId in interface OrganizationModelpublic void setCompanyId(long companyId)
OrganizationModel
setCompanyId in interface OrganizationModelcompanyId - the company id of this organizationpublic long getOriginalCompanyId()
public long getParentOrganizationId()
OrganizationModel
getParentOrganizationId in interface OrganizationModelpublic void setParentOrganizationId(long parentOrganizationId)
OrganizationModel
setParentOrganizationId in interface OrganizationModelparentOrganizationId - the parent organization id of this organizationpublic long getOriginalParentOrganizationId()
public long getLeftOrganizationId()
OrganizationModel
getLeftOrganizationId in interface OrganizationModelpublic void setLeftOrganizationId(long leftOrganizationId)
OrganizationModel
setLeftOrganizationId in interface OrganizationModelleftOrganizationId - the left organization id of this organizationpublic long getRightOrganizationId()
OrganizationModel
getRightOrganizationId in interface OrganizationModelpublic void setRightOrganizationId(long rightOrganizationId)
OrganizationModel
setRightOrganizationId in interface OrganizationModelrightOrganizationId - the right organization id of this organizationpublic String getName()
OrganizationModel
getName in interface OrganizationModelpublic void setName(String name)
OrganizationModel
setName in interface OrganizationModelname - the name of this organizationpublic String getOriginalName()
public String getType()
OrganizationModel
getType in interface OrganizationModelpublic void setType(String type)
OrganizationModel
setType in interface OrganizationModeltype - the type of this organizationpublic boolean getRecursable()
OrganizationModel
getRecursable in interface OrganizationModelpublic boolean isRecursable()
OrganizationModel
isRecursable in interface OrganizationModelpublic void setRecursable(boolean recursable)
OrganizationModel
setRecursable in interface OrganizationModelrecursable - the recursable of this organizationpublic long getRegionId()
OrganizationModel
getRegionId in interface OrganizationModelpublic void setRegionId(long regionId)
OrganizationModel
setRegionId in interface OrganizationModelregionId - the region id of this organizationpublic long getCountryId()
OrganizationModel
getCountryId in interface OrganizationModelpublic void setCountryId(long countryId)
OrganizationModel
setCountryId in interface OrganizationModelcountryId - the country id of this organizationpublic int getStatusId()
OrganizationModel
getStatusId in interface OrganizationModelpublic void setStatusId(int statusId)
OrganizationModel
setStatusId in interface OrganizationModelstatusId - the status id of this organizationpublic String getComments()
OrganizationModel
getComments in interface OrganizationModelpublic void setComments(String comments)
OrganizationModel
setComments in interface OrganizationModelcomments - the comments of this organizationpublic Organization toEscapedModel()
OrganizationModelAutoEscapeBeanHandler.
toEscapedModel in interface OrganizationModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Organization>getExpandoBridge in interface OrganizationModelgetExpandoBridge in class BaseModelImpl<Organization>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Organization>setExpandoBridgeAttributes in interface OrganizationModelsetExpandoBridgeAttributes in class BaseModelImpl<Organization>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Organization>clone in interface OrganizationModelclone in class BaseModelImpl<Organization>public int compareTo(Organization organization)
compareTo in interface OrganizationModelcompareTo in interface Comparable<Organization>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface OrganizationModelhashCode in class Objectpublic String toString()
toString in interface OrganizationModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Organization>toXmlString in interface OrganizationModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||