com.arsdigita.populate.apps
Class PopulateApps

java.lang.Object
  extended bycom.arsdigita.populate.apps.PopulateApps

public class PopulateApps
extends Object

Author:
bche

Constructor Summary
PopulateApps(PopulateAppPairCollection popAppPairs)
          Constructor.
 
Method Summary
 String getBaseStringSeed()
           
 List populate(int iNumApps)
          Convenience method that creates and populates application instances as root apps
 List populate(int iNumApps, Application parent)
          creates and populates application instances
 List populate(int iNumApps, Application appParent, Portal portal)
          Populates a Portal.
 List populate(int iNumApps, Portal parent)
          Populates a Portal.
 void setBaseStringSeed(String sSeed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopulateApps

public PopulateApps(PopulateAppPairCollection popAppPairs)
Constructor. returns a new PopulateApps, which populates a collection of applications

Parameters:
popAppPairs - popAppPairs collection for population
Method Detail

setBaseStringSeed

public void setBaseStringSeed(String sSeed)

getBaseStringSeed

public String getBaseStringSeed()

populate

public List populate(int iNumApps,
                     Application appParent,
                     Portal portal)
Populates a Portal. Also adds appropriate portlets from the created applications to the portal

Parameters:
iNumApps - number of app instances to create
appParent - the parent application of the apps created
portal - the portal to populate
Returns:
a List of BigDecimals which are the ID'sof the apps created during this method

populate

public List populate(int iNumApps,
                     Application parent)
creates and populates application instances

Parameters:
iNumApps - the number of application instances to create for each application in this object's popAppPairs collection
parent - the parent app under which to create the new app instances, or null if there is no parent
Returns:
a List of BigDecimals, which are the ID's of the applications created during this method

populate

public List populate(int iNumApps,
                     Portal parent)
Populates a Portal. Also adds appropriate portlets from the created applications to the portal

Parameters:
iNumApps - number of app instances to create
parent - the portal to populate
Returns:
a List of BigDecimals which are the ID'sof the apps created during this method

populate

public List populate(int iNumApps)
Convenience method that creates and populates application instances as root apps

Parameters:
iNumApps - the number of application instances to create for each application in this object's popAppPairs collection
Returns:
a List of BigDecimals, which are the ID's of the applications created during this method


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC