Liferay 6.0.3

com.liferay.portal.model
Class CompanyWrapper

java.lang.Object
  extended by com.liferay.portal.model.CompanyWrapper
All Implemented Interfaces:
BaseModel<Company>, Company, CompanyModel, Serializable, Cloneable, Comparable<Company>

public class CompanyWrapper
extends Object
implements Company

This class is a wrapper for Company.

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

Constructor Summary
CompanyWrapper(Company company)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Company company)
           
 Account getAccount()
           
 long getAccountId()
           
 String getAdminName()
           
 String getAuthType()
           
 long getCompanyId()
           
 User getDefaultUser()
           
 String getDefaultWebId()
           
 String getEmailAddress()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 Group getGroup()
           
 String getHomeURL()
           
 String getKey()
           
 Key getKeyObj()
           
 Locale getLocale()
           
 long getLogoId()
           
 int getMaxUsers()
           
 String getMx()
           
 String getName()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 String getShardName()
           
 String getShortName()
           
 boolean getSystem()
           
 TimeZone getTimeZone()
           
 String getVirtualHost()
           
 String getWebId()
           
 Company getWrappedCompany()
           
 boolean hasCompanyMx(String emailAddress)
           
 int hashCode()
           
 boolean isAutoLogin()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isCommunityLogo()
           
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isSendPassword()
           
 boolean isSendPasswordResetLink()
           
 boolean isStrangers()
           
 boolean isStrangersVerify()
           
 boolean isStrangersWithMx()
           
 boolean isSystem()
           
 void setAccountId(long accountId)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCompanyId(long companyId)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setHomeURL(String homeURL)
           
 void setKey(String key)
           
 void setKeyObj(Key keyObj)
           
 void setLogoId(long logoId)
           
 void setMaxUsers(int maxUsers)
           
 void setMx(String mx)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
           
 void setSystem(boolean system)
           
 void setVirtualHost(String virtualHost)
           
 void setWebId(String webId)
           
 Company toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompanyWrapper

public CompanyWrapper(Company company)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface CompanyModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface CompanyModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface CompanyModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface CompanyModel

getAccountId

public long getAccountId()
Specified by:
getAccountId in interface CompanyModel

setAccountId

public void setAccountId(long accountId)
Specified by:
setAccountId in interface CompanyModel

getWebId

public String getWebId()
Specified by:
getWebId in interface CompanyModel

setWebId

public void setWebId(String webId)
Specified by:
setWebId in interface CompanyModel

getKey

public String getKey()
Specified by:
getKey in interface CompanyModel

setKey

public void setKey(String key)
Specified by:
setKey in interface Company
Specified by:
setKey in interface CompanyModel

getVirtualHost

public String getVirtualHost()
Specified by:
getVirtualHost in interface CompanyModel

setVirtualHost

public void setVirtualHost(String virtualHost)
Specified by:
setVirtualHost in interface CompanyModel

getMx

public String getMx()
Specified by:
getMx in interface CompanyModel

setMx

public void setMx(String mx)
Specified by:
setMx in interface CompanyModel

getHomeURL

public String getHomeURL()
Specified by:
getHomeURL in interface CompanyModel

setHomeURL

public void setHomeURL(String homeURL)
Specified by:
setHomeURL in interface CompanyModel

getLogoId

public long getLogoId()
Specified by:
getLogoId in interface CompanyModel

setLogoId

public void setLogoId(long logoId)
Specified by:
setLogoId in interface CompanyModel

getSystem

public boolean getSystem()
Specified by:
getSystem in interface CompanyModel

isSystem

public boolean isSystem()
Specified by:
isSystem in interface CompanyModel

setSystem

public void setSystem(boolean system)
Specified by:
setSystem in interface CompanyModel

getMaxUsers

public int getMaxUsers()
Specified by:
getMaxUsers in interface CompanyModel

setMaxUsers

public void setMaxUsers(int maxUsers)
Specified by:
setMaxUsers in interface CompanyModel

toEscapedModel

public Company toEscapedModel()
Specified by:
toEscapedModel in interface CompanyModel

isNew

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

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

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<Company>
Specified by:
setNew in interface CompanyModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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

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

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<Company>
Specified by:
setCachedModel in interface CompanyModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<Company>
Specified by:
isEscapedModel in interface CompanyModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<Company>
Specified by:
setEscapedModel in interface CompanyModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<Company>
Specified by:
getPrimaryKeyObj in interface CompanyModel
Returns:
the primary key

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<Company>
Specified by:
getExpandoBridge in interface CompanyModel
Returns:
the expando bridge

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<Company>
Specified by:
setExpandoBridgeAttributes in interface CompanyModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

Specified by:
clone in interface BaseModel<Company>
Specified by:
clone in interface CompanyModel
Overrides:
clone in class Object
Returns:
the clone

compareTo

public int compareTo(Company company)
Specified by:
compareTo in interface Company
Specified by:
compareTo in interface CompanyModel
Specified by:
compareTo in interface Comparable<Company>

hashCode

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

toString

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

toXmlString

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

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

getAccount

public Account getAccount()
                   throws PortalException,
                          SystemException
Specified by:
getAccount in interface Company
Throws:
PortalException
SystemException

getAdminName

public String getAdminName()
Specified by:
getAdminName in interface Company

getAuthType

public String getAuthType()
                   throws SystemException
Specified by:
getAuthType in interface Company
Throws:
SystemException

getDefaultUser

public User getDefaultUser()
                    throws PortalException,
                           SystemException
Specified by:
getDefaultUser in interface Company
Throws:
PortalException
SystemException

getDefaultWebId

public String getDefaultWebId()
Specified by:
getDefaultWebId in interface Company

getEmailAddress

public String getEmailAddress()
Specified by:
getEmailAddress in interface Company

getGroup

public Group getGroup()
               throws PortalException,
                      SystemException
Specified by:
getGroup in interface Company
Throws:
PortalException
SystemException

getKeyObj

public Key getKeyObj()
Specified by:
getKeyObj in interface Company

getLocale

public Locale getLocale()
                 throws PortalException,
                        SystemException
Specified by:
getLocale in interface Company
Throws:
PortalException
SystemException

getName

public String getName()
               throws PortalException,
                      SystemException
Specified by:
getName in interface Company
Throws:
PortalException
SystemException

getShardName

public String getShardName()
                    throws PortalException,
                           SystemException
Specified by:
getShardName in interface Company
Throws:
PortalException
SystemException

getShortName

public String getShortName()
                    throws PortalException,
                           SystemException
Specified by:
getShortName in interface Company
Throws:
PortalException
SystemException

getTimeZone

public TimeZone getTimeZone()
                     throws PortalException,
                            SystemException
Specified by:
getTimeZone in interface Company
Throws:
PortalException
SystemException

hasCompanyMx

public boolean hasCompanyMx(String emailAddress)
                     throws SystemException
Specified by:
hasCompanyMx in interface Company
Throws:
SystemException

isAutoLogin

public boolean isAutoLogin()
                    throws SystemException
Specified by:
isAutoLogin in interface Company
Throws:
SystemException

isCommunityLogo

public boolean isCommunityLogo()
                        throws SystemException
Specified by:
isCommunityLogo in interface Company
Throws:
SystemException

isSendPassword

public boolean isSendPassword()
                       throws SystemException
Specified by:
isSendPassword in interface Company
Throws:
SystemException

isSendPasswordResetLink

public boolean isSendPasswordResetLink()
                                throws SystemException
Specified by:
isSendPasswordResetLink in interface Company
Throws:
SystemException

isStrangers

public boolean isStrangers()
                    throws SystemException
Specified by:
isStrangers in interface Company
Throws:
SystemException

isStrangersVerify

public boolean isStrangersVerify()
                          throws SystemException
Specified by:
isStrangersVerify in interface Company
Throws:
SystemException

isStrangersWithMx

public boolean isStrangersWithMx()
                          throws SystemException
Specified by:
isStrangersWithMx in interface Company
Throws:
SystemException

setKeyObj

public void setKeyObj(Key keyObj)
Specified by:
setKeyObj in interface Company

getWrappedCompany

public Company getWrappedCompany()

Liferay 6.0.3