|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.server.site.ProjectManager
public class ProjectManager
Project service keeps track of project XML files, fire events, and manages the lifecycle of the project.
Nested Class Summary | |
---|---|
protected static class |
ProjectManager.ProjectReference Internal reference to a project and associated data |
Constructor Summary | |
---|---|
ProjectManager(ProjectAdapter projectAdapter, EventProcessor eventProcessor) ProjectManager instance |
Method Summary | |
---|---|
void |
addOrRefreshProject(java.lang.String siteId) Add or refresh a project from by reloading from ProjectAdapter |
java.util.Set<java.lang.String> |
getAvailableProjects() |
Project |
getProject(java.lang.String siteId) Retrieve the project associated with the given site ID |
ProjectAdapter |
getProjectAdapter() |
java.lang.Exception |
getProjectError(java.lang.String siteID) |
ProjectSyncManager |
getProjectSyncManager() |
java.lang.String |
getProjectToken(java.lang.String siteID) |
protected boolean |
initializeSite(SiteConfiguration siteConfig) Initialize a give site |
void |
initializeSites(java.util.Collection<SiteConfiguration> sites) Initialize the given sites; adds an entry into the project manager for each listed site. |
ProjectManager.ProjectReference |
loadProject(java.lang.String siteId) Load a project from ProjectAdapter |
Project |
parseProjectInputStream(java.io.InputStream inputStream) Load the project InputStream |
void |
removeProject(java.lang.String siteId) Unregister the project |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectManager(ProjectAdapter projectAdapter, EventProcessor eventProcessor)
projectAdapter
- the project adaptereventProcessor
- the event processorMethod Detail |
---|
public void initializeSites(java.util.Collection<SiteConfiguration> sites)
getProjectError(String)
for an error for each sitesites
- the site configuration objects to intializepublic ProjectAdapter getProjectAdapter()
public ProjectSyncManager getProjectSyncManager()
public Project getProject(java.lang.String siteId)
siteId
- the site IDpublic java.util.Set<java.lang.String> getAvailableProjects()
public java.lang.Exception getProjectError(java.lang.String siteID)
siteID
- the site IDpublic java.lang.String getProjectToken(java.lang.String siteID)
siteID
- the site IDpublic Project parseProjectInputStream(java.io.InputStream inputStream) throws ProjectException
inputStream
- the stream to the structure contentProjectException
public void removeProject(java.lang.String siteId)
siteId
- the site IDpublic void addOrRefreshProject(java.lang.String siteId)
ProjectAdapter
siteId
- the site IDpublic ProjectManager.ProjectReference loadProject(java.lang.String siteId)
ProjectAdapter
siteId
- the site IDprotected boolean initializeSite(SiteConfiguration siteConfig)
siteConfig
- the site configuration object
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |