This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="Table"> | |
<div class="Table-row Table-header"> | |
<div class="Table-row-item">Header1</div> | |
<div class="Table-row-item">Header2</div> | |
<div class="Table-row-item">Header3</div> | |
<div class="Table-row-item">Header4</div> | |
</div> | |
<div class="Table-row"> | |
<div class="Table-row-item" data-header="Header1">row1 col1</div> | |
<div class="Table-row-item" data-header="Header2">row1 col2</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<multiselect | |
:id="selectOptions.id" | |
:options="options" | |
:value="value" | |
:multiple="selectOptions.multiple" | |
:track-by="selectOptions.trackBy || null" | |
:label="selectOptions.label || null" | |
:searchable="selectOptions.searchable" | |
:clear-on-select="selectOptions.clearOnSelect" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery | |
import com.liferay.portal.kernel.exception.PortalException | |
import com.liferay.portal.kernel.exception.SystemException | |
import com.liferay.portal.util.PropsValues | |
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil | |
import com.liferay.portal.kernel.dao.orm.DynamicQuery | |
import com.liferay.portal.kernel.dao.orm.Conjunction | |
import com.liferay.portlet.journal.service.persistence.JournalArticleResourceActionableDynamicQuery | |
import com.liferay.portlet.journal.service.JournalArticleServiceUtil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.liferay.portal.service.ServiceContext | |
import com.liferay.portlet.journal.service.JournalArticleServiceUtil | |
import com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceUtil | |
import java.util.List | |
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery | |
import com.liferay.portal.kernel.exception.PortalException | |
import com.liferay.portal.kernel.exception.SystemException | |
import com.liferay.portal.util.PropsValues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Delete files that have no dlfileversion record... | |
// Use this query to find them...: | |
// select fileEntryId from dlfileentry where fileEntryId NOT IN | |
// (select dlfe.fileEntryId from dlfileentry dlfe, dlfileversion dlfv where dlfe.fileEntryId=dlfv.fileEntryId and dlfv.version=dlfe.version); | |
import com.liferay.portal.model.User; | |
import com.liferay.portal.service.UserLocalServiceUtil; | |
import java.util.List; | |
import com.liferay.portal.kernel.repository.model.FileEntry; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery | |
import com.liferay.portal.kernel.exception.PortalException | |
import com.liferay.portal.kernel.exception.SystemException | |
import com.liferay.portal.util.PropsValues | |
import com.liferay.portlet.documentlibrary.model.DLFileEntry | |
import com.liferay.portlet.documentlibrary.model.DLFileVersion | |
import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil | |
import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalServiceUtil | |
import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryActionableDynamicQuery | |
import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionActionableDynamicQuery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Find and delete old versions of docs per site... | |
import com.liferay.portal.model.User; | |
import com.liferay.portal.service.UserLocalServiceUtil; | |
import java.util.List; | |
import com.liferay.portal.kernel.repository.model.FileEntry; | |
import com.liferay.portal.kernel.repository.model.FileVersion; | |
import com.liferay.portal.kernel.repository.model.Folder; | |
import com.liferay.portlet.documentlibrary.service.DLAppServiceUtil; |