Package org.alfresco.repo.content
Interface ContentLimitProvider
- All Known Implementing Classes:
ContentLimitProvider.NoLimitProvider,ContentLimitProvider.SimpleFixedLimitProvider
public interface ContentLimitProvider
Implementations 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 ClassesModifier and TypeInterfaceDescriptionstatic classAContentLimitProviderwhich returns a value indicating there is no limit.static classAContentLimitProviderwhich returns a fixed value. -
Field Summary
Fields -
Method Summary
-
Field Details
-
NO_LIMIT
static final long NO_LIMITAlimithaving this value is deemed not to be a limit.- See Also:
-
-
Method Details
-
getSizeLimit
long getSizeLimit()This method returns a size limit in bytes.
-