public class ExternalTopicRoleTO extends Object implements Serializable
Constructor and Description |
---|
ExternalTopicRoleTO() |
ExternalTopicRoleTO(BlogRole role,
Long entityId,
String entityAlias,
Boolean isGroup,
String externalObjectId,
String externalEntityId) |
ExternalTopicRoleTO(BlogRole role,
String externalObjectId) |
ExternalTopicRoleTO(ExternalTopicRoleTO otherBean)
Copies constructor from other ExternalTopicRoleTO
|
Modifier and Type | Method and Description |
---|---|
void |
copy(ExternalTopicRoleTO otherBean)
Copies all properties from the argument value object into this value object.
|
String |
getEntityAlias()
Alias of user or group.
|
Long |
getEntityId()
Identifier of user or group.
|
String |
getExternalEntityId() |
String |
getExternalObjectId()
Identifier of external object in external system.
|
Boolean |
getIsGroup()
Set that the entityId or the entityAlias is an group.
|
BlogRole |
getRole()
Role of entity for topic.
|
void |
setEntityAlias(String entityAlias) |
void |
setEntityId(Long entityId) |
void |
setExternalEntityId(String externalEntityId) |
void |
setExternalObjectId(String externalObjectId) |
void |
setIsGroup(Boolean isGroup) |
void |
setRole(BlogRole role) |
public ExternalTopicRoleTO()
public ExternalTopicRoleTO(BlogRole role, Long entityId, String entityAlias, Boolean isGroup, String externalObjectId, String externalEntityId)
public ExternalTopicRoleTO(ExternalTopicRoleTO otherBean)
otherBean
- , cannot be null
NullPointerException
- if the argument is null
public void copy(ExternalTopicRoleTO otherBean)
public String getEntityAlias()
Alias of user or group.
public Long getEntityId()
Identifier of user or group.
public String getExternalEntityId()
public String getExternalObjectId()
Identifier of external object in external system.
public Boolean getIsGroup()
Set that the entityId or the entityAlias is an group. For default the entityId is the identifier of an user and the alias the alias of an user.
public BlogRole getRole()
Role of entity for topic.
public void setEntityAlias(String entityAlias)
public void setEntityId(Long entityId)
public void setExternalEntityId(String externalEntityId)
public void setExternalObjectId(String externalObjectId)
public void setIsGroup(Boolean isGroup)
public void setRole(BlogRole role)
Copyright © 2019 Communote team. All rights reserved.