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.core.config
Interface StagingConfiguration

All Known Implementing Classes:
JAXBStagingConfiguration

public interface StagingConfiguration

Configuration of a staged directory of content


Field Summary
static java.lang.String GROUPS
          default managed prefix for URIs from the Content Server

 

Method Summary
 java.lang.String getDirHash()
           
 java.lang.String[] getManagedPrefixes()
           
 java.lang.String getPublicDir()
           
 java.lang.String getStagingDirectory()
           
 boolean isDisconnected()
           
 boolean isManagedPath(java.lang.String path)
          Checks the path against all configured managed prefixes
 void setDirHash(java.lang.String dirHash)
           
 void setDisconnected(boolean disconnected)
          Set the disconnected value
 void setManagedPrefixes(java.lang.String[] prefixes)
          Set the managed prefixes
 void setPublicDir(java.lang.String publicDir)
           
 void setStagingDirectory(java.lang.String directory)
          Set the staging directory

 

Field Detail

GROUPS

static final java.lang.String GROUPS
default managed prefix for URIs from the Content Server
See Also:
Constant Field Values

Method Detail

getStagingDirectory

java.lang.String getStagingDirectory()
Returns:
the root staging directory on the local file system

setStagingDirectory

void setStagingDirectory(java.lang.String directory)
Set the staging directory
Parameters:
directory - the root directory for staged content

getDirHash

java.lang.String getDirHash()
Returns:
directory hash as set in the app's configuration xml file

setDirHash

void setDirHash(java.lang.String dirHash)
Parameters:
dirHash - the directory hash

getPublicDir

java.lang.String getPublicDir()
Returns:
public directory as set in the app's configuration xml file

setPublicDir

void setPublicDir(java.lang.String publicDir)
Parameters:
publicDir - the public directory (relative to the staging root)

isDisconnected

boolean isDisconnected()
Returns:
true if this is in disconnected mode

setDisconnected

void setDisconnected(boolean disconnected)
Set the disconnected value
Parameters:
disconnected - true to run in disconnected mode, false to talk to the Content Server

getManagedPrefixes

java.lang.String[] getManagedPrefixes()
Returns:
the prefix(es) of the URIs to which are managed (i.e. '/groups')

setManagedPrefixes

void setManagedPrefixes(java.lang.String[] prefixes)
Set the managed prefixes
Parameters:
prefixes - the uri prefixes

isManagedPath

boolean isManagedPath(java.lang.String path)
Checks the path against all configured managed prefixes
Parameters:
path - the path to validate
Returns:
true if the path is a reference to a managed file

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.