public class SharingEntryWrapper extends BaseModelWrapper<SharingEntry> implements ModelWrapper<SharingEntry>, SharingEntry
This class is a wrapper for SharingEntry.
SharingEntry,
Serialized FormmodelSHARING_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
SharingEntryWrapper(SharingEntry sharingEntry) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamepublic SharingEntryWrapper(SharingEntry sharingEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<SharingEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SharingEntry>public long getActionIds()
getActionIds in interface SharingEntryModelpublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface SharingEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SharingEntryModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SharingEntryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface SharingEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface SharingEntryModelpublic java.util.Date getExpirationDate()
getExpirationDate in interface SharingEntryModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface SharingEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface 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 AuditedModelgetUserId in interface SharingEntryModelpublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface SharingEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface SharingEntryModelpublic java.lang.String getUuid()
getUuid in interface 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()
PersistedModelpersist in interface 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 TypedModelsetClassNameId in interface SharingEntryModelclassNameId - the class name ID of this sharing entrypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SharingEntryModelclassPK - the class pk of this sharing entrypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface SharingEntryModelcompanyId - the company ID of this sharing entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface 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 GroupedModelsetGroupId in interface SharingEntryModelgroupId - the group ID of this sharing entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface 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 AuditedModelsetUserId in interface SharingEntryModeluserId - the user ID of this sharing entrypublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface SharingEntryModeluserName - the user name of this sharing entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface SharingEntryModeluserUuid - the user uuid of this sharing entrypublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface SharingEntryModeluuid - the uuid of this sharing entrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected SharingEntryWrapper wrap(SharingEntry sharingEntry)
wrap in class BaseModelWrapper<SharingEntry>