}
public static GoToCoverScreenInfo getGoToCoverScreenInfo() {
try {
// Find the GoToCoverScreen.xml file and parse as a PlacemarkList object.
ContentCollection collection = getSystemContentRepository();
ContentCollection grps = (ContentCollection) collection.getParent().getChild("groups");
if(grps==null) {
grps = (ContentCollection) collection.getParent().createChild("groups", ContentNode.Type.COLLECTION);
}
ContentCollection grpusrs = (ContentCollection) grps.getChild("users");
if(grpusrs == null) {
grpusrs = (ContentCollection) grps.createChild("users", ContentNode.Type.COLLECTION);
}
ContentCollection csColl = (ContentCollection) grpusrs.getChild("GoToCoverScreen");
if(csColl==null) {
csColl = (ContentCollection) grpusrs.createChild("GoToCoverScreen", ContentNode.Type.COLLECTION);
}
ArrayList<ContentNode> resources = (ArrayList<ContentNode>) csColl.getChildren();
ContentResource resource = null;
if(resources!=null && !resources.isEmpty()) {
resource = (ContentResource)csColl.getChildren().get(0);
}
if (resource == null) {
LOGGER.warning("Unable to find GoToCoverScreen.xml in " + collection.getPath());
return null;
} else {