org.opencms.ade.galleries.shared
Class CmsGalleryFolderBean

java.lang.Object
  extended by org.opencms.ade.galleries.shared.CmsGalleryFolderBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, I_CmsHasPath, I_CmsHasTitle, I_CmsHasType
Direct Known Subclasses:
CmsGalleryTreeEntry

public class CmsGalleryFolderBean
extends java.lang.Object
implements I_CmsHasTitle, I_CmsHasPath, I_CmsHasType, com.google.gwt.user.client.rpc.IsSerializable

Represents a gallery folder.

Since:
8.0.0

Constructor Summary
CmsGalleryFolderBean()
           
 
Method Summary
 java.util.ArrayList<java.lang.String> getContentTypes()
          Returns the content types which can be used within this gallery type.
 java.lang.String getPath()
          Returns the description.
 java.lang.String getTitle()
          Returns the title.
 java.lang.String getType()
          Returns the gallery type name.
 boolean isEditable()
          Returns the editable flag.
 boolean matchesFilter(java.lang.String filter)
          Returns if the gallery matches the given filter.
 void setContentTypes(java.util.ArrayList<java.lang.String> contentTypes)
          Sets the content types which can be used within this gallery type.
 void setEditable(boolean editable)
          Sets if the user has write permissions to the gallery folder.
 void setPath(java.lang.String path)
          Sets the description.
 void setTitle(java.lang.String title)
          Sets the title.
 void setType(java.lang.String type)
          Sets the gallery type name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsGalleryFolderBean

public CmsGalleryFolderBean()
Method Detail

getContentTypes

public java.util.ArrayList<java.lang.String> getContentTypes()
Returns the content types which can be used within this gallery type.

Returns:
the contentTypes

getPath

public java.lang.String getPath()
Returns the description.

Specified by:
getPath in interface I_CmsHasPath
Returns:
the description

getTitle

public java.lang.String getTitle()
Returns the title.

Specified by:
getTitle in interface I_CmsHasTitle
Returns:
the title

getType

public java.lang.String getType()
Returns the gallery type name.

Specified by:
getType in interface I_CmsHasType
Returns:
the gallery type name

isEditable

public boolean isEditable()
Returns the editable flag. Indicate if the user has write permissions to the gallery folder.

Returns:
the editable flag

matchesFilter

public boolean matchesFilter(java.lang.String filter)
Returns if the gallery matches the given filter.

Parameters:
filter - the filter to match
Returns:
true if the gallery matches the given filter.


setContentTypes

public void setContentTypes(java.util.ArrayList<java.lang.String> contentTypes)
Sets the content types which can be used within this gallery type.

Parameters:
contentTypes - the contentTypes to set

setEditable

public void setEditable(boolean editable)
Sets if the user has write permissions to the gallery folder.

Parameters:
editable - true if the user has write permissions to the gallery folder

setPath

public void setPath(java.lang.String path)
Sets the description.

Parameters:
path - the description to set

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - the title to set

setType

public void setType(java.lang.String type)
Sets the gallery type name.

Parameters:
type - the type name of this gallery