Package org.opencms.ade.galleries
Class CmsGalleryService.CmsGalleryTypeInfo
- java.lang.Object
-
- org.opencms.ade.galleries.CmsGalleryService.CmsGalleryTypeInfo
-
- Enclosing class:
- CmsGalleryService
protected class CmsGalleryService.CmsGalleryTypeInfo extends java.lang.Object
Gallery info object.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsGalleryTypeInfo(I_CmsResourceType resourceType, I_CmsResourceType contentType, java.util.List<CmsResource> galleries)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addContentType(I_CmsResourceType type)
Adds a type to the list of content types.protected java.util.List<I_CmsResourceType>
getContentTypes()
Returns the contentTypes.protected java.util.List<CmsResource>
getGalleries()
Returns the gallery folder resources.protected I_CmsResourceType
getResourceType()
Returns the resourceType.protected void
setContentTypes(java.util.List<I_CmsResourceType> contentTypes)
Sets the contentTypes.protected void
setGalleries(java.util.List<CmsResource> galleries)
Sets the galleries.protected void
setResourceType(I_CmsResourceType resourceType)
Sets the resourceType.
-
-
-
Constructor Detail
-
CmsGalleryTypeInfo
protected CmsGalleryTypeInfo(I_CmsResourceType resourceType, I_CmsResourceType contentType, java.util.List<CmsResource> galleries)
Constructor.- Parameters:
resourceType
- the resource type of the gallerycontentType
- the resource type of the gallery contentgalleries
- the gallery resources
-
-
Method Detail
-
addContentType
protected void addContentType(I_CmsResourceType type)
Adds a type to the list of content types.- Parameters:
type
- the type to add
-
getContentTypes
protected java.util.List<I_CmsResourceType> getContentTypes()
Returns the contentTypes.- Returns:
- the contentTypes
-
getGalleries
protected java.util.List<CmsResource> getGalleries()
Returns the gallery folder resources.- Returns:
- the resources
-
getResourceType
protected I_CmsResourceType getResourceType()
Returns the resourceType.- Returns:
- the resourceType
-
setContentTypes
protected void setContentTypes(java.util.List<I_CmsResourceType> contentTypes)
Sets the contentTypes.- Parameters:
contentTypes
- the contentTypes to set
-
setGalleries
protected void setGalleries(java.util.List<CmsResource> galleries)
Sets the galleries.- Parameters:
galleries
- the gallery resource list to set
-
setResourceType
protected void setResourceType(I_CmsResourceType resourceType)
Sets the resourceType.- Parameters:
resourceType
- the resourceType to set
-
-