com.arsdigita.portalserver
Class SubPortalTab

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.kernel.Resource
                  extended bycom.arsdigita.portal.Portal
                      extended bycom.arsdigita.portalserver.PortalTab
                          extended bycom.arsdigita.portalserver.SubPortalTab

public class SubPortalTab
extends PortalTab

A PortalTab is a tool organizing content in a Portal. A PortalTab includes logic for sorting and displaying portlets in a specific layout manner. This Class extends PortalTab and is aware of a another PortalTab on the system that it relies on for part of its Portlets. It also overrides the getPortlets() method, and the PortletCollection returned is a union of its native Portlets plus the Portlets that reside in locked tiles in the associated PortalTab.

Author:
Jim Parsons

Field Summary
static String BASE_DATA_OBJECT_TYPE
          The type of the DataObject that stands behind this DomainObject.
 
Fields inherited from class com.arsdigita.portal.Portal
versionId
 
Fields inherited from class com.arsdigita.kernel.Resource
CHILD_RESOURCE, DESCRIPTION, PARENT_RESOURCE, RESOURCE_TYPE, TIMESTAMP, TITLE
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
SubPortalTab(com.arsdigita.persistence.DataObject dataObject)
           
 
Method Summary
static SubPortalTab createSubTab(String title)
           
static SubPortalTab createSubTab(String title, com.arsdigita.kernel.Resource parent)
           
protected  String getBaseDataObjectType()
           
 com.arsdigita.portal.PortletCollection getPortlets()
           
 PortalTab getSuperPortalTab()
           
 void setSuperPortalTab(PortalTab ptab)
           
 
Methods inherited from class com.arsdigita.portalserver.PortalTab
afterSave, beforeSave, createTab, createTab, doesTabExist, getLayout, getPortalSite, getSortKey, getTabsForPortalSite, getTitle, retrieveAllTabs, retrieveTab, retrieveTab, retrieveTab, setLayout, setPortalSite, setSortKey, setTitle
 
Methods inherited from class com.arsdigita.portal.Portal
addPortlet, clearPortlets, create, create, createTemplate, getPortletsForCell, isTemplate, movePortletToHead, movePortletToTail, retrieve, retrieve, retrieve, retrieveAll, setTemplate, swapPortletWithNext, swapPortletWithPrevious
 
Methods inherited from class com.arsdigita.kernel.Resource
createResource, createResource, getChildResources, getContainer, getContainingResource, getDescription, getDisplayName, getParentResource, getResourceType, getTimestamp, isContainerModified, retrieveAllResources, retrieveResource, retrieveResource, retrieveResource, setDescription, setParentResource, setResourceType
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getDefaultDomainClass, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
The type of the DataObject that stands behind this DomainObject.

See Also:
Constant Field Values
Constructor Detail

SubPortalTab

public SubPortalTab(com.arsdigita.persistence.DataObject dataObject)
Method Detail

getBaseDataObjectType

protected String getBaseDataObjectType()
Overrides:
getBaseDataObjectType in class PortalTab

createSubTab

public static SubPortalTab createSubTab(String title,
                                        com.arsdigita.kernel.Resource parent)

createSubTab

public static SubPortalTab createSubTab(String title)

getPortlets

public com.arsdigita.portal.PortletCollection getPortlets()

setSuperPortalTab

public void setSuperPortalTab(PortalTab ptab)

getSuperPortalTab

public PortalTab getSuperPortalTab()


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