Package org.alfresco.repo.content
Interface ContentLimitProvider
-
- All Known Implementing Classes:
ContentLimitProvider.NoLimitProvider,ContentLimitProvider.SimpleFixedLimitProvider
public interface ContentLimitProviderImplementations of this interface must provide a byte size limit for pieces of Alfresco content. Simple implementations of this interface include:ContentLimitProvider.NoLimitProviderwhich provides a value indicating no limit.ContentLimitProvider.SimpleFixedLimitProviderwhich provides a fixed numerical limit value.
- Since:
- Thor
- Author:
- Neil Mc Erlean
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContentLimitProvider.NoLimitProviderAContentLimitProviderwhich returns a value indicating there is no limit.static classContentLimitProvider.SimpleFixedLimitProviderAContentLimitProviderwhich returns a fixed value.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetSizeLimit()This method returns a size limit in bytes.
-
-
-
Field Detail
-
NO_LIMIT
static final long NO_LIMIT
Alimithaving this value is deemed not to be a limit.- See Also:
- Constant Field Values
-
-