public class Recommendation extends DriverResource
| Modifier and Type | Field and Description |
|---|---|
static String |
ANOUCHMENT_TYPE |
static String |
COMMUNITY_TYPE |
static String |
QUERY_TYPE |
static String |
USER_TYPE |
| Constructor and Description |
|---|
Recommendation()
The default constructor sets the resourceKind to RecommendationDSResources,
resourceType to RecommendationDSResourceType and dateOfCreation to the current system date.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCommunityIds() |
String |
getContent() |
Date |
getExpirationDate() |
Date |
getGenerationDate() |
String |
getId()
Deprecated.
|
int |
getIndex() |
String |
getTitle() |
String |
getType() |
Set<String> |
getUserIds() |
boolean |
isActive() |
boolean |
isShowTitle() |
void |
setActive(boolean active) |
void |
setCommunityIds(Set<String> communityIds) |
void |
setContent(String text) |
void |
setExpirationDate(Date expirationDate) |
void |
setGenerationDate(Date generationDate) |
void |
setId(String id)
Deprecated.
|
void |
setIndex(int index) |
void |
setShowTitle(boolean showTitle) |
void |
setTitle(String title) |
void |
setType(String t) |
void |
setUserIds(Set<String> userIds) |
equals, getDateOfCreation, getResourceId, getResourceKind, getResourceType, getResourceUri, hashCode, setDateOfCreation, setResourceId, setResourceKind, setResourceType, setResourceUripublic static final String ANOUCHMENT_TYPE
public static final String COMMUNITY_TYPE
public static final String USER_TYPE
public static final String QUERY_TYPE
public Recommendation()
public String getType()
public void setType(String t)
@Deprecated public String getId()
@Deprecated public void setId(String id)
public String getContent()
public void setContent(String text)
public Date getExpirationDate()
public void setExpirationDate(Date expirationDate)
public void setGenerationDate(Date generationDate)
public Date getGenerationDate()
public boolean isActive()
public void setActive(boolean active)
active - the active to setpublic int getIndex()
public void setIndex(int index)
index - the index to setpublic boolean isShowTitle()
public void setShowTitle(boolean showTitle)
public String getTitle()
public void setTitle(String title)
Copyright © 2017. All rights reserved.