public class Like extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
NAMED_QUERY_DELETE_BY_SERVICEINSTANCEID |
protected static String |
NAMED_QUERY_FIND_BY_ITEMID |
protected static String |
NAMED_QUERY_FIND_BY_ITEMID_AND_SERVICEINSTANCEID |
protected static String |
NAMED_QUERY_FIND_LIKE_BY_ITEMID_AND_USERID_AND_SERVICEINSTANCEID |
Constructor and Description |
---|
Like() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns this liking's identifier.
|
String |
getItemId()
Returns the identifier of the entity which this liking is related.
|
String |
getItemName()
Returns the title of the entity which this liking is related.
|
String |
getItemServiceInstanceId()
Returns the identifier of the service instance from the entity which this liking is related.
|
String |
getItemUrl()
Returns the URL to the details page of entity which this liking is related.
|
Date |
getLikeDate()
Returns this liking's expression date.
|
String |
getServiceInstanceId()
Returns the identifier of the service instance from this liking.
|
String |
getUserId()
Returns the identifier of the user which expressed this liking.
|
void |
setId(String id)
Sets this liking's identifier.
|
void |
setItemId(String itemId)
Sets the identifier of the entity which this liking is related.
|
void |
setItemName(String itemName)
Sets the title of the entity which this liking is related.
|
void |
setItemServiceInstanceId(String itemServiceInstanceId)
Sets the identifier of the service instance from the entity which this liking is related.
|
void |
setItemUrl(String itemUrl)
Sets the URL to the details page of entity which this liking is related.
|
void |
setServiceInstanceId(String serviceInstanceId)
Sets the identifier of the service instance from this liking.
|
protected static final String NAMED_QUERY_FIND_BY_ITEMID
protected static final String NAMED_QUERY_DELETE_BY_SERVICEINSTANCEID
protected static final String NAMED_QUERY_FIND_BY_ITEMID_AND_SERVICEINSTANCEID
protected static final String NAMED_QUERY_FIND_LIKE_BY_ITEMID_AND_USERID_AND_SERVICEINSTANCEID
public String getId()
public void setId(String id)
id
- the identifier value to set.public String getServiceInstanceId()
public void setServiceInstanceId(String serviceInstanceId)
serviceInstanceId
- the service instance identifier value to set.public String getItemId()
public void setItemId(String itemId)
itemId
- the liking's identifier value to set.public String getItemName()
public void setItemName(String itemName)
itemName
- the liking's title value to set.public String getItemServiceInstanceId()
public void setItemServiceInstanceId(String itemServiceInstanceId)
itemServiceInstanceId
- the liking's service instance identifier value to set.public String getItemUrl()
public void setItemUrl(String itemUrl)
itemUrl
- the liking's details page URL value to set.public Date getLikeDate()
public String getUserId()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.