com.liferay.portal.model.impl
Class OrganizationModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
com.liferay.portal.model.impl.OrganizationModelImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.OrganizationModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.Organization>
- Direct Known Subclasses:
- OrganizationBaseImpl
@JSON(strict=true)
@ProviderType
public class OrganizationModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
- implements com.liferay.portal.kernel.model.OrganizationModel
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.
- See Also:
OrganizationImpl,
Organization,
OrganizationModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.portal.kernel.model.OrganizationModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
COMPANYID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
- See Also:
- Constant Field Values
NAME_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
- See Also:
- Constant Field Values
ORGANIZATIONID_COLUMN_BITMASK
public static final long ORGANIZATIONID_COLUMN_BITMASK
- See Also:
- Constant Field Values
PARENTORGANIZATIONID_COLUMN_BITMASK
public static final long PARENTORGANIZATIONID_COLUMN_BITMASK
- See Also:
- Constant Field Values
TREEPATH_COLUMN_BITMASK
public static final long TREEPATH_COLUMN_BITMASK
- See Also:
- Constant Field Values
UUID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
- See Also:
- Constant Field Values
MAPPING_TABLE_GROUPS_ORGS_NAME
public static final String MAPPING_TABLE_GROUPS_ORGS_NAME
- See Also:
- Constant Field Values
MAPPING_TABLE_GROUPS_ORGS_COLUMNS
public static final Object[][] MAPPING_TABLE_GROUPS_ORGS_COLUMNS
MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
public static final String MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
- See Also:
- Constant Field Values
FINDER_CACHE_ENABLED_GROUPS_ORGS
public static final boolean FINDER_CACHE_ENABLED_GROUPS_ORGS
MAPPING_TABLE_USERS_ORGS_NAME
public static final String MAPPING_TABLE_USERS_ORGS_NAME
- See Also:
- Constant Field Values
MAPPING_TABLE_USERS_ORGS_COLUMNS
public static final Object[][] MAPPING_TABLE_USERS_ORGS_COLUMNS
MAPPING_TABLE_USERS_ORGS_SQL_CREATE
public static final String MAPPING_TABLE_USERS_ORGS_SQL_CREATE
- See Also:
- Constant Field Values
FINDER_CACHE_ENABLED_USERS_ORGS
public static final boolean FINDER_CACHE_ENABLED_USERS_ORGS
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
OrganizationModelImpl
public OrganizationModelImpl()
toModel
public static com.liferay.portal.kernel.model.Organization toModel(com.liferay.portal.kernel.model.OrganizationSoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static List<com.liferay.portal.kernel.model.Organization> toModels(com.liferay.portal.kernel.model.OrganizationSoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.OrganizationModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.OrganizationModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.OrganizationModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.OrganizationModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
getMvccVersion
@JSON
public long getMvccVersion()
- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.OrganizationModel
setMvccVersion
public void setMvccVersion(long mvccVersion)
- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.OrganizationModel
getUuid
@JSON
public String getUuid()
- Specified by:
getUuid in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
getUuid in interface com.liferay.portal.kernel.model.StagedModel
setUuid
public void setUuid(String uuid)
- Specified by:
setUuid in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
setUuid in interface com.liferay.portal.kernel.model.StagedModel
getOriginalUuid
public String getOriginalUuid()
getOrganizationId
@JSON
public long getOrganizationId()
- Specified by:
getOrganizationId in interface com.liferay.portal.kernel.model.OrganizationModel
setOrganizationId
public void setOrganizationId(long organizationId)
- Specified by:
setOrganizationId in interface com.liferay.portal.kernel.model.OrganizationModel
getOriginalOrganizationId
public long getOriginalOrganizationId()
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
getOriginalCompanyId
public long getOriginalCompanyId()
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserId in interface com.liferay.portal.kernel.model.OrganizationModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserId in interface com.liferay.portal.kernel.model.OrganizationModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.OrganizationModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.OrganizationModel
getUserName
@JSON
public String getUserName()
- Specified by:
getUserName in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserName in interface com.liferay.portal.kernel.model.OrganizationModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserName in interface com.liferay.portal.kernel.model.OrganizationModel
getCreateDate
@JSON
public Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
getModifiedDate
@JSON
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
hasSetModifiedDate
public boolean hasSetModifiedDate()
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
getParentOrganizationId
@JSON
public long getParentOrganizationId()
- Specified by:
getParentOrganizationId in interface com.liferay.portal.kernel.model.OrganizationModel
setParentOrganizationId
public void setParentOrganizationId(long parentOrganizationId)
- Specified by:
setParentOrganizationId in interface com.liferay.portal.kernel.model.OrganizationModel
getOriginalParentOrganizationId
public long getOriginalParentOrganizationId()
getTreePath
@JSON
public String getTreePath()
- Specified by:
getTreePath in interface com.liferay.portal.kernel.model.OrganizationModel
setTreePath
public void setTreePath(String treePath)
- Specified by:
setTreePath in interface com.liferay.portal.kernel.model.OrganizationModel
getOriginalTreePath
public String getOriginalTreePath()
getName
@JSON
public String getName()
- Specified by:
getName in interface com.liferay.portal.kernel.model.OrganizationModel
setName
public void setName(String name)
- Specified by:
setName in interface com.liferay.portal.kernel.model.OrganizationModel
getOriginalName
public String getOriginalName()
getType
@JSON
public String getType()
- Specified by:
getType in interface com.liferay.portal.kernel.model.OrganizationModel
setType
public void setType(String type)
- Specified by:
setType in interface com.liferay.portal.kernel.model.OrganizationModel
getRecursable
@JSON
public boolean getRecursable()
- Specified by:
getRecursable in interface com.liferay.portal.kernel.model.OrganizationModel
isRecursable
public boolean isRecursable()
- Specified by:
isRecursable in interface com.liferay.portal.kernel.model.OrganizationModel
setRecursable
public void setRecursable(boolean recursable)
- Specified by:
setRecursable in interface com.liferay.portal.kernel.model.OrganizationModel
getRegionId
@JSON
public long getRegionId()
- Specified by:
getRegionId in interface com.liferay.portal.kernel.model.OrganizationModel
setRegionId
public void setRegionId(long regionId)
- Specified by:
setRegionId in interface com.liferay.portal.kernel.model.OrganizationModel
getCountryId
@JSON
public long getCountryId()
- Specified by:
getCountryId in interface com.liferay.portal.kernel.model.OrganizationModel
setCountryId
public void setCountryId(long countryId)
- Specified by:
setCountryId in interface com.liferay.portal.kernel.model.OrganizationModel
getStatusId
@JSON
public long getStatusId()
- Specified by:
getStatusId in interface com.liferay.portal.kernel.model.OrganizationModel
setStatusId
public void setStatusId(long statusId)
- Specified by:
setStatusId in interface com.liferay.portal.kernel.model.OrganizationModel
getComments
@JSON
public String getComments()
- Specified by:
getComments in interface com.liferay.portal.kernel.model.OrganizationModel
setComments
public void setComments(String comments)
- Specified by:
setComments in interface com.liferay.portal.kernel.model.OrganizationModel
getLogoId
@JSON
public long getLogoId()
- Specified by:
getLogoId in interface com.liferay.portal.kernel.model.OrganizationModel
setLogoId
public void setLogoId(long logoId)
- Specified by:
setLogoId in interface com.liferay.portal.kernel.model.OrganizationModel
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
- Specified by:
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.OrganizationModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.OrganizationModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
toEscapedModel
public com.liferay.portal.kernel.model.Organization toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.OrganizationModel- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
clone in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
clone in interface com.liferay.portal.kernel.model.StagedModel- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
compareTo
public int compareTo(com.liferay.portal.kernel.model.Organization organization)
- Specified by:
compareTo in interface com.liferay.portal.kernel.model.OrganizationModel- Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.Organization>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portal.kernel.model.OrganizationModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Organization> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.OrganizationModel- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
toString
public String toString()
- Specified by:
toString in interface com.liferay.portal.kernel.model.OrganizationModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.OrganizationModel