nl.gx.webmanager.wcb.metadatatype.impl
Class PageMetaDataComponentTypeImpl

java.lang.Object
  extended by nl.gx.webmanager.wcb.foundation.ComponentBase
      extended by nl.gx.webmanager.wcb.foundation.ComponentTypeBase
          extended by nl.gx.webmanager.wcb.metadatatype.impl.PageMetaDataComponentTypeImpl
All Implemented Interfaces:
DelegatedControllerAware, Component, ComponentType, PageMetaDataComponentType

public final class PageMetaDataComponentTypeImpl
extends ComponentTypeBase
implements PageMetaDataComponentType

This class provides a componentType implementation for GX Webmanager Meta Data.

Author:
bartk

Field Summary
 
Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentTypeBase
myJcrService, mySiteworksUtil
 
Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
myBundleContext, myComponentBundle, myComponentDefinition
 
Constructor Summary
PageMetaDataComponentTypeImpl()
           
 
Method Summary
 java.lang.String getComponentInterface()
          Return the componentinterface this componenttype provides.
 java.lang.String getComponentTypeInterface()
          Returns the componenttypeinterface this componenttype publishes.
 boolean purgeComponent(ComponentDefinition componentDefinition)
          Deletes the content created by instances of the component type.
 boolean startComponent(Component component)
          Starts an installed component.
 boolean stopComponent(Component arg0)
          Stops an installed component.
 
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentTypeBase
checkComponentDefinition, componentAdded, componentRemoved, createEditLanguageLabels, createOrUpdatePermissions, createOrUpdatePermissions, createOrUpdateRbacCategory, createPermission, createPermission, createPermissions, createPermissions, deleteEditLanguageLabels, deletePermissions, deletePermissions, disableMenuItems, enableMenuItems, getComponent, getComponentCount, getComponentManager, getComponents, getLocaleIdFromResourceName, getPreferencesService, grantsMenuItemAccess, insertIntoMainMenu, installComponent, logError, uninstallComponent, updateComponent, updatePermissionsForPermissionGroups
 
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
dependencyAdded, dependencyRemoved, exportContent, extensionAdded, extensionRemoved, getBundleContext, getClassesFromBundle, getClassForName, getComponentBundle, getComponentDefinition, getDelegatedController, getExtensions, getId, getInstance, getInstanceForName, getPrivateNode, getPrivateNode, getTypeId, getWrapperDefinitions, importContent, internalDoStart, internalDoStop, onDestroy, onInit, onInstall, onPurge, onStart, onStop, onUninstall, onUpdate, purgeContent, setBundleContext, setComponentBundle, setComponentBundle, setComponentDefinition, setComponentManager, setDelegatedController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nl.gx.webmanager.wcb.ComponentType
checkComponentDefinition, getComponent, getComponentCount, getComponents, installComponent, uninstallComponent, updateComponent
 

Constructor Detail

PageMetaDataComponentTypeImpl

public PageMetaDataComponentTypeImpl()
Method Detail

purgeComponent

public boolean purgeComponent(ComponentDefinition componentDefinition)
Deletes the content created by instances of the component type.

Specified by:
purgeComponent in interface ComponentType
Overrides:
purgeComponent in class ComponentTypeBase
Parameters:
componentDefinition - Definition of the component that is to be purged
Returns:
true if the component was successfully purged

startComponent

public boolean startComponent(Component component)
Starts an installed component.

Specified by:
startComponent in interface ComponentType
Specified by:
startComponent in class ComponentTypeBase
Parameters:
component - Component that should be started
Returns:
true if the component was successfully started

stopComponent

public boolean stopComponent(Component arg0)
Stops an installed component.

Specified by:
stopComponent in interface ComponentType
Specified by:
stopComponent in class ComponentTypeBase
Parameters:
arg0 - Component that should be started
Returns:
true if the component was successfully stopped

getComponentInterface

public java.lang.String getComponentInterface()
Return the componentinterface this componenttype provides.

Specified by:
getComponentInterface in interface ComponentType
Returns:
identifier for provided type

getComponentTypeInterface

public java.lang.String getComponentTypeInterface()
Returns the componenttypeinterface this componenttype publishes.

Specified by:
getComponentTypeInterface in interface ComponentType
Returns:
identifier for provided type


Copyright © 2007-2011 GX Software BV. All Rights Reserved.