Package org.opencms.ade.galleries
Class CmsGalleryService.CmsGalleryTypeInfo
java.lang.Object
org.opencms.ade.galleries.CmsGalleryService.CmsGalleryTypeInfo
- Enclosing class:
CmsGalleryService
Gallery info object.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCmsGalleryTypeInfo(I_CmsResourceType resourceType, I_CmsResourceType contentType, List<CmsResource> galleries) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds a type to the list of content types.protected List<I_CmsResourceType> Returns the contentTypes.protected List<CmsResource> Returns the gallery folder resources.protected I_CmsResourceTypeReturns the resourceType.protected voidsetContentTypes(List<I_CmsResourceType> contentTypes) Sets the contentTypes.protected voidsetGalleries(List<CmsResource> galleries) Sets the galleries.protected voidsetResourceType(I_CmsResourceType resourceType) Sets the resourceType.
-
Constructor Details
-
CmsGalleryTypeInfo
protected CmsGalleryTypeInfo(I_CmsResourceType resourceType, I_CmsResourceType contentType, List<CmsResource> galleries) Constructor.- Parameters:
resourceType- the resource type of the gallerycontentType- the resource type of the gallery contentgalleries- the gallery resources
-
-
Method Details
-
addContentType
Adds a type to the list of content types.- Parameters:
type- the type to add
-
getContentTypes
Returns the contentTypes.- Returns:
- the contentTypes
-
getGalleries
Returns the gallery folder resources.- Returns:
- the resources
-
getResourceType
Returns the resourceType.- Returns:
- the resourceType
-
setContentTypes
Sets the contentTypes.- Parameters:
contentTypes- the contentTypes to set
-
setGalleries
Sets the galleries.- Parameters:
galleries- the gallery resource list to set
-
setResourceType
Sets the resourceType.- Parameters:
resourceType- the resourceType to set
-