public class SharingEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry> implements com.liferay.portal.kernel.model.ModelWrapper<SharingEntry>, SharingEntry
This class is a wrapper for SharingEntry
.
SharingEntry
,
Serialized FormSHARING_ENTRY_ID_ACCESSOR
Constructor and Description |
---|
SharingEntryWrapper(SharingEntry sharingEntry) |
Modifier and Type | Method and Description |
---|---|
SharingEntry |
cloneWithOriginalValues() |
long |
getActionIds()
Returns the action IDs of this sharing entry.
|
java.lang.String |
getClassName()
Returns the fully qualified class name of this sharing entry.
|
long |
getClassNameId()
Returns the class name ID of this sharing entry.
|
long |
getClassPK()
Returns the class pk of this sharing entry.
|
long |
getCompanyId()
Returns the company ID of this sharing entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this sharing entry.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this sharing entry.
|
long |
getGroupId()
Returns the group ID of this sharing entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this sharing entry.
|
long |
getPrimaryKey()
Returns the primary key of this sharing entry.
|
boolean |
getShareable()
Returns the shareable of this sharing entry.
|
long |
getSharingEntryId()
Returns the sharing entry ID of this sharing entry.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getToUserId()
Returns the to user ID of this sharing entry.
|
java.lang.String |
getToUserUuid()
Returns the to user uuid of this sharing entry.
|
long |
getUserId()
Returns the user ID of this sharing entry.
|
java.lang.String |
getUserName()
Returns the user name of this sharing entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this sharing entry.
|
java.lang.String |
getUuid()
Returns the uuid of this sharing entry.
|
boolean |
hasSharingPermission(SharingEntryAction sharingEntryAction)
Returns
true if the sharing entry has the sharing entry action. |
boolean |
isShareable()
Returns
true if this sharing entry is shareable. |
void |
persist() |
void |
setActionIds(long actionIds)
Sets the action IDs of this sharing entry.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this sharing entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this sharing entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this sharing entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this sharing entry.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this sharing entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this sharing entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this sharing entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this sharing entry.
|
void |
setShareable(boolean shareable)
Sets whether this sharing entry is shareable.
|
void |
setSharingEntryId(long sharingEntryId)
Sets the sharing entry ID of this sharing entry.
|
void |
setToUserId(long toUserId)
Sets the to user ID of this sharing entry.
|
void |
setToUserUuid(java.lang.String toUserUuid)
Sets the to user uuid of this sharing entry.
|
void |
setUserId(long userId)
Sets the user ID of this sharing entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this sharing entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this sharing entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this sharing entry.
|
protected SharingEntryWrapper |
wrap(SharingEntry sharingEntry) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public SharingEntryWrapper(SharingEntry sharingEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<SharingEntry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<SharingEntry>
public SharingEntry cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<SharingEntry>
cloneWithOriginalValues
in interface SharingEntryModel
public long getActionIds()
getActionIds
in interface SharingEntryModel
public java.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
getClassName
in interface SharingEntryModel
public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
getClassNameId
in interface SharingEntryModel
public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface SharingEntryModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
getCompanyId
in interface SharingEntryModel
public java.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
getCreateDate
in interface SharingEntryModel
public java.util.Date getExpirationDate()
getExpirationDate
in interface SharingEntryModel
public long getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
getGroupId
in interface SharingEntryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
getModifiedDate
in interface SharingEntryModel
public long getPrimaryKey()
getPrimaryKey
in interface SharingEntryModel
public boolean getShareable()
getShareable
in interface SharingEntryModel
public long getSharingEntryId()
getSharingEntryId
in interface SharingEntryModel
public long getToUserId()
getToUserId
in interface SharingEntryModel
public java.lang.String getToUserUuid()
getToUserUuid
in interface SharingEntryModel
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface SharingEntryModel
public java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface SharingEntryModel
public java.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface SharingEntryModel
public java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
getUuid
in interface SharingEntryModel
public boolean hasSharingPermission(SharingEntryAction sharingEntryAction)
true
if the sharing entry has the sharing entry action.hasSharingPermission
in interface SharingEntry
sharingEntryAction
- the sharing entry actiontrue
if the sharing entry has the sharing entry action;
false
otherwisepublic boolean isShareable()
true
if this sharing entry is shareable.isShareable
in interface SharingEntryModel
true
if this sharing entry is shareable; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setActionIds(long actionIds)
setActionIds
in interface SharingEntryModel
actionIds
- the action IDs of this sharing entrypublic void setClassName(java.lang.String className)
setClassName
in interface SharingEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
in interface SharingEntryModel
classNameId
- the class name ID of this sharing entrypublic void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface SharingEntryModel
classPK
- the class pk of this sharing entrypublic void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
setCompanyId
in interface SharingEntryModel
companyId
- the company ID of this sharing entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
setCreateDate
in interface SharingEntryModel
createDate
- the create date of this sharing entrypublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface SharingEntryModel
expirationDate
- the expiration date of this sharing entrypublic void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
setGroupId
in interface SharingEntryModel
groupId
- the group ID of this sharing entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
setModifiedDate
in interface SharingEntryModel
modifiedDate
- the modified date of this sharing entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SharingEntryModel
primaryKey
- the primary key of this sharing entrypublic void setShareable(boolean shareable)
setShareable
in interface SharingEntryModel
shareable
- the shareable of this sharing entrypublic void setSharingEntryId(long sharingEntryId)
setSharingEntryId
in interface SharingEntryModel
sharingEntryId
- the sharing entry ID of this sharing entrypublic void setToUserId(long toUserId)
setToUserId
in interface SharingEntryModel
toUserId
- the to user ID of this sharing entrypublic void setToUserUuid(java.lang.String toUserUuid)
setToUserUuid
in interface SharingEntryModel
toUserUuid
- the to user uuid of this sharing entrypublic void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface SharingEntryModel
userId
- the user ID of this sharing entrypublic void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface SharingEntryModel
userName
- the user name of this sharing entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface SharingEntryModel
userUuid
- the user uuid of this sharing entrypublic void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
setUuid
in interface SharingEntryModel
uuid
- the uuid of this sharing entrypublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected SharingEntryWrapper wrap(SharingEntry sharingEntry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry>