Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

The API functions for the pages, elements and media items are exposed through a service. Obtaining the services can be done through the Session. The following lines of code will make the Session, PageManagementService, ElementManagementService and MediaRepositoryService available:


Code Block
Session mySession = mySessionManager.getActiveSession();
PageManagementService myPageService = mySession.getPageManagementService();
ElementManagementService myElementService = mySession.getElementManagementService();
MediaRepositoryManagementService myMediaRepositoryService = mySession.getMediaRepositoryManagementService();