administrator = new SiteAdminImpl(administratorLogin);
administrator.setName(administratorName);
administrator.setEmail(administratorEmail);
administrator.addPrivateCredentials(new PasswordImpl(administratorPassword, DigestType.plain));
// Default template
defaultTemplate = new PageTemplateImpl(defaultTemplateId, new URL(defaultTemplateUrl));
defaultTemplate.setClientRevalidationTime(defaultTemplateRecheckTime);
defaultTemplate.setCacheExpirationTime(defaultTemplateValidTime);
defaultTemplate.setComposeable(true);
defaultTemplate.setStage(defaultTemplateStage);
defaultTemplate.setName(defaultTemplateName);
// Mobile template
mobileTemplate = new PageTemplateImpl(mobileTemplateId, new URL(mobileTemplateUrl));
mobileTemplate.setComposeable(true);
mobileTemplate.setName(mobileTemplateName);
}