Esempio n. 1
0
		public List<Page> getPageSummaries(Space space) {
			checkCredentials();
			List<Page> returnPages = new List<Page>();
			RemotePageSummary[] pages = confluence.getPages(credentials, space.Key);
			foreach(RemotePageSummary page in pages) {
				returnPages.Add(new Page(page));
			}
			returnPages.Sort((x, y) => string.Compare(x.Title, y.Title));
			return returnPages;
		}
Esempio n. 2
0
		public Page getSpaceHomepage(Space spaceSummary) {
			checkCredentials();
			RemoteSpace spaceDetail = confluence.getSpace(credentials, spaceSummary.Key);
			RemotePage page = confluence.getPage(credentials, spaceDetail.homePage);
			return new Page(page);
		}