Package com.liferay.portal.kernel.model
Class BrowserTrackerWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<BrowserTracker>
com.liferay.portal.kernel.model.BrowserTrackerWrapper
- All Implemented Interfaces:
BaseModel<BrowserTracker>
,BrowserTracker
,BrowserTrackerModel
,ClassedModel
,ModelWrapper<BrowserTracker>
,MVCCModel
,PersistedModel
,ShardedModel
,Serializable
,Cloneable
,Comparable<BrowserTracker>
public class BrowserTrackerWrapper
extends BaseModelWrapper<BrowserTracker>
implements BrowserTracker, ModelWrapper<BrowserTracker>
This class is a wrapper for BrowserTracker
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.BrowserTracker
BROWSER_TRACKER_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the browser key of this browser tracker.long
Returns the browser tracker ID of this browser tracker.long
Returns the company ID of this browser tracker.long
Returns the mvcc version of this browser tracker.long
Returns the primary key of this browser tracker.long
Returns the user ID of this browser tracker.Returns the user uuid of this browser tracker.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setBrowserKey
(long browserKey) Sets the browser key of this browser tracker.void
setBrowserTrackerId
(long browserTrackerId) Sets the browser tracker ID of this browser tracker.void
setCompanyId
(long companyId) Sets the company ID of this browser tracker.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this browser tracker.void
setPrimaryKey
(long primaryKey) Sets the primary key of this browser tracker.void
setUserId
(long userId) Sets the user ID of this browser tracker.void
setUserUuid
(String userUuid) Sets the user uuid of this browser tracker.protected BrowserTrackerWrapper
wrap
(BrowserTracker browserTracker) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
BrowserTrackerWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<BrowserTracker>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<BrowserTracker>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<BrowserTracker>
- Specified by:
cloneWithOriginalValues
in interfaceBrowserTrackerModel
-
getBrowserKey
public long getBrowserKey()Returns the browser key of this browser tracker.- Specified by:
getBrowserKey
in interfaceBrowserTrackerModel
- Returns:
- the browser key of this browser tracker
-
getBrowserTrackerId
public long getBrowserTrackerId()Returns the browser tracker ID of this browser tracker.- Specified by:
getBrowserTrackerId
in interfaceBrowserTrackerModel
- Returns:
- the browser tracker ID of this browser tracker
-
getCompanyId
public long getCompanyId()Returns the company ID of this browser tracker.- Specified by:
getCompanyId
in interfaceBrowserTrackerModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this browser tracker
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this browser tracker.- Specified by:
getMvccVersion
in interfaceBrowserTrackerModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this browser tracker
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this browser tracker.- Specified by:
getPrimaryKey
in interfaceBrowserTrackerModel
- Returns:
- the primary key of this browser tracker
-
getUserId
public long getUserId()Returns the user ID of this browser tracker.- Specified by:
getUserId
in interfaceBrowserTrackerModel
- Returns:
- the user ID of this browser tracker
-
getUserUuid
Returns the user uuid of this browser tracker.- Specified by:
getUserUuid
in interfaceBrowserTrackerModel
- Returns:
- the user uuid of this browser tracker
-
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 interfacePersistedModel
-
setBrowserKey
public void setBrowserKey(long browserKey) Sets the browser key of this browser tracker.- Specified by:
setBrowserKey
in interfaceBrowserTrackerModel
- Parameters:
browserKey
- the browser key of this browser tracker
-
setBrowserTrackerId
public void setBrowserTrackerId(long browserTrackerId) Sets the browser tracker ID of this browser tracker.- Specified by:
setBrowserTrackerId
in interfaceBrowserTrackerModel
- Parameters:
browserTrackerId
- the browser tracker ID of this browser tracker
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this browser tracker.- Specified by:
setCompanyId
in interfaceBrowserTrackerModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this browser tracker
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this browser tracker.- Specified by:
setMvccVersion
in interfaceBrowserTrackerModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this browser tracker
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this browser tracker.- Specified by:
setPrimaryKey
in interfaceBrowserTrackerModel
- Parameters:
primaryKey
- the primary key of this browser tracker
-
setUserId
public void setUserId(long userId) Sets the user ID of this browser tracker.- Specified by:
setUserId
in interfaceBrowserTrackerModel
- Parameters:
userId
- the user ID of this browser tracker
-
setUserUuid
Sets the user uuid of this browser tracker.- Specified by:
setUserUuid
in interfaceBrowserTrackerModel
- Parameters:
userUuid
- the user uuid of this browser tracker
-
toXmlString
- Specified by:
toXmlString
in interfaceBrowserTrackerModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<BrowserTracker>
-