package org.wikipedia.dataclient.page;
import android.location.Location;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.wikipedia.dataclient.WikiSite;
import org.wikipedia.page.Namespace;
import org.wikipedia.page.Section;
import java.util.List;
/**
* The main properties of a page
*/
public interface PageLeadProperties {
int getId();
@NonNull Namespace getNamespace(@NonNull WikiSite wiki);
long getRevision();
@Nullable
String getLastModified();
int getLanguageCount();
@Nullable
String getDisplayTitle();
@Nullable
String getTitlePronunciationUrl();
@Nullable
Location getGeo();
@Nullable
String getRedirected();
@Nullable
String getNormalizedTitle();
@Nullable
String getWikiBaseItem();
@Nullable
String getDescription();
/**
* @return Nullable URL with no scheme. For example, foo.bar.com/ instead of
* http://foo.bar.com/.
*/
@Nullable
String getLeadImageUrl(int leadThumbnailWidth);
@Nullable
String getLeadImageName();
@Nullable
String getFirstAllowedEditorRole();
boolean isEditable();
boolean isMainPage();
boolean isDisambiguation();
@NonNull List<Section> getSections();
}