|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrganizationModel
The base model interface for the Organization service. Represents a row in the "Organization_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation OrganizationModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in OrganizationImpl
.
Organization
,
OrganizationImpl
,
OrganizationModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Organization organization)
|
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. |
String |
getName()
Returns the name of this organization. |
long |
getOrganizationId()
Returns the organization ID of this organization. |
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 |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isRecursable()
Returns true if this organization is recursable. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setName(String name)
Sets the name of this organization. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 . |
String |
toString()
|
Organization |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this organizationlong getOrganizationId()
void setOrganizationId(long organizationId)
organizationId
- the organization ID of this organizationlong getCompanyId()
void setCompanyId(long companyId)
companyId
- the company ID of this organizationlong getParentOrganizationId()
void setParentOrganizationId(long parentOrganizationId)
parentOrganizationId
- the parent organization ID of this organization@AutoEscape String getTreePath()
void setTreePath(String treePath)
treePath
- the tree path of this organization@AutoEscape String getName()
void setName(String name)
name
- the name of this organizationString getType()
void setType(String type)
type
- the type of this organizationboolean getRecursable()
boolean isRecursable()
true
if this organization is recursable.
true
if this organization is recursable; false
otherwisevoid setRecursable(boolean recursable)
recursable
- the recursable of this organizationlong getRegionId()
void setRegionId(long regionId)
regionId
- the region ID of this organizationlong getCountryId()
void setCountryId(long countryId)
countryId
- the country ID of this organizationint getStatusId()
void setStatusId(int statusId)
statusId
- the status ID of this organization@AutoEscape String getComments()
void setComments(String comments)
comments
- the comments of this organizationboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Organization>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Organization>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Organization>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Organization>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Organization>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Organization>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Organization>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Organization>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Organization>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<Organization>
int compareTo(Organization organization)
compareTo
in interface Comparable<Organization>
int hashCode()
hashCode
in class Object
CacheModel<Organization> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Organization>
Organization toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Organization>
AutoEscapeBeanHandler
Organization toUnescapedModel()
toUnescapedModel
in interface BaseModel<Organization>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Organization>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |