Package com.liferay.sharing.model
Class SharingEntryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry>
com.liferay.sharing.model.SharingEntryWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<SharingEntry>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<SharingEntry>
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TypedModel
,SharingEntry
,SharingEntryModel
,Serializable
,Cloneable
,Comparable<SharingEntry>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.sharing.model.SharingEntry
SHARING_ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the action IDs of this sharing entry.Returns the fully qualified class name of this sharing entry.long
Returns the class name ID of this sharing entry.long
Returns the class pk of this sharing entry.long
Returns the company ID of this sharing entry.Returns the create date of this sharing entry.Returns the expiration date of this sharing entry.Returns the external reference code of this sharing entry.long
Returns the group ID of this sharing entry.Returns the modified date of this sharing entry.long
Returns the primary key of this sharing entry.boolean
Returns the shareable of this sharing entry.long
Returns the sharing entry ID of this sharing entry.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the to user group ID of this sharing entry.long
Returns the to user ID of this sharing entry.Returns the to user uuid of this sharing entry.long
Returns the user ID of this sharing entry.Returns the user name of this sharing entry.Returns the user uuid of this sharing entry.getUuid()
Returns the uuid of this sharing entry.boolean
hasSharingPermission
(SharingEntryAction sharingEntryAction) Returnstrue
if the sharing entry has the sharing entry action.boolean
Returnstrue
if this sharing entry is shareable.void
persist()
void
setActionIds
(long actionIds) Sets the action IDs of this sharing entry.void
setClassName
(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
(Date createDate) Sets the create date of this sharing entry.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this sharing entry.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this sharing entry.void
setGroupId
(long groupId) Sets the group ID of this sharing entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(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
setToUserGroupId
(long toUserGroupId) Sets the to user group ID of this sharing entry.void
setToUserId
(long toUserId) Sets the to user ID of this sharing entry.void
setToUserUuid
(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
(String userName) Sets the user name of this sharing entry.void
setUserUuid
(String userUuid) Sets the user uuid of this sharing entry.void
Sets the uuid of this sharing entry.protected SharingEntryWrapper
wrap
(SharingEntry sharingEntry) 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
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
SharingEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<SharingEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<SharingEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<SharingEntry>
- Specified by:
cloneWithOriginalValues
in interfaceSharingEntryModel
-
getActionIds
public long getActionIds()Returns the action IDs of this sharing entry.- Specified by:
getActionIds
in interfaceSharingEntryModel
- Returns:
- the action IDs of this sharing entry
-
getClassName
Returns the fully qualified class name of this sharing entry.- Specified by:
getClassName
in interfaceSharingEntryModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this sharing entry
-
getClassNameId
public long getClassNameId()Returns the class name ID of this sharing entry.- Specified by:
getClassNameId
in interfaceSharingEntryModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the class name ID of this sharing entry
-
getClassPK
public long getClassPK()Returns the class pk of this sharing entry.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceSharingEntryModel
- Returns:
- the class pk of this sharing entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this sharing entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfaceSharingEntryModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this sharing entry
-
getCreateDate
Returns the create date of this sharing entry.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceSharingEntryModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this sharing entry
-
getExpirationDate
Returns the expiration date of this sharing entry.- Specified by:
getExpirationDate
in interfaceSharingEntryModel
- Returns:
- the expiration date of this sharing entry
-
getExternalReferenceCode
Returns the external reference code of this sharing entry.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceSharingEntryModel
- Returns:
- the external reference code of this sharing entry
-
getGroupId
public long getGroupId()Returns the group ID of this sharing entry.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceSharingEntryModel
- Returns:
- the group ID of this sharing entry
-
getModifiedDate
Returns the modified date of this sharing entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceSharingEntryModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this sharing entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this sharing entry.- Specified by:
getPrimaryKey
in interfaceSharingEntryModel
- Returns:
- the primary key of this sharing entry
-
getSharingEntryId
public long getSharingEntryId()Returns the sharing entry ID of this sharing entry.- Specified by:
getSharingEntryId
in interfaceSharingEntryModel
- Returns:
- the sharing entry ID of this sharing entry
-
getToUserGroupId
public long getToUserGroupId()Returns the to user group ID of this sharing entry.- Specified by:
getToUserGroupId
in interfaceSharingEntryModel
- Returns:
- the to user group ID of this sharing entry
-
getToUserId
public long getToUserId()Returns the to user ID of this sharing entry.- Specified by:
getToUserId
in interfaceSharingEntryModel
- Returns:
- the to user ID of this sharing entry
-
getToUserUuid
Returns the to user uuid of this sharing entry.- Specified by:
getToUserUuid
in interfaceSharingEntryModel
- Returns:
- the to user uuid of this sharing entry
-
getUserId
public long getUserId()Returns the user ID of this sharing entry.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceSharingEntryModel
- Returns:
- the user ID of this sharing entry
-
getUserName
Returns the user name of this sharing entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceSharingEntryModel
- Returns:
- the user name of this sharing entry
-
getUserUuid
Returns the user uuid of this sharing entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceSharingEntryModel
- Returns:
- the user uuid of this sharing entry
-
getUuid
Returns the uuid of this sharing entry.- Specified by:
getUuid
in interfaceSharingEntryModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this sharing entry
-
hasSharingPermission
Returnstrue
if the sharing entry has the sharing entry action.- Specified by:
hasSharingPermission
in interfaceSharingEntry
- Parameters:
sharingEntryAction
- the sharing entry action- Returns:
true
if the sharing entry has the sharing entry action;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setActionIds
public void setActionIds(long actionIds) Sets the action IDs of this sharing entry.- Specified by:
setActionIds
in interfaceSharingEntryModel
- Parameters:
actionIds
- the action IDs of this sharing entry
-
setClassName
- Specified by:
setClassName
in interfaceSharingEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this sharing entry.- Specified by:
setClassNameId
in interfaceSharingEntryModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Parameters:
classNameId
- the class name ID of this sharing entry
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this sharing entry.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfaceSharingEntryModel
- Parameters:
classPK
- the class pk of this sharing entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this sharing entry.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfaceSharingEntryModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this sharing entry
-
setCreateDate
Sets the create date of this sharing entry.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceSharingEntryModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this sharing entry
-
setExpirationDate
Sets the expiration date of this sharing entry.- Specified by:
setExpirationDate
in interfaceSharingEntryModel
- Parameters:
expirationDate
- the expiration date of this sharing entry
-
setExternalReferenceCode
Sets the external reference code of this sharing entry.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceSharingEntryModel
- Parameters:
externalReferenceCode
- the external reference code of this sharing entry
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this sharing entry.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceSharingEntryModel
- Parameters:
groupId
- the group ID of this sharing entry
-
setModifiedDate
Sets the modified date of this sharing entry.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceSharingEntryModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this sharing entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this sharing entry.- Specified by:
setPrimaryKey
in interfaceSharingEntryModel
- Parameters:
primaryKey
- the primary key of this sharing entry
-
setSharingEntryId
public void setSharingEntryId(long sharingEntryId) Sets the sharing entry ID of this sharing entry.- Specified by:
setSharingEntryId
in interfaceSharingEntryModel
- Parameters:
sharingEntryId
- the sharing entry ID of this sharing entry
-
setToUserGroupId
public void setToUserGroupId(long toUserGroupId) Sets the to user group ID of this sharing entry.- Specified by:
setToUserGroupId
in interfaceSharingEntryModel
- Parameters:
toUserGroupId
- the to user group ID of this sharing entry
-
setToUserId
public void setToUserId(long toUserId) Sets the to user ID of this sharing entry.- Specified by:
setToUserId
in interfaceSharingEntryModel
- Parameters:
toUserId
- the to user ID of this sharing entry
-
setToUserUuid
Sets the to user uuid of this sharing entry.- Specified by:
setToUserUuid
in interfaceSharingEntryModel
- Parameters:
toUserUuid
- the to user uuid of this sharing entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this sharing entry.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceSharingEntryModel
- Parameters:
userId
- the user ID of this sharing entry
-
setUserName
Sets the user name of this sharing entry.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceSharingEntryModel
- Parameters:
userName
- the user name of this sharing entry
-
setUserUuid
Sets the user uuid of this sharing entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceSharingEntryModel
- Parameters:
userUuid
- the user uuid of this sharing entry
-
setUuid
Sets the uuid of this sharing entry.- Specified by:
setUuid
in interfaceSharingEntryModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this sharing entry
-
toXmlString
- Specified by:
toXmlString
in interfaceSharingEntryModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry>
-