|
Liferay 6.0.4 | |||||||||
| 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.
Never modify or reference this interface directly. All methods that expect a organization model instance should use the Organization interface instead.
Organization,
OrganizationImpl,
OrganizationModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Organization organization)
|
String |
getComments()
Gets the comments of this organization. |
long |
getCompanyId()
Gets the company id of this organization. |
long |
getCountryId()
Gets the country id of this organization. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getLeftOrganizationId()
Gets the left organization id of this organization. |
String |
getName()
Gets the name of this organization. |
long |
getOrganizationId()
Gets the organization id of this organization. |
long |
getParentOrganizationId()
Gets the parent organization id of this organization. |
long |
getPrimaryKey()
Gets the primary key of this organization. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getRecursable()
Gets the recursable of this organization. |
long |
getRegionId()
Gets the region id of this organization. |
long |
getRightOrganizationId()
Gets the right organization id of this organization. |
int |
getStatusId()
Gets the status id of this organization. |
String |
getType()
Gets the type of this organization. |
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isRecursable()
Determines whether 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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setLeftOrganizationId(long leftOrganizationId)
Sets the left organization id of this organization. |
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 pk)
Sets the primary key of this organization |
void |
setRecursable(boolean recursable)
Sets whether this {$entity.humanName} is recursable. |
void |
setRegionId(long regionId)
Sets the region id of this organization. |
void |
setRightOrganizationId(long rightOrganizationId)
Sets the right organization id of this organization. |
void |
setStatusId(int statusId)
Sets the status id of this organization. |
void |
setType(String type)
Sets the type of this organization. |
Organization |
toEscapedModel()
Gets a copy of this organization as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - 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 organizationlong getLeftOrganizationId()
void setLeftOrganizationId(long leftOrganizationId)
leftOrganizationId - the left organization id of this organizationlong getRightOrganizationId()
void setRightOrganizationId(long rightOrganizationId)
rightOrganizationId - the right organization id 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()
void 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 organizationOrganization toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
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
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 cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Organization>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Organization>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Organization>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Organization>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Organization>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<Organization>int compareTo(Organization organization)
compareTo in interface Comparable<Organization>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Organization>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||