Example usage for com.liferay.portal.kernel.upload UploadServletRequestConfigurationHelperUtil getMaxSize

List of usage examples for com.liferay.portal.kernel.upload UploadServletRequestConfigurationHelperUtil getMaxSize

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.upload UploadServletRequestConfigurationHelperUtil getMaxSize.

Prototype

public static long getMaxSize() 

Source Link

Usage

From source file:com.liferay.item.selector.criteria.upload.criterion.UploadItemSelectorCriterion.java

License:Open Source License

/**
 * @deprecated As of 2.1.0, replaced by {@link
 *             #UploadItemSelectorCriterion(String, String, String)}
 *//*from w w  w .  j  a  v a 2  s . c  o m*/
@Deprecated
public UploadItemSelectorCriterion(String url, String repositoryName) {
    this(null, url, repositoryName, UploadServletRequestConfigurationHelperUtil.getMaxSize());
}

From source file:com.liferay.item.selector.criteria.upload.criterion.UploadItemSelectorCriterion.java

License:Open Source License

public UploadItemSelectorCriterion(String portletId, String url, String repositoryName) {

    this(portletId, url, repositoryName, UploadServletRequestConfigurationHelperUtil.getMaxSize());
}

From source file:com.liferay.item.selector.taglib.servlet.taglib.RepositoryEntryBrowserTag.java

License:Open Source License

@Override
protected void cleanUp() {
    super.cleanUp();

    _desiredItemSelectorReturnTypes = null;
    _emptyResultsMessage = null;// w w  w . j  av  a2  s. c  om
    _displayStyle = null;
    _dlMimeTypeDisplayContext = null;
    _extensions = new ArrayList<>();
    _itemSelectedEventName = null;
    _maxFileSize = UploadServletRequestConfigurationHelperUtil.getMaxSize();
    _portletURL = null;
    _repositoryEntries = new ArrayList<>();
    _repositoryEntriesCount = 0;
    _showBreadcrumb = false;
    _showDragAndDropZone = true;
    _tabName = null;
    _uploadURL = null;
}