|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.cms.installer.WorkspaceInstaller
Provides methods to install the Content Center application, which is used by the Content Management System.
| Field Summary | |
static String |
PACKAGE_KEY
|
static String |
versionId
|
| Constructor Summary | |
WorkspaceInstaller()
|
|
| Method Summary | |
protected com.arsdigita.kernel.PackageInstance |
createPackageInstance()
Create the Content Center application instance. |
protected com.arsdigita.kernel.PackageType |
createPackageType()
Create the CMS package type. |
protected String |
getDispatcherClass()
Returns the name of the dispatcher class to use |
String |
getInstanceName()
Returns this workspace's instance name |
String |
getPackageKey()
Returns this workspace's instance name |
protected com.arsdigita.kernel.SiteNode |
mountPackageInstance(com.arsdigita.kernel.PackageInstance instance,
String location)
Mount the Content Center application instance. |
void |
onCreate(com.arsdigita.kernel.PackageInstance pkg)
This method is called when a new package instance is created. |
void |
onDelete(com.arsdigita.kernel.PackageInstance pkg)
Describe onDelete method here. |
void |
onMount(com.arsdigita.kernel.SiteNode siteNode,
com.arsdigita.kernel.PackageInstance pkg)
This method is called when a package instance is mounted on a siteNode. |
void |
onUnmount(com.arsdigita.kernel.SiteNode siteNode,
com.arsdigita.kernel.PackageInstance pkg)
This method is called when a package instance is unmounted from a siteNode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String versionId
public static final String PACKAGE_KEY
| Constructor Detail |
public WorkspaceInstaller()
| Method Detail |
public String getPackageKey()
public String getInstanceName()
protected String getDispatcherClass()
protected com.arsdigita.kernel.PackageType createPackageType()
throws com.arsdigita.domain.DataObjectNotFoundException
com.arsdigita.domain.DataObjectNotFoundException
protected com.arsdigita.kernel.PackageInstance createPackageInstance()
throws com.arsdigita.domain.DataObjectNotFoundException
com.arsdigita.domain.DataObjectNotFoundException
protected com.arsdigita.kernel.SiteNode mountPackageInstance(com.arsdigita.kernel.PackageInstance instance,
String location)
instance - The package instancelocation - The location of the Content Center
public void onMount(com.arsdigita.kernel.SiteNode siteNode,
com.arsdigita.kernel.PackageInstance pkg)
onMount in interface com.arsdigita.kernel.PackageEventListenersiteNode - The SiteNode where the instance is mounted.pkg - The instance being mounted.
public void onUnmount(com.arsdigita.kernel.SiteNode siteNode,
com.arsdigita.kernel.PackageInstance pkg)
onUnmount in interface com.arsdigita.kernel.PackageEventListenersiteNode - The SiteNode where the instance is mounted.pkg - The instance being unmounted.public void onCreate(com.arsdigita.kernel.PackageInstance pkg)
onCreate in interface com.arsdigita.kernel.PackageEventListenerpkg - a PackageInstance valuepublic void onDelete(com.arsdigita.kernel.PackageInstance pkg)
onDelete method here.
onDelete in interface com.arsdigita.kernel.PackageEventListenerpkg - a PackageInstance value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||