|
Liferay 6.2-ce-ga5 | |||||||||
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 FormConstructor 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 |
getOriginalOrganizationId()
|
long |
getOriginalParentOrganizationId()
|
String |
getOriginalTreePath()
|
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. |
StagedModelType |
getStagedModelType()
|
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 ORGANIZATIONID_COLUMN_BITMASK
public static long PARENTORGANIZATIONID_COLUMN_BITMASK
public static long TREEPATH_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 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 String getUuid()
OrganizationModel
getUuid
in interface OrganizationModel
getUuid
in interface StagedModel
public void setUuid(String uuid)
OrganizationModel
setUuid
in interface OrganizationModel
setUuid
in interface StagedModel
uuid
- the uuid of this organizationpublic String getOriginalUuid()
@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 organizationpublic long getOriginalOrganizationId()
@JSON public long getCompanyId()
OrganizationModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface OrganizationModel
getCompanyId
in interface StagedModel
public void setCompanyId(long companyId)
OrganizationModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface OrganizationModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this organizationpublic long getOriginalCompanyId()
@JSON public long getUserId()
OrganizationModel
getUserId
in interface AuditedModel
getUserId
in interface OrganizationModel
public void setUserId(long userId)
OrganizationModel
setUserId
in interface AuditedModel
setUserId
in interface OrganizationModel
userId
- the user ID of this organizationpublic String getUserUuid() throws SystemException
OrganizationModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface OrganizationModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
OrganizationModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface OrganizationModel
userUuid
- the user uuid of this organization@JSON public String getUserName()
OrganizationModel
getUserName
in interface AuditedModel
getUserName
in interface OrganizationModel
public void setUserName(String userName)
OrganizationModel
setUserName
in interface AuditedModel
setUserName
in interface OrganizationModel
userName
- the user name of this organization@JSON public Date getCreateDate()
OrganizationModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface OrganizationModel
getCreateDate
in interface StagedModel
public void setCreateDate(Date createDate)
OrganizationModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface OrganizationModel
setCreateDate
in interface StagedModel
createDate
- the create date of this organization@JSON public Date getModifiedDate()
OrganizationModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface OrganizationModel
getModifiedDate
in interface StagedModel
public void setModifiedDate(Date modifiedDate)
OrganizationModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface OrganizationModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this organization@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 organizationpublic String getOriginalTreePath()
@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 StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public 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 context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Organization toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Organization>
toEscapedModel
in interface OrganizationModel
toEscapedModel
in class BaseModelImpl<Organization>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<Organization>
clone
in interface OrganizationModel
clone
in interface StagedModel
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.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |