org.opencms.ade.galleries
Class CmsGalleryService.CmsGalleryTypeInfo

java.lang.Object
  extended by org.opencms.ade.galleries.CmsGalleryService.CmsGalleryTypeInfo
Enclosing class:
CmsGalleryService

protected class CmsGalleryService.CmsGalleryTypeInfo
extends java.lang.Object

Gallery info object.


Constructor Summary
protected CmsGalleryService.CmsGalleryTypeInfo(I_CmsResourceType resourceType, I_CmsResourceType contentType, java.util.List<CmsResource> galleries)
          Constructor.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsGalleryService.CmsGalleryTypeInfo

protected CmsGalleryService.CmsGalleryTypeInfo(I_CmsResourceType resourceType,
                                               I_CmsResourceType contentType,
                                               java.util.List<CmsResource> galleries)
Constructor.

Parameters:
resourceType - the resource type of the gallery
contentType - the resource type of the gallery content
galleries - 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