Class CmsCreateElementData
- java.lang.Object
-
- org.opencms.ade.containerpage.shared.CmsCreateElementData
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsCreateElementData extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Bean containing the needed data when creating a new resource.- Since:
- 8.0.3
-
-
Constructor Summary
Constructors Constructor Description CmsCreateElementData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsContainerElement
getCreatedElement()
Returns the created element.java.util.List<CmsModelResourceInfo>
getModelResources()
Returns the model resources list.boolean
needsModelSelection()
Returns if model selection is needed.void
setCreatedElement(CmsContainerElement createdElement)
Sets the created element.void
setModelResources(java.util.List<CmsModelResourceInfo> modelResources)
Sets the model resources list.
-
-
-
Constructor Detail
-
CmsCreateElementData
public CmsCreateElementData()
-
-
Method Detail
-
getCreatedElement
public CmsContainerElement getCreatedElement()
Returns the created element.- Returns:
- the created element
-
getModelResources
public java.util.List<CmsModelResourceInfo> getModelResources()
Returns the model resources list.- Returns:
- the model resources list
-
needsModelSelection
public boolean needsModelSelection()
Returns if model selection is needed.- Returns:
true
if model selection is needed
-
setCreatedElement
public void setCreatedElement(CmsContainerElement createdElement)
Sets the created element.- Parameters:
createdElement
- the created element to set
-
setModelResources
public void setModelResources(java.util.List<CmsModelResourceInfo> modelResources)
Sets the model resources list.- Parameters:
modelResources
- the model resources list to set
-
-