Package org.opencms.gwt.shared
Class CmsListElementCreationOption
- java.lang.Object
-
- org.opencms.gwt.shared.CmsListElementCreationOption
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsListElementCreationOption extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Represents a single option (type) that can be selected in the list element creation dialog.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsListElementCreationOption()
Hidden default constructor.CmsListElementCreationOption(java.lang.String type, CmsListInfoBean info, java.lang.String newLink)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsListInfoBean
getInfo()
Gets the list info bean representing the type.java.lang.String
getNewLink()
Gets the string used by the content editor to create the new resource.java.lang.String
getType()
Gets the resource type name.
-
-
-
Constructor Detail
-
CmsListElementCreationOption
public CmsListElementCreationOption(java.lang.String type, CmsListInfoBean info, java.lang.String newLink)
Creates a new instance.- Parameters:
type
- the type nameinfo
- the list info bean describing the typenewLink
- the string used by the content editor to create the new resource
-
CmsListElementCreationOption
protected CmsListElementCreationOption()
Hidden default constructor.
-
-
Method Detail
-
getInfo
public CmsListInfoBean getInfo()
Gets the list info bean representing the type.- Returns:
- the list info bean for the type
-
getNewLink
public java.lang.String getNewLink()
Gets the string used by the content editor to create the new resource.- Returns:
- the string used by the content editor to create the new resource
-
getType
public java.lang.String getType()
Gets the resource type name.- Returns:
- the type name
-
-