public static class ContentLimitProvider.SimpleFixedLimitProvider extends Object implements ContentLimitProvider
ContentLimitProvider which returns a fixed value.ContentLimitProvider.NoLimitProvider, ContentLimitProvider.SimpleFixedLimitProviderNO_LIMIT| Constructor and Description |
|---|
SimpleFixedLimitProvider() |
SimpleFixedLimitProvider(long limit) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSizeLimit()
This method returns a size limit in bytes.
|
void |
setSizeLimitString(String limit)
This method sets a value for the limit.
|
public SimpleFixedLimitProvider()
public SimpleFixedLimitProvider(long limit)
public void setSizeLimitString(String limit)
parse to a
java long, the default value will be applied instead.limit - a String representing a valid Java long.public long getSizeLimit()
ContentLimitProvidergetSizeLimit in interface ContentLimitProviderCopyright © 2005–2018 Alfresco Software. All rights reserved.