com.atlassian.confluence.util
Class ContentFacade

java.lang.Object
  extended by com.atlassian.confluence.util.ContentFacade

public class ContentFacade
extends java.lang.Object


Constructor Summary
ContentFacade()
           
 
Method Summary
 MailContentManager getMailContentManager()
           
 PageManager getPageManager()
           
 java.util.List getRecentlyUpdatedPagesForUserOnSpaceSince(com.atlassian.user.User user, java.lang.String spaceKey, java.util.Date previousLoginDate)
           
 java.util.List getRecentlyUpdatedPagesForUserSince(com.atlassian.user.User user, java.util.Date previousLoginDate)
           
 SettingsManager getSettingsManager()
           
 java.lang.String getWelcomeMessage()
           
 com.atlassian.renderer.WikiStyleRenderer getWikiStyleRenderer()
           
 void setMailContentManager(MailContentManager mailContentManager)
           
 void setPageManager(PageManager pageManager)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 void setSettingsManager(SettingsManager settingsManager)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
           
 boolean spaceHasBlogPosts(java.lang.String spaceKey)
           
 boolean spaceHasMail(java.lang.String spaceKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentFacade

public ContentFacade()
Method Detail

spaceHasBlogPosts

public boolean spaceHasBlogPosts(java.lang.String spaceKey)
Parameters:
spaceKey -
Returns:
true if the given space key correlates to a space containing blog content

spaceHasMail

public boolean spaceHasMail(java.lang.String spaceKey)
Parameters:
spaceKey -
Returns:
true if the given space key correlates to a space containing mail content

getWelcomeMessage

public java.lang.String getWelcomeMessage()
Returns:
String the site welcome message held in com.atlassian.confluence.setup.settings.Settings

getRecentlyUpdatedPagesForUserOnSpaceSince

public java.util.List getRecentlyUpdatedPagesForUserOnSpaceSince(com.atlassian.user.User user,
                                                                 java.lang.String spaceKey,
                                                                 java.util.Date previousLoginDate)
Parameters:
user -
previousLoginDate -
Returns:
a list of pages, added or updated since the user last logged in, which they are permitted to see.

getRecentlyUpdatedPagesForUserSince

public java.util.List getRecentlyUpdatedPagesForUserSince(com.atlassian.user.User user,
                                                          java.util.Date previousLoginDate)
Parameters:
user -
previousLoginDate -
Returns:
a list of pages, added or updated since the user last logged in, which they are permitted to see.

getPageManager

public PageManager getPageManager()

getMailContentManager

public MailContentManager getMailContentManager()

getSettingsManager

public SettingsManager getSettingsManager()

getWikiStyleRenderer

public com.atlassian.renderer.WikiStyleRenderer getWikiStyleRenderer()

setPageManager

public void setPageManager(PageManager pageManager)

setMailContentManager

public void setMailContentManager(MailContentManager mailContentManager)

setSettingsManager

public void setSettingsManager(SettingsManager settingsManager)

setWikiStyleRenderer

public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)


Copyright © 2003-2010 Atlassian. All Rights Reserved.