public class WGStructEntry.ContentSet
extends java.lang.Object
Constructor and Description |
---|
WGStructEntry.ContentSet()
Constructor for empty content sets, returned when the user is not allowed to read the contents
|
WGStructEntry.ContentSet(java.util.List<WGContent> contents) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,WGContent> |
getAllContent()
Returns all ACTIVE content for the struct entry (excluding archived ones), mapped by a string "language.version"
|
java.util.Map<java.lang.String,WGContent> |
getArchivedContent()
Returns the archived content for the struct entry, mapped by a string "language.version"
|
java.util.Map<java.lang.String,WGContent> |
getReleasedContent()
Returns the released content for the struct entry, mapped by the language code
|
public WGStructEntry.ContentSet()
public WGStructEntry.ContentSet(java.util.List<WGContent> contents) throws WGAPIException
WGAPIException
public java.util.Map<java.lang.String,WGContent> getAllContent()
public java.util.Map<java.lang.String,WGContent> getArchivedContent()
public java.util.Map<java.lang.String,WGContent> getReleasedContent()