org.alfresco.wcm.sandbox
Class SandboxInfoImpl

java.lang.Object
  extended by org.alfresco.wcm.sandbox.SandboxInfoImpl
All Implemented Interfaces:
SandboxInfo

public class SandboxInfoImpl
extends java.lang.Object
implements SandboxInfo

Provides information about a WCM sandbox created by Sandbox Service/Factory


Method Summary
 java.util.Date getCreatedDate()
           
 java.lang.String getCreator()
           
 java.lang.String getMainStoreName()
          The name of the "main" store within this sandbox.
 java.lang.String getName()
          Get the name
 java.lang.String getSandboxId()
          The sandbox store id
 java.lang.String getSandboxRootPath()
          The sandbox root relative path - eg.
 org.alfresco.service.namespace.QName getSandboxType()
          The sandbox type ...
 java.lang.String[] getStoreNames()
          A list of names of the stores within this sandbox.
 java.lang.String getWebProjectId()
          The web project store id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Description copied from interface: SandboxInfo
Get the name

Specified by:
getName in interface SandboxInfo
Returns:
String name

getWebProjectId

public java.lang.String getWebProjectId()
Description copied from interface: SandboxInfo
The web project store id

Specified by:
getWebProjectId in interface SandboxInfo

getSandboxId

public java.lang.String getSandboxId()
Description copied from interface: SandboxInfo
The sandbox store id

Specified by:
getSandboxId in interface SandboxInfo

getSandboxType

public org.alfresco.service.namespace.QName getSandboxType()
Description copied from interface: SandboxInfo
The sandbox type ... for now a QName, based on existing SandboxConstants

Specified by:
getSandboxType in interface SandboxInfo

getCreatedDate

public java.util.Date getCreatedDate()
Specified by:
getCreatedDate in interface SandboxInfo

getCreator

public java.lang.String getCreator()
Specified by:
getCreator in interface SandboxInfo

getSandboxRootPath

public java.lang.String getSandboxRootPath()
Description copied from interface: SandboxInfo
The sandbox root relative path - eg. for WCM web project with webapps, typically /www/avm_webapps

Specified by:
getSandboxRootPath in interface SandboxInfo

getStoreNames

public java.lang.String[] getStoreNames()
A list of names of the stores within this sandbox. The "main" store should come first in this list; any other stores should appear in the order that they are overlaid on "main" (e.g.: any "preview" layers should come afterward, in "lowest first" order).

Note: all sandboxes must have a "main" layer.

Specified by:
getStoreNames in interface SandboxInfo

getMainStoreName

public java.lang.String getMainStoreName()
The name of the "main" store within this sandbox.

Specified by:
getMainStoreName in interface SandboxInfo


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.