Liferay 7.0-ce-b4

com.liferay.portal.model
Class OrganizationWrapper

java.lang.Object
  extended by com.liferay.portal.model.OrganizationWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<Organization>, ClassedModel, ModelWrapper<Organization>, MVCCModel, Organization, OrganizationModel, PersistedModel, ShardedModel, StagedAuditedModel, StagedModel, TreeModel, Serializable, Cloneable, Comparable<Organization>

@ProviderType
public class OrganizationWrapper
extends Object
implements Organization, ModelWrapper<Organization>

This class is a wrapper for Organization.

See Also:
Organization, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
 
Fields inherited from interface com.liferay.portal.model.Organization
NAME_ACCESSOR, ORGANIZATION_ID_ACCESSOR
 
Constructor Summary
OrganizationWrapper(Organization organization)
           
 
Method Summary
 String buildTreePath()
           
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Organization organization)
           
 boolean equals(Object obj)
           
 Address getAddress()
           
 List<Address> getAddresses()
           
 long[] getAncestorOrganizationIds()
           
 List<Organization> getAncestors()
           
 String[] getChildrenTypes()
           
 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.
 List<Organization> getDescendants()
           
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 Group getGroup()
           
 long getGroupId()
           
 long getLogoId()
          Returns the logo ID of this organization.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this organization.
 long getMvccVersion()
          Returns the mvcc version of this organization.
 String getName()
          Returns the name of this organization.
 long getOrganizationId()
          Returns the organization ID of this organization.
 Organization getParentOrganization()
           
 long getParentOrganizationId()
          Returns the parent organization ID of this organization.
 String getParentOrganizationName()
           
 PortletPreferences getPreferences()
           
 long getPrimaryKey()
          Returns the primary key of this organization.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 boolean getRecursable()
          Returns the recursable of this organization.
 long getRegionId()
          Returns the region ID of this organization.
 Set<String> getReminderQueryQuestions(Locale locale)
           
 Set<String> getReminderQueryQuestions(String languageId)
           
 StagedModelType getStagedModelType()
           
 long getStatusId()
          Returns the status ID of this organization.
 List<Organization> getSuborganizations()
           
 int getSuborganizationsSize()
           
 String getTreePath()
          Returns the tree path of this organization.
 String getType()
          Returns the type of this organization.
 int getTypeOrder()
           
 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.
 Organization getWrappedModel()
           
 int hashCode()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasSuborganizations()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isParentable()
           
 boolean isRecursable()
          Returns true if this organization is recursable.
 boolean isRoot()
           
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 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 setCreateDate(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 setLogoId(long logoId)
          Sets the logo ID of this organization.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this organization.
 void setMvccVersion(long mvccVersion)
          Sets the mvcc version 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 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(long 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.
 String toString()
           
 Organization toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 void updateTreePath(String treePath)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrganizationWrapper

public OrganizationWrapper(Organization organization)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<Organization>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<Organization>

buildTreePath

public String buildTreePath()
                     throws PortalException
Specified by:
buildTreePath in interface TreeModel
Throws:
PortalException

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Organization>
Specified by:
clone in interface OrganizationModel
Specified by:
clone in interface StagedModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Organization organization)
Specified by:
compareTo in interface OrganizationModel
Specified by:
compareTo in interface Comparable<Organization>

getAddress

public Address getAddress()
Specified by:
getAddress in interface Organization

getAddresses

public List<Address> getAddresses()
Specified by:
getAddresses in interface Organization

getAncestorOrganizationIds

public long[] getAncestorOrganizationIds()
                                  throws PortalException
Specified by:
getAncestorOrganizationIds in interface Organization
Throws:
PortalException

getAncestors

public List<Organization> getAncestors()
                                throws PortalException
Specified by:
getAncestors in interface Organization
Throws:
PortalException

getChildrenTypes

public String[] getChildrenTypes()
Specified by:
getChildrenTypes in interface Organization

getComments

public String getComments()
Returns the comments of this organization.

Specified by:
getComments in interface OrganizationModel
Returns:
the comments of this organization

getCompanyId

public long getCompanyId()
Returns the company ID of this organization.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface OrganizationModel
Specified by:
getCompanyId in interface ShardedModel
Specified by:
getCompanyId in interface StagedModel
Returns:
the company ID of this organization

getCountryId

public long getCountryId()
Returns the country ID of this organization.

Specified by:
getCountryId in interface OrganizationModel
Returns:
the country ID of this organization

getCreateDate

public Date getCreateDate()
Returns the create date of this organization.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface OrganizationModel
Specified by:
getCreateDate in interface StagedModel
Returns:
the create date of this organization

getDescendants

public List<Organization> getDescendants()
Specified by:
getDescendants in interface Organization

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Organization>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface OrganizationModel
Returns:
the expando bridge for this model instance

getGroup

public Group getGroup()
Specified by:
getGroup in interface Organization

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface Organization

getLogoId

public long getLogoId()
Returns the logo ID of this organization.

Specified by:
getLogoId in interface OrganizationModel
Returns:
the logo ID of this organization

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this organization.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface OrganizationModel
Specified by:
getModifiedDate in interface StagedModel
Returns:
the modified date of this organization

getMvccVersion

public long getMvccVersion()
Returns the mvcc version of this organization.

Specified by:
getMvccVersion in interface MVCCModel
Specified by:
getMvccVersion in interface OrganizationModel
Returns:
the mvcc version of this organization

getName

public String getName()
Returns the name of this organization.

Specified by:
getName in interface OrganizationModel
Returns:
the name of this organization

getOrganizationId

public long getOrganizationId()
Returns the organization ID of this organization.

Specified by:
getOrganizationId in interface OrganizationModel
Returns:
the organization ID of this organization

getParentOrganization

public Organization getParentOrganization()
                                   throws PortalException
Specified by:
getParentOrganization in interface Organization
Throws:
PortalException

getParentOrganizationId

public long getParentOrganizationId()
Returns the parent organization ID of this organization.

Specified by:
getParentOrganizationId in interface OrganizationModel
Returns:
the parent organization ID of this organization

getParentOrganizationName

public String getParentOrganizationName()
Specified by:
getParentOrganizationName in interface Organization

getPreferences

public PortletPreferences getPreferences()
Specified by:
getPreferences in interface Organization

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this organization.

Specified by:
getPrimaryKey in interface OrganizationModel
Returns:
the primary key of this organization

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Organization>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface OrganizationModel
Specified by:
getPrimaryKeyObj in interface TreeModel
Returns:
the primary key of this model instance

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
Specified by:
getPrivateLayoutsPageCount in interface Organization

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
Specified by:
getPublicLayoutsPageCount in interface Organization

getRecursable

public boolean getRecursable()
Returns the recursable of this organization.

Specified by:
getRecursable in interface OrganizationModel
Returns:
the recursable of this organization

getRegionId

public long getRegionId()
Returns the region ID of this organization.

Specified by:
getRegionId in interface OrganizationModel
Returns:
the region ID of this organization

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(String languageId)
Specified by:
getReminderQueryQuestions in interface Organization

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(Locale locale)
Specified by:
getReminderQueryQuestions in interface Organization

getStatusId

public long getStatusId()
Returns the status ID of this organization.

Specified by:
getStatusId in interface OrganizationModel
Returns:
the status ID of this organization

getSuborganizations

public List<Organization> getSuborganizations()
Specified by:
getSuborganizations in interface Organization

getSuborganizationsSize

public int getSuborganizationsSize()
Specified by:
getSuborganizationsSize in interface Organization

getTreePath

public String getTreePath()
Returns the tree path of this organization.

Specified by:
getTreePath in interface OrganizationModel
Specified by:
getTreePath in interface TreeModel
Returns:
the tree path of this organization

getType

public String getType()
Returns the type of this organization.

Specified by:
getType in interface OrganizationModel
Returns:
the type of this organization

getTypeOrder

public int getTypeOrder()
Specified by:
getTypeOrder in interface Organization

getUserId

public long getUserId()
Returns the user ID of this organization.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface OrganizationModel
Returns:
the user ID of this organization

getUserName

public String getUserName()
Returns the user name of this organization.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface OrganizationModel
Returns:
the user name of this organization

getUserUuid

public String getUserUuid()
Returns the user uuid of this organization.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface OrganizationModel
Returns:
the user uuid of this organization

getUuid

public String getUuid()
Returns the uuid of this organization.

Specified by:
getUuid in interface OrganizationModel
Specified by:
getUuid in interface StagedModel
Returns:
the uuid of this organization

hasPrivateLayouts

public boolean hasPrivateLayouts()
Specified by:
hasPrivateLayouts in interface Organization

hasPublicLayouts

public boolean hasPublicLayouts()
Specified by:
hasPublicLayouts in interface Organization

hasSuborganizations

public boolean hasSuborganizations()
Specified by:
hasSuborganizations in interface Organization

hashCode

public int hashCode()
Specified by:
hashCode in interface OrganizationModel
Overrides:
hashCode in class Object

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<Organization>
Specified by:
isCachedModel in interface OrganizationModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<Organization>
Specified by:
isEscapedModel in interface OrganizationModel
Returns:
true if this model instance is escaped; false otherwise

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<Organization>
Specified by:
isNew in interface OrganizationModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

isParentable

public boolean isParentable()
Specified by:
isParentable in interface Organization

isRecursable

public boolean isRecursable()
Returns true if this organization is recursable.

Specified by:
isRecursable in interface OrganizationModel
Returns:
true if this organization is recursable; false otherwise

isRoot

public boolean isRoot()
Specified by:
isRoot in interface Organization

persist

public void persist()
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<Organization>
Specified by:
setCachedModel in interface OrganizationModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

setComments

public void setComments(String comments)
Sets the comments of this organization.

Specified by:
setComments in interface OrganizationModel
Parameters:
comments - the comments of this organization

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this organization.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface OrganizationModel
Specified by:
setCompanyId in interface ShardedModel
Specified by:
setCompanyId in interface StagedModel
Parameters:
companyId - the company ID of this organization

setCountryId

public void setCountryId(long countryId)
Sets the country ID of this organization.

Specified by:
setCountryId in interface OrganizationModel
Parameters:
countryId - the country ID of this organization

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this organization.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface OrganizationModel
Specified by:
setCreateDate in interface StagedModel
Parameters:
createDate - the create date of this organization

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Organization>
Specified by:
setExpandoBridgeAttributes in interface OrganizationModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Organization>
Specified by:
setExpandoBridgeAttributes in interface OrganizationModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Organization>
Specified by:
setExpandoBridgeAttributes in interface OrganizationModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes()

setLogoId

public void setLogoId(long logoId)
Sets the logo ID of this organization.

Specified by:
setLogoId in interface OrganizationModel
Parameters:
logoId - the logo ID of this organization

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this organization.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface OrganizationModel
Specified by:
setModifiedDate in interface StagedModel
Parameters:
modifiedDate - the modified date of this organization

setMvccVersion

public void setMvccVersion(long mvccVersion)
Sets the mvcc version of this organization.

Specified by:
setMvccVersion in interface MVCCModel
Specified by:
setMvccVersion in interface OrganizationModel
Parameters:
mvccVersion - the mvcc version of this organization

setName

public void setName(String name)
Sets the name of this organization.

Specified by:
setName in interface OrganizationModel
Parameters:
name - the name of this organization

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<Organization>
Specified by:
setNew in interface OrganizationModel
Parameters:
n - whether this model instance does not yet exist in the database

setOrganizationId

public void setOrganizationId(long organizationId)
Sets the organization ID of this organization.

Specified by:
setOrganizationId in interface OrganizationModel
Parameters:
organizationId - the organization ID of this organization

setParentOrganizationId

public void setParentOrganizationId(long parentOrganizationId)
Sets the parent organization ID of this organization.

Specified by:
setParentOrganizationId in interface OrganizationModel
Parameters:
parentOrganizationId - the parent organization ID of this organization

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this organization.

Specified by:
setPrimaryKey in interface OrganizationModel
Parameters:
primaryKey - the primary key of this organization

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Organization>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface OrganizationModel
Parameters:
primaryKeyObj - the primary key of this model instance

setRecursable

public void setRecursable(boolean recursable)
Sets whether this organization is recursable.

Specified by:
setRecursable in interface OrganizationModel
Parameters:
recursable - the recursable of this organization

setRegionId

public void setRegionId(long regionId)
Sets the region ID of this organization.

Specified by:
setRegionId in interface OrganizationModel
Parameters:
regionId - the region ID of this organization

setStatusId

public void setStatusId(long statusId)
Sets the status ID of this organization.

Specified by:
setStatusId in interface OrganizationModel
Parameters:
statusId - the status ID of this organization

setTreePath

public void setTreePath(String treePath)
Sets the tree path of this organization.

Specified by:
setTreePath in interface OrganizationModel
Parameters:
treePath - the tree path of this organization

setType

public void setType(String type)
Sets the type of this organization.

Specified by:
setType in interface OrganizationModel
Parameters:
type - the type of this organization

setUserId

public void setUserId(long userId)
Sets the user ID of this organization.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface OrganizationModel
Parameters:
userId - the user ID of this organization

setUserName

public void setUserName(String userName)
Sets the user name of this organization.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface OrganizationModel
Parameters:
userName - the user name of this organization

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this organization.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface OrganizationModel
Parameters:
userUuid - the user uuid of this organization

setUuid

public void setUuid(String uuid)
Sets the uuid of this organization.

Specified by:
setUuid in interface OrganizationModel
Specified by:
setUuid in interface StagedModel
Parameters:
uuid - the uuid of this organization

toCacheModel

public CacheModel<Organization> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<Organization>
Specified by:
toCacheModel in interface OrganizationModel
Returns:
the cache model object

toEscapedModel

public Organization toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<Organization>
Specified by:
toEscapedModel in interface OrganizationModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toString

public String toString()
Specified by:
toString in interface OrganizationModel
Overrides:
toString in class Object

toUnescapedModel

public Organization toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<Organization>
Specified by:
toUnescapedModel in interface OrganizationModel

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Organization>
Specified by:
toXmlString in interface OrganizationModel
Returns:
the XML representation of this model instance

updateTreePath

public void updateTreePath(String treePath)
Specified by:
updateTreePath in interface TreeModel

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

getWrappedModel

public Organization getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<Organization>

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's entity cache is enabled.

Specified by:
isEntityCacheEnabled in interface BaseModel<Organization>
Returns:
true if this model's entity cache is enabled; false otherwise

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's finder cache is enabled.

Specified by:
isFinderCacheEnabled in interface BaseModel<Organization>
Returns:
true if this model's finder cache is enabled; false otherwise

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Organization>

Liferay 7.0-ce-b4