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.
|
java.lang.String |
toXmlString() |
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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 SharingEntryModelpublic long getActionIds()
getActionIds in interface SharingEntryModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelgetClassName in interface SharingEntryModelpublic long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelgetClassNameId in interface SharingEntryModelpublic long getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelgetClassPK in interface SharingEntryModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelgetCompanyId in interface SharingEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelgetCreateDate in interface SharingEntryModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface SharingEntryModelpublic long getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelgetGroupId in interface SharingEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelgetModifiedDate in interface SharingEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface SharingEntryModelpublic boolean getShareable()
getShareable in interface SharingEntryModelpublic long getSharingEntryId()
getSharingEntryId in interface SharingEntryModelpublic long getToUserId()
getToUserId in interface SharingEntryModelpublic java.lang.String getToUserUuid()
getToUserUuid in interface SharingEntryModelpublic long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface SharingEntryModelpublic java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface SharingEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface SharingEntryModelpublic java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelgetUuid in interface SharingEntryModelpublic boolean hasSharingPermission(SharingEntryAction sharingEntryAction)
true if the sharing entry has the sharing entry action.hasSharingPermission in interface SharingEntrysharingEntryAction - 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 SharingEntryModeltrue if this sharing entry is shareable; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setActionIds(long actionIds)
setActionIds in interface SharingEntryModelactionIds - the action IDs of this sharing entrypublic void setClassName(java.lang.String className)
setClassName in interface SharingEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelsetClassNameId in interface SharingEntryModelclassNameId - the class name ID of this sharing entrypublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelsetClassPK in interface SharingEntryModelclassPK - the class pk of this sharing entrypublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelsetCompanyId in interface SharingEntryModelcompanyId - the company ID of this sharing entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelsetCreateDate in interface SharingEntryModelcreateDate - the create date of this sharing entrypublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface SharingEntryModelexpirationDate - the expiration date of this sharing entrypublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelsetGroupId in interface SharingEntryModelgroupId - the group ID of this sharing entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelsetModifiedDate in interface SharingEntryModelmodifiedDate - the modified date of this sharing entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SharingEntryModelprimaryKey - the primary key of this sharing entrypublic void setShareable(boolean shareable)
setShareable in interface SharingEntryModelshareable - the shareable of this sharing entrypublic void setSharingEntryId(long sharingEntryId)
setSharingEntryId in interface SharingEntryModelsharingEntryId - the sharing entry ID of this sharing entrypublic void setToUserId(long toUserId)
setToUserId in interface SharingEntryModeltoUserId - the to user ID of this sharing entrypublic void setToUserUuid(java.lang.String toUserUuid)
setToUserUuid in interface SharingEntryModeltoUserUuid - the to user uuid of this sharing entrypublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface SharingEntryModeluserId - the user ID of this sharing entrypublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface SharingEntryModeluserName - the user name of this sharing entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface SharingEntryModeluserUuid - the user uuid of this sharing entrypublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModelsetUuid in interface SharingEntryModeluuid - the uuid of this sharing entrypublic java.lang.String toXmlString()
toXmlString in interface SharingEntryModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected SharingEntryWrapper wrap(SharingEntry sharingEntry)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry>