public class TypeSelectorPage extends AbstractCmsWizardPage implements CmsComponentSelectorPage, CmsPageSelectorPage
| Modifier and Type | Field and Description |
|---|---|
protected ObjectType |
chosenType |
protected static String |
COCKPIT_ID_CREATE_PAGE_TYPE_PREFIX |
protected static String |
EXCLUDED_TYPES |
protected static String |
RESTRICTED_TYPES |
protected ObjectType |
rootSelectorType |
protected static String |
SCLASS_ELEMENT_BOX |
protected static String |
SCLASS_ELEMENT_DESC |
protected static String |
SCLASS_ELEMENT_IMAGE |
protected static String |
SCLASS_ELEMENT_NAME |
protected static String |
TYPE_SELECTOR_CMSWIZARD_PAGE_SCLASS |
protected static String |
TYPE_SELECTOR_CMSWIZARD_ROW_SCLASS |
protected static String |
TYPE_SELECTOR_CONTAINER_PAGE_SCLASS |
CMSWIZARD_ERROR_CNT_SCLASS, CMSWIZARD_PAGE_CNT_SCLASS, CMSWIZARD_PAGE_CONTENT_CNT_SCLASS, CONTENT_ELEMENT_CONFIG, ERROR_SCLASS_CMSWIZARD_CNT, ERROR_SCLASS_ELEMENT_BOX_EDITOR, errorContainer, pageContainer, pageContent, SCLASS_ELEMENT_BOX_EDITORheight, title, width, wizard| Constructor and Description |
|---|
TypeSelectorPage() |
TypeSelectorPage(String pageTitle,
Wizard wizard) |
clearPageComponents, getDisplayedAttributes, getErrorContainer, getPageContainer, getPageContent, getWizard, handleMessages, isCauseError, setDisplayedAttributesgetAttributes, getComponentURI, getController, getCurrentController, getHeight, getId, getPageComponent, getTitle, getWidth, initView, renderView, setComponentURI, setController, setId, setPageComponent, setTitle, setWizardclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetController, setWizardsetController, setWizardgetWizardgetAttributes, getComponentURI, getController, getHeight, getId, getTitle, getWidth, initViewprotected static final String SCLASS_ELEMENT_BOX
protected static final String SCLASS_ELEMENT_IMAGE
protected static final String SCLASS_ELEMENT_NAME
protected static final String SCLASS_ELEMENT_DESC
protected static final String TYPE_SELECTOR_CONTAINER_PAGE_SCLASS
protected static final String TYPE_SELECTOR_CMSWIZARD_PAGE_SCLASS
protected static final String TYPE_SELECTOR_CMSWIZARD_ROW_SCLASS
protected static final String COCKPIT_ID_CREATE_PAGE_TYPE_PREFIX
protected static final String EXCLUDED_TYPES
protected static final String RESTRICTED_TYPES
protected ObjectType chosenType
protected ObjectType rootSelectorType
public Component createRepresentationItself()
createRepresentationItself in interface CmsWizardPagecreateRepresentationItself in class AbstractCmsWizardPageprotected MutableWizardContext createWizardContext()
protected List<ObjectTemplate> filterTypes(List<ObjectTemplate> types)
ObjectTypeFilter that is set
by setContentSlotObjectTypesFilter(ObjectTypeFilter) injection.protected CMSAdminSiteService getAdminSiteService()
protected List<ObjectType> getAllSubTypes(String typeCode)
public Object getChosenType()
protected TypeService getCockpitTypeService()
protected ContentElementListConfiguration getContentElementConfiguration()
getContentElementConfiguration(ObjectTemplate) instead!protected ContentElementListConfiguration getContentElementConfiguration(ObjectTemplate objectTemplate)
protected ContentSlotNameModel getContentSlotName(PageTemplateModel pageTemplate, String position)
protected CreateItemWizardRegistry getCreateItemWizardRegistry()
protected AbstractPageModel getCurrentPage()
protected List<ObjectTemplate> getInstanceableObjectTypes()
protected List<ObjectTemplate> getInstanceableObjectTypes(ObjectType objectType)
public TypedObject getParentObject()
public PropertyDescriptor getParentPropertyDescriptor()
protected String getPosition()
public ObjectType getRootSelectorType()
protected TypeService getTypeService()
protected UIConfigurationService getUIConfigurationService()
public boolean isDisplaySubtypes()
protected boolean isValidForActiveSite(ObjectType type)
protected Set<ObjectType> mergeGivenTypes(Collection<ObjectType> wizardConfigExcludedTypes, List<String> additionalExcluded)
public void setDisplaySubtypes(boolean displaySubtypes)
setDisplaySubtypes in interface CmsComponentSelectorPagesetDisplaySubtypes in interface CmsPageSelectorPagepublic void setParentObject(TypedObject parentObject)
public void setParentPropertyDescriptor(PropertyDescriptor parentPropertyDescriptor)
public void setPosition(String position)
setPosition in interface CmsComponentSelectorPagepublic void setRootSelectorType(ObjectType rootSelectorType)
setRootSelectorType in interface CmsComponentSelectorPagesetRootSelectorType in interface CmsPageSelectorPagepublic void setAllowCreateTypes(List<String> allowCreateTypes)
allowCreateTypes - the allowCreateTypes to setpublic void setExcludeCreateTypes(List<String> excludeCreateTypes)
excludeCreateTypes - the excludeCreateTypes to setpublic void setContentSlotObjectTypesFilter(ObjectTypeFilter<ObjectTemplate,ContentSlotNameModel> contentSlotObjectTypesFilter)
contentSlotObjectTypesFilter - the contentSlotObjectTypesFilter to setCopyright © 2017 SAP SE. All Rights Reserved.