List of usage examples for com.liferay.portal.kernel.trash TrashHandler getContainerModels
public List<ContainerModel> getContainerModels(long classPK, long containerModelId, int start, int end) throws PortalException;
From source file:com.liferay.trash.web.internal.display.context.TrashContainerModelDisplayContext.java
License:Open Source License
public List<ContainerModel> getContainerModels() throws PortalException { if (ListUtil.isNotEmpty(_containerModels)) { return _containerModels; }//from w w w . j a v a 2 s . c o m SearchContainer searchContainer = getSearchContainer(); TrashHandler trashHandler = getTrashHandler(); if ((searchContainer != null) && (trashHandler != null)) { _containerModels = trashHandler.getContainerModels(getClassPK(), getContainerModelId(), searchContainer.getStart(), searchContainer.getEnd()); } return _containerModels; }