public class ContentGroup extends Described implements MutableContentList, Equivalent<ContentGroup>
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentGroup.Type |
publisher, relatedLinksDESCENDING_LAST_UPDATED, TO_ID, TO_URI| Modifier | Constructor and Description |
|---|---|
|
ContentGroup() |
protected |
ContentGroup(ContentGroup.Type type,
String uri,
String curie,
org.atlasapi.media.entity.Publisher publisher) |
|
ContentGroup(String uri) |
|
ContentGroup(String uri,
org.atlasapi.media.entity.Publisher publisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(ContentRef childRef) |
void |
addContents(Iterable<ContentRef> childRef) |
ContentGroupRef |
contentGroupRef() |
ContentGroup |
copy() |
ContentGroup |
copyWithEquivalentTo(Iterable<EquivalenceRef> refs) |
com.google.common.collect.ImmutableList<ContentRef> |
getContents() |
ContentGroup.Type |
getType() |
boolean |
hashChanged(String newHash) |
void |
setContents(Iterable<ContentRef> children) |
void |
setReadHash(String readHash) |
void |
setType(ContentGroup.Type type) |
addRelatedLink, copyTo, getDescription, getFirstSeen, getGenres, getImage, getImages, getLastFetched, getLongDescription, getMediaType, getMediumDescription, getPresentationChannel, getPrimaryImage, getPublisher, getRelatedLinks, getShortDescription, getSpecialization, getSynopses, getTags, getThisOrChildLastUpdated, getThumbnail, getTitle, isActivelyPublished, isEquivalentTo, isScheduleOnly, setActivelyPublished, setDescription, setFirstSeen, setGenres, setImage, setImages, setLastFetched, setLongDescription, setMediaType, setMediumDescription, setPresentationChannel, setPresentationChannel, setPublisher, setRelatedLinks, setScheduleOnly, setShortDescription, setSpecialization, setSynopses, setTags, setThisOrChildLastUpdated, setThumbnail, setTitleaddAlias, addAliases, addAliasUrl, addAliasUrls, addEquivalentTo, copyTo, equals, getAliases, getAliasUrls, getAllUris, getCanonicalUri, getCurie, getEquivalenceUpdate, getEquivalentTo, getId, getLastUpdated, hashCode, isEquivalentTo, setAliases, setAliasUrls, setCanonicalUri, setCurie, setEquivalenceUpdate, setEquivalentTo, setId, setId, setLastUpdated, sort, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEquivalentTogetIdgetPublisherpublic ContentGroup(String uri)
public ContentGroup(String uri, org.atlasapi.media.entity.Publisher publisher)
protected ContentGroup(ContentGroup.Type type, String uri, String curie, org.atlasapi.media.entity.Publisher publisher)
public ContentGroup()
public com.google.common.collect.ImmutableList<ContentRef> getContents()
getContents in interface MutableContentListpublic void setType(ContentGroup.Type type)
public ContentGroup.Type getType()
public void setContents(Iterable<ContentRef> children)
public void addContent(ContentRef childRef)
public void addContents(Iterable<ContentRef> childRef)
public void setReadHash(String readHash)
public boolean hashChanged(String newHash)
public ContentGroup copy()
public ContentGroupRef contentGroupRef()
public ContentGroup copyWithEquivalentTo(Iterable<EquivalenceRef> refs)
copyWithEquivalentTo in interface Equivalent<ContentGroup>copyWithEquivalentTo in class IdentifiedCopyright © 2014. All rights reserved.