|
Liferay 6.2.0-ce-m5 | |||||||||
| 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
@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 Form| Field 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
|
static long |
UUID_COLUMN_BITMASK
|
| 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. |
Date |
getCreateDate()
Returns the create date of this organization. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this organization. |
String |
getName()
Returns the name of this organization. |
long |
getOrganizationId()
Returns the organization ID of this organization. |
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getOriginalParentOrganizationId()
|
String |
getOriginalUuid()
|
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. |
long |
getUserId()
Returns the user ID of this organization. |
String |
getUserName()
Returns the user name of this organization. |
String |
getUserUuid()
Returns the user uuid of this organization. |
String |
getUuid()
Returns the uuid 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 |
setCreateDate(Date createDate)
Sets the create date 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 |
setModifiedDate(Date modifiedDate)
Sets the modified date 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 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. |
void |
setUserId(long userId)
Sets the user ID of this organization. |
void |
setUserName(String userName)
Sets the user name of this organization. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this organization. |
void |
setUuid(String uuid)
Sets the uuid 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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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 long UUID_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 OrganizationModelpublic void setPrimaryKey(long primaryKey)
OrganizationModel
setPrimaryKey in interface OrganizationModelprimaryKey - the primary key of this organizationpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Organization>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface OrganizationModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Organization>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface OrganizationModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 String getUuid()
OrganizationModel
getUuid in interface OrganizationModelgetUuid in interface StagedModelpublic void setUuid(String uuid)
OrganizationModel
setUuid in interface OrganizationModelsetUuid in interface StagedModeluuid - the uuid of this organizationpublic String getOriginalUuid()
@JSON public long getOrganizationId()
OrganizationModel
getOrganizationId in interface OrganizationModelpublic void setOrganizationId(long organizationId)
OrganizationModel
setOrganizationId in interface OrganizationModelorganizationId - the organization ID of this organization@JSON public long getCompanyId()
OrganizationModel
getCompanyId in interface AuditedModelgetCompanyId in interface OrganizationModelpublic void setCompanyId(long companyId)
OrganizationModel
setCompanyId in interface AuditedModelsetCompanyId in interface OrganizationModelcompanyId - the company ID of this organizationpublic long getOriginalCompanyId()
@JSON public long getUserId()
OrganizationModel
getUserId in interface AuditedModelgetUserId in interface OrganizationModelpublic void setUserId(long userId)
OrganizationModel
setUserId in interface AuditedModelsetUserId in interface OrganizationModeluserId - the user ID of this organization
public String getUserUuid()
throws SystemException
OrganizationModel
getUserUuid in interface AuditedModelgetUserUuid in interface OrganizationModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
OrganizationModel
setUserUuid in interface AuditedModelsetUserUuid in interface OrganizationModeluserUuid - the user uuid of this organization@JSON public String getUserName()
OrganizationModel
getUserName in interface AuditedModelgetUserName in interface OrganizationModelpublic void setUserName(String userName)
OrganizationModel
setUserName in interface AuditedModelsetUserName in interface OrganizationModeluserName - the user name of this organization@JSON public Date getCreateDate()
OrganizationModel
getCreateDate in interface AuditedModelgetCreateDate in interface OrganizationModelpublic void setCreateDate(Date createDate)
OrganizationModel
setCreateDate in interface AuditedModelsetCreateDate in interface OrganizationModelcreateDate - the create date of this organization@JSON public Date getModifiedDate()
OrganizationModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface OrganizationModelpublic void setModifiedDate(Date modifiedDate)
OrganizationModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface OrganizationModelmodifiedDate - the modified date of this organization@JSON 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()
@JSON public String getTreePath()
OrganizationModel
getTreePath in interface OrganizationModelpublic void setTreePath(String treePath)
OrganizationModel
setTreePath in interface OrganizationModeltreePath - the tree path of this organization@JSON public String getName()
OrganizationModel
getName in interface OrganizationModelpublic void setName(String name)
OrganizationModel
setName in interface OrganizationModelname - the name of this organizationpublic String getOriginalName()
@JSON public String getType()
OrganizationModel
getType in interface OrganizationModelpublic void setType(String type)
OrganizationModel
setType in interface OrganizationModeltype - the type of this organization@JSON public boolean getRecursable()
OrganizationModel
getRecursable in interface OrganizationModelpublic boolean isRecursable()
OrganizationModeltrue if this organization is recursable.
isRecursable in interface OrganizationModeltrue if this organization is recursable; false otherwisepublic void setRecursable(boolean recursable)
OrganizationModel
setRecursable in interface OrganizationModelrecursable - the recursable of this organization@JSON public long getRegionId()
OrganizationModel
getRegionId in interface OrganizationModelpublic void setRegionId(long regionId)
OrganizationModel
setRegionId in interface OrganizationModelregionId - the region ID of this organization@JSON public long getCountryId()
OrganizationModel
getCountryId in interface OrganizationModelpublic void setCountryId(long countryId)
OrganizationModel
setCountryId in interface OrganizationModelcountryId - the country ID of this organization@JSON public int getStatusId()
OrganizationModel
getStatusId in interface OrganizationModelpublic void setStatusId(int statusId)
OrganizationModel
setStatusId in interface OrganizationModelstatusId - the status ID of this organization@JSON public String getComments()
OrganizationModel
getComments in interface OrganizationModelpublic void setComments(String comments)
OrganizationModel
setComments in interface OrganizationModelcomments - the comments of this organizationpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Organization>getExpandoBridge in interface ClassedModelgetExpandoBridge 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 be appliedServiceContext.getExpandoBridgeAttributes(
)public Organization toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Organization>toEscapedModel in interface OrganizationModeltoEscapedModel in class BaseModelImpl<Organization>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Organization>clone in interface OrganizationModelclone in interface StagedModelclone 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 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 OrganizationModeltoCacheModel in class BaseModelImpl<Organization>public String toString()
toString in interface OrganizationModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Organization>toXmlString in interface OrganizationModel
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||