org.ops4j.pax.wicket.samples.departmentstore.view.franchisee.internal
Class FranchiseeContentSource

java.lang.Object
  extended by org.ops4j.pax.wicket.util.AbstractContentSource<FranchiseePanel>
      extended by org.ops4j.pax.wicket.samples.departmentstore.view.franchisee.internal.FranchiseeContentSource
All Implemented Interfaces:
ContentSource<FranchiseePanel>, org.osgi.service.cm.ManagedService

public class FranchiseeContentSource
extends AbstractContentSource<FranchiseePanel>

FranchiseeContentSource

Since:
1.0.0
Author:
Niclas Hedhman, Edward Yakop

Field Summary
 
Fields inherited from interface org.ops4j.pax.wicket.api.ContentSource
AGGREGATION_POINT, APPLICATION_NAME, BASIC_ROLES, DESTINATION_UNKNOWN, DESTINATIONS, HOMEPAGE_CLASSNAME, MOUNTPOINT, PAGE_ID, PAGE_NAME, REQUIRED_ROLES, SOURCE_ID
 
Constructor Summary
FranchiseeContentSource(org.osgi.framework.BundleContext context, Franchisee franchisee, java.lang.String applicationName)
           
 
Method Summary
protected  FranchiseePanel createWicketComponent(java.lang.String wicketId)
          Create component with the specified wicketId.
 
Methods inherited from class org.ops4j.pax.wicket.util.AbstractContentSource
createSourceComponent, createSourceComponent, createWicketComponent, getApplicationName, getAuthentication, getBasicRoles, getDestinations, getRequiredRoles, getSourceId, onAuthorizationFailed, register, setApplicationName, setDestination, setRoles, updated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FranchiseeContentSource

public FranchiseeContentSource(org.osgi.framework.BundleContext context,
                               Franchisee franchisee,
                               java.lang.String applicationName)
Method Detail

createWicketComponent

protected FranchiseePanel createWicketComponent(java.lang.String wicketId)
                                         throws java.lang.IllegalArgumentException
Description copied from class: AbstractContentSource
Create component with the specified wicketId.

General convention:

Specified by:
createWicketComponent in class AbstractContentSource<FranchiseePanel>
Parameters:
wicketId - The WicketId. This argument must not be null.
Returns:
The wicket component with the specified wicketId.
Throws:
java.lang.IllegalArgumentException - Thrown if the either or both arguments are null.


Copyright © 2008. All Rights Reserved.