|
Liferay 6.1.2-ce-ga3 | |||||||||
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
@JSON(strict=true) 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
.
OrganizationImpl
,
Organization
,
OrganizationModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
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 Object[][] |
MAPPING_TABLE_GROUPS_ORGS_COLUMNS
|
static String |
MAPPING_TABLE_GROUPS_ORGS_NAME
|
static String |
MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
|
static Object[][] |
MAPPING_TABLE_USERS_ORGS_COLUMNS
|
static String |
MAPPING_TABLE_USERS_ORGS_NAME
|
static String |
MAPPING_TABLE_USERS_ORGS_SQL_CREATE
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTORGANIZATIONID_COLUMN_BITMASK
|
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)
|
long |
getColumnBitmask()
|
String |
getComments()
Returns the comments of this organization. |
long |
getCompanyId()
Returns the company ID of this organization. |
long |
getCountryId()
Returns the country ID of this organization. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this organization. |
long |
getOrganizationId()
Returns the organization ID of this organization. |
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getOriginalParentOrganizationId()
|
long |
getParentOrganizationId()
Returns the parent organization ID of this organization. |
long |
getPrimaryKey()
Returns the primary key of this organization. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getRecursable()
Returns the recursable of this organization. |
long |
getRegionId()
Returns the region ID of this organization. |
int |
getStatusId()
Returns the status ID of this organization. |
String |
getTreePath()
Returns the tree path of this organization. |
String |
getType()
Returns the type of this organization. |
int |
hashCode()
|
boolean |
isRecursable()
Returns true if this organization is recursable. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 primaryKey)
Sets the primary key of this organization. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRecursable(boolean recursable)
Sets whether this organization is recursable. |
void |
setRegionId(long regionId)
Sets the region ID of this organization. |
void |
setStatusId(int statusId)
Sets the status ID of this organization. |
void |
setTreePath(String treePath)
Sets the tree path of this organization. |
void |
setType(String type)
Sets the type of this organization. |
CacheModel<Organization> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Organization |
toEscapedModel()
Returns a copy of this entity 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()
|
Organization |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long PARENTORGANIZATIONID_COLUMN_BITMASK
public static final String MAPPING_TABLE_GROUPS_ORGS_NAME
public static final Object[][] MAPPING_TABLE_GROUPS_ORGS_COLUMNS
public static final String MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_GROUPS_ORGS
public static final String MAPPING_TABLE_USERS_ORGS_NAME
public static final Object[][] MAPPING_TABLE_USERS_ORGS_COLUMNS
public static final String MAPPING_TABLE_USERS_ORGS_SQL_CREATE
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 primaryKey)
OrganizationModel
setPrimaryKey
in interface OrganizationModel
primaryKey
- the primary key of this organizationpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Organization>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface OrganizationModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Organization>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface OrganizationModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Organization>
getModelAttributes
in class BaseModelImpl<Organization>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Organization>
setModelAttributes
in class BaseModelImpl<Organization>
@JSON public long getOrganizationId()
OrganizationModel
getOrganizationId
in interface OrganizationModel
public void setOrganizationId(long organizationId)
OrganizationModel
setOrganizationId
in interface OrganizationModel
organizationId
- the organization ID of this organization@JSON public 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()
@JSON 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()
@JSON public String getTreePath()
OrganizationModel
getTreePath
in interface OrganizationModel
public void setTreePath(String treePath)
OrganizationModel
setTreePath
in interface OrganizationModel
treePath
- the tree path of this organization@JSON public 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()
@JSON public String getType()
OrganizationModel
getType
in interface OrganizationModel
public void setType(String type)
OrganizationModel
setType
in interface OrganizationModel
type
- the type of this organization@JSON public boolean getRecursable()
OrganizationModel
getRecursable
in interface OrganizationModel
public boolean isRecursable()
OrganizationModel
true
if this organization is recursable.
isRecursable
in interface OrganizationModel
true
if this organization is recursable; false
otherwisepublic void setRecursable(boolean recursable)
OrganizationModel
setRecursable
in interface OrganizationModel
recursable
- the recursable of this organization@JSON public long getRegionId()
OrganizationModel
getRegionId
in interface OrganizationModel
public void setRegionId(long regionId)
OrganizationModel
setRegionId
in interface OrganizationModel
regionId
- the region ID of this organization@JSON public long getCountryId()
OrganizationModel
getCountryId
in interface OrganizationModel
public void setCountryId(long countryId)
OrganizationModel
setCountryId
in interface OrganizationModel
countryId
- the country ID of this organization@JSON public int getStatusId()
OrganizationModel
getStatusId
in interface OrganizationModel
public void setStatusId(int statusId)
OrganizationModel
setStatusId
in interface OrganizationModel
statusId
- the status ID of this organization@JSON public String getComments()
OrganizationModel
getComments
in interface OrganizationModel
public void setComments(String comments)
OrganizationModel
setComments
in interface OrganizationModel
comments
- the comments of this organizationpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Organization>
getExpandoBridge
in interface ClassedModel
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 contextServiceContext.getExpandoBridgeAttributes(
)
public Organization toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Organization>
toEscapedModel
in interface OrganizationModel
toEscapedModel
in class BaseModelImpl<Organization>
AutoEscapeBeanHandler
public Organization toUnescapedModel()
toUnescapedModel
in interface BaseModel<Organization>
toUnescapedModel
in interface OrganizationModel
toUnescapedModel
in class BaseModelImpl<Organization>
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 void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Organization>
resetOriginalValues
in class BaseModelImpl<Organization>
public CacheModel<Organization> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Organization>
toCacheModel
in interface OrganizationModel
toCacheModel
in class BaseModelImpl<Organization>
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |