Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.server.project
Class ProjectFileManager

java.lang.Object
  extended by oracle.stellent.wcm.server.project.ProjectFileManager

All Implemented Interfaces:
WcmEventListener

public class ProjectFileManager
extends java.lang.Object
implements WcmEventListener

Project service keeps track of project XML files, fire events, and manages the lifecycle of the project.


Constructor Summary
ProjectFileManager(ProjectAdapter projectAdapter, WcmEventDispatcher eventDispatcher)
          ProjectManager instance

 

Method Summary
 java.util.Set<java.lang.String> getAvailableSiteIDs()
           
 java.lang.Exception getProjectError(java.lang.String siteID)
           
 ProjectFile getProjectFile(java.lang.String siteId)
          Retrieve the project associated with the given site ID
 java.lang.String getProjectToken(java.lang.String siteID)
           
 void initializeSite(SiteConfiguration siteConfig)
          Initialize a give site
 void onWcmEvent(WcmEvent wcmEvent)
          Called when the event occurs

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ProjectFileManager

public ProjectFileManager(ProjectAdapter projectAdapter,
                          WcmEventDispatcher eventDispatcher)
ProjectManager instance
Parameters:
projectAdapter - the project adapter
eventDispatcher - the event processor

Method Detail

initializeSite

public void initializeSite(SiteConfiguration siteConfig)
Initialize a give site
Parameters:
siteConfig - the site configuration object

getAvailableSiteIDs

public java.util.Set<java.lang.String> getAvailableSiteIDs()
Returns:
a collection of the available project names

getProjectFile

public ProjectFile getProjectFile(java.lang.String siteId)
Retrieve the project associated with the given site ID
Parameters:
siteId - the site ID
Returns:
the project or null if not registered

getProjectError

public java.lang.Exception getProjectError(java.lang.String siteID)
Parameters:
siteID - the site ID
Returns:
the error for the given project

getProjectToken

public java.lang.String getProjectToken(java.lang.String siteID)
Parameters:
siteID - the site ID
Returns:
token that identifies the version of the contents, null if there is no token information

onWcmEvent

public void onWcmEvent(WcmEvent wcmEvent)
Called when the event occurs
Specified by:
onWcmEvent in interface WcmEventListener
Parameters:
wcmEvent - the event context

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.