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.content
Interface ProjectAdapter

All Known Implementing Classes:
FSProjectAdapter, IdcProjectAdapter

public interface ProjectAdapter

Nested Class Summary
static class ProjectAdapter.ProjectStream
          Return wrapper class that holds the InputStream and the token

 

Method Summary
 void flushProject(java.lang.String siteID)
          Flush any cached project
 java.lang.String getProjectLocation(java.lang.String siteID)
          A friendly string showing the project location, usually in URL format
 boolean isProjectUpdated(ProjectFileManager projectManager, java.lang.String siteID)
          Determine if a new project is available
 ProjectAdapter.ProjectStream loadProject(java.lang.String siteID)
          Load the project

 

Method Detail

loadProject

ProjectAdapter.ProjectStream loadProject(java.lang.String siteID)
                                         throws oracle.stellent.ridc.IdcClientException,
                                                java.io.IOException
Load the project
Parameters:
siteID - the site ID
Returns:
the inputstream for the project file
Throws:
oracle.stellent.ridc.IdcClientException
java.io.IOException

getProjectLocation

java.lang.String getProjectLocation(java.lang.String siteID)
A friendly string showing the project location, usually in URL format
Parameters:
siteID - the site ID
Returns:
a string for the location

isProjectUpdated

boolean isProjectUpdated(ProjectFileManager projectManager,
                         java.lang.String siteID)
                         throws oracle.stellent.ridc.IdcClientException
Determine if a new project is available
Parameters:
projectManager - ProjectService that actually holds the project and tokens
siteID - the site ID
Returns:
true if a new project is available
Throws:
oracle.stellent.ridc.IdcClientException

flushProject

void flushProject(java.lang.String siteID)
                  throws java.io.IOException
Flush any cached project
Parameters:
siteID - the site ID
Throws:
java.io.IOException

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.