Package com.enonic.xp.schema.content
Class ContentTypeFilter
- java.lang.Object
-
- com.enonic.xp.schema.content.ContentTypeFilter
-
- All Implemented Interfaces:
java.lang.Iterable<ContentTypeName>
@Beta public final class ContentTypeFilter extends java.lang.Object implements java.lang.Iterable<ContentTypeName>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentTypeFilter.AccessType
static class
ContentTypeFilter.Builder
-
Constructor Summary
Constructors Constructor Description ContentTypeFilter(ContentTypeFilter.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentTypeFilter.Builder
create()
boolean
equals(java.lang.Object o)
ContentTypeFilter.AccessType
getDefaultAccess()
int
hashCode()
boolean
isContentTypeAllowed(ContentTypeName contentType)
java.util.Iterator<ContentTypeName>
iterator()
-
-
-
Constructor Detail
-
ContentTypeFilter
public ContentTypeFilter(ContentTypeFilter.Builder builder)
-
-
Method Detail
-
getDefaultAccess
public ContentTypeFilter.AccessType getDefaultAccess()
-
isContentTypeAllowed
public boolean isContentTypeAllowed(ContentTypeName contentType)
-
iterator
public java.util.Iterator<ContentTypeName> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<ContentTypeName>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
create
public static ContentTypeFilter.Builder create()
-
-