|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 OrganizationModel
public void setPrimaryKey(long pk)
OrganizationModel
setPrimaryKey
in interface OrganizationModel
pk
- the primary key of this organizationpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Organization>
getPrimaryKeyObj
in interface OrganizationModel
public long getOrganizationId()
OrganizationModel
getOrganizationId
in interface OrganizationModel
public void setOrganizationId(long organizationId)
OrganizationModel
setOrganizationId
in interface OrganizationModel
organizationId
- the organization id of this organizationpublic long getCompanyId()
OrganizationModel
getCompanyId
in interface OrganizationModel
public void setCompanyId(long companyId)
OrganizationModel
setCompanyId
in interface OrganizationModel
companyId
- the company id of this organizationpublic long getOriginalCompanyId()
public long getParentOrganizationId()
OrganizationModel
getParentOrganizationId
in interface OrganizationModel
public void setParentOrganizationId(long parentOrganizationId)
OrganizationModel
setParentOrganizationId
in interface OrganizationModel
parentOrganizationId
- the parent organization id of this organizationpublic long getOriginalParentOrganizationId()
public long getLeftOrganizationId()
OrganizationModel
getLeftOrganizationId
in interface OrganizationModel
public void setLeftOrganizationId(long leftOrganizationId)
OrganizationModel
setLeftOrganizationId
in interface OrganizationModel
leftOrganizationId
- the left organization id of this organizationpublic long getRightOrganizationId()
OrganizationModel
getRightOrganizationId
in interface OrganizationModel
public void setRightOrganizationId(long rightOrganizationId)
OrganizationModel
setRightOrganizationId
in interface OrganizationModel
rightOrganizationId
- the right organization id of this organizationpublic String getName()
OrganizationModel
getName
in interface OrganizationModel
public void setName(String name)
OrganizationModel
setName
in interface OrganizationModel
name
- the name of this organizationpublic String getOriginalName()
public String getType()
OrganizationModel
getType
in interface OrganizationModel
public void setType(String type)
OrganizationModel
setType
in interface OrganizationModel
type
- the type of this organizationpublic boolean getRecursable()
OrganizationModel
getRecursable
in interface OrganizationModel
public boolean isRecursable()
OrganizationModel
isRecursable
in interface OrganizationModel
public void setRecursable(boolean recursable)
OrganizationModel
setRecursable
in interface OrganizationModel
recursable
- the recursable of this organizationpublic long getRegionId()
OrganizationModel
getRegionId
in interface OrganizationModel
public void setRegionId(long regionId)
OrganizationModel
setRegionId
in interface OrganizationModel
regionId
- the region id of this organizationpublic long getCountryId()
OrganizationModel
getCountryId
in interface OrganizationModel
public void setCountryId(long countryId)
OrganizationModel
setCountryId
in interface OrganizationModel
countryId
- the country id of this organizationpublic int getStatusId()
OrganizationModel
getStatusId
in interface OrganizationModel
public void setStatusId(int statusId)
OrganizationModel
setStatusId
in interface OrganizationModel
statusId
- the status id of this organizationpublic String getComments()
OrganizationModel
getComments
in interface OrganizationModel
public void setComments(String comments)
OrganizationModel
setComments
in interface OrganizationModel
comments
- the comments of this organizationpublic Organization toEscapedModel()
OrganizationModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface OrganizationModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Organization>
getExpandoBridge
in interface OrganizationModel
getExpandoBridge
in class BaseModelImpl<Organization>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Organization>
setExpandoBridgeAttributes
in interface OrganizationModel
setExpandoBridgeAttributes
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 OrganizationModel
clone
in class BaseModelImpl<Organization>
public int compareTo(Organization organization)
compareTo
in interface OrganizationModel
compareTo
in interface Comparable<Organization>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface OrganizationModel
hashCode
in class Object
public String toString()
toString
in interface OrganizationModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Organization>
toXmlString
in interface OrganizationModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |