org.opencms.ade.containerpage.shared
Class CmsCreateElementData

java.lang.Object
  extended by 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
CmsCreateElementData()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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