|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface SCLicenseModel
The base model interface for the SCLicense service. Represents a row in the "SCLicense" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation SCLicenseModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SCLicenseImpl.
SCLicense,
SCLicenseImpl,
SCLicenseModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SCLicense scLicense)
|
boolean |
getActive()
Returns the active of this s c license. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getLicenseId()
Returns the license ID of this s c license. |
String |
getName()
Returns the name of this s c license. |
boolean |
getOpenSource()
Returns the open source of this s c license. |
long |
getPrimaryKey()
Returns the primary key of this s c license. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getRecommended()
Returns the recommended of this s c license. |
String |
getUrl()
Returns the url of this s c license. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this s c license is active. |
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 |
isOpenSource()
Returns true if this s c license is open source. |
boolean |
isRecommended()
Returns true if this s c license is recommended. |
void |
setActive(boolean active)
Sets whether this s c license is active. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setLicenseId(long licenseId)
Sets the license ID of this s c license. |
void |
setName(String name)
Sets the name of this s c license. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOpenSource(boolean openSource)
Sets whether this s c license is open source. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this s c license. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRecommended(boolean recommended)
Sets whether this s c license is recommended. |
void |
setUrl(String url)
Sets the url of this s c license. |
CacheModel<SCLicense> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SCLicense |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
SCLicense |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, 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 s c licenselong getLicenseId()
void setLicenseId(long licenseId)
licenseId - the license ID of this s c license@AutoEscape String getName()
void setName(String name)
name - the name of this s c license@AutoEscape String getUrl()
void setUrl(String url)
url - the url of this s c licenseboolean getOpenSource()
boolean isOpenSource()
true if this s c license is open source.
true if this s c license is open source; false otherwisevoid setOpenSource(boolean openSource)
openSource - the open source of this s c licenseboolean getActive()
boolean isActive()
true if this s c license is active.
true if this s c license is active; false otherwisevoid setActive(boolean active)
active - the active of this s c licenseboolean getRecommended()
boolean isRecommended()
true if this s c license is recommended.
true if this s c license is recommended; false otherwisevoid setRecommended(boolean recommended)
recommended - the recommended of this s c licenseboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<SCLicense>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<SCLicense>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<SCLicense>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<SCLicense>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<SCLicense>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SCLicense>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SCLicense>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SCLicense>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SCLicense>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SCLicense>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SCLicense>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<SCLicense>int compareTo(SCLicense scLicense)
compareTo in interface Comparable<SCLicense>int hashCode()
hashCode in class ObjectCacheModel<SCLicense> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SCLicense>SCLicense toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SCLicense>AutoEscapeBeanHandlerSCLicense toUnescapedModel()
toUnescapedModel in interface BaseModel<SCLicense>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<SCLicense>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||