@ProviderType public interface OrganizationModel extends BaseModel<Organization>, MVCCModel, StagedAuditedModel
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| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Organization organization) |
java.lang.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.
|
java.util.Date |
getCreateDate()
Returns the create date of this organization.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this organization.
|
long |
getLogoId()
Returns the logo ID of this organization.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this organization.
|
long |
getMvccVersion()
Returns the mvcc version of this organization.
|
java.lang.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.
|
java.io.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.
|
long |
getStatusId()
Returns the status ID of this organization.
|
java.lang.String |
getTreePath()
Returns the tree path of this organization.
|
java.lang.String |
getType()
Returns the type of this organization.
|
long |
getUserId()
Returns the user ID of this organization.
|
java.lang.String |
getUserName()
Returns the user name of this organization.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this organization.
|
java.lang.String |
getUuid()
Returns the uuid 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(java.lang.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(java.util.Date createDate)
Sets the create date of this organization.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this organization.
|
void |
setLogoId(long logoId)
Sets the logo ID of this organization.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this organization.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this organization.
|
void |
setName(java.lang.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(java.io.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(long statusId)
Sets the status ID of this organization.
|
void |
setTreePath(java.lang.String treePath)
Sets the tree path of this organization.
|
void |
setType(java.lang.String type)
Sets the type of this organization.
|
void |
setUserId(long userId)
Sets the user ID of this organization.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this organization.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this organization.
|
void |
setUuid(java.lang.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. |
java.lang.String |
toString() |
Organization |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetStagedModelTypegetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this organizationlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this organization@AutoEscape java.lang.String getUuid()
getUuid in interface StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface StagedModeluuid - the uuid of this organizationlong getOrganizationId()
void setOrganizationId(long organizationId)
organizationId - the organization ID of this organizationlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this organizationlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this organizationjava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this organization@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this organizationjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this organizationjava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this organizationlong getParentOrganizationId()
void setParentOrganizationId(long parentOrganizationId)
parentOrganizationId - the parent organization ID of this organization@AutoEscape java.lang.String getTreePath()
void setTreePath(java.lang.String treePath)
treePath - the tree path of this organization@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this organizationjava.lang.String getType()
void setType(java.lang.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 organizationlong getStatusId()
void setStatusId(long statusId)
statusId - the status ID of this organization@AutoEscape java.lang.String getComments()
void setComments(java.lang.String comments)
comments - the comments of this organizationlong getLogoId()
void setLogoId(long logoId)
logoId - the logo ID of this organizationjava.util.Date getLastPublishDate()
getLastPublishDate in interface StagedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface StagedModellastPublishDate - the last publish date of this organizationboolean isNew()
BaseModeltrue 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)
BaseModelsetNew in interface BaseModel<Organization>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue 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)
BaseModelsetCachedModel in interface BaseModel<Organization>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<Organization>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<Organization>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<Organization>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<Organization>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Organization>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Organization>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<Organization>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModelclone in interface BaseModel<Organization>clone in interface StagedModelint compareTo(Organization organization)
compareTo in interface java.lang.Comparable<Organization>int hashCode()
hashCode in class java.lang.ObjectCacheModel<Organization> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<Organization>Organization toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<Organization>AutoEscapeBeanHandlerOrganization toUnescapedModel()
toUnescapedModel in interface BaseModel<Organization>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<Organization>