public class LiferayThumbnailCapability
extends Object
implements com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
Constructor and Description |
---|
LiferayThumbnailCapability(RepositoryEntryConverter repositoryEntryConverter,
RepositoryEntryChecker repositoryEntryChecker) |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.repository.model.FileEntry |
fetchImageFileEntry(long imageId) |
long |
getCustom1ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
long |
getCustom2ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
protected com.liferay.document.library.kernel.model.DLFileEntry |
getDLFileEntry(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
protected com.liferay.document.library.kernel.model.DLFileEntry |
getDLFileEntry(long fileEntryId) |
long |
getLargeImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
long |
getSmallImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
com.liferay.portal.kernel.repository.model.FileEntry |
setCustom1ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long imageId) |
com.liferay.portal.kernel.repository.model.FileEntry |
setCustom2ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long imageId) |
com.liferay.portal.kernel.repository.model.FileEntry |
setLargeImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long imageId) |
com.liferay.portal.kernel.repository.model.FileEntry |
setSmallImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
long imageId) |
protected com.liferay.portal.kernel.repository.model.FileEntry |
updateDLFileEntry(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) |
public LiferayThumbnailCapability(RepositoryEntryConverter repositoryEntryConverter, RepositoryEntryChecker repositoryEntryChecker)
public com.liferay.portal.kernel.repository.model.FileEntry fetchImageFileEntry(long imageId)
fetchImageFileEntry
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
public long getCustom1ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
getCustom1ImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
public long getCustom2ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
getCustom2ImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
public long getLargeImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
getLargeImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
public long getSmallImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
getSmallImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
public com.liferay.portal.kernel.repository.model.FileEntry setCustom1ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, long imageId) throws com.liferay.portal.kernel.exception.PortalException
setCustom1ImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry setCustom2ImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, long imageId) throws com.liferay.portal.kernel.exception.PortalException
setCustom2ImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry setLargeImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, long imageId) throws com.liferay.portal.kernel.exception.PortalException
setLargeImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry setSmallImageId(com.liferay.portal.kernel.repository.model.FileEntry fileEntry, long imageId) throws com.liferay.portal.kernel.exception.PortalException
setSmallImageId
in interface com.liferay.portal.kernel.repository.capabilities.ThumbnailCapability
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.document.library.kernel.model.DLFileEntry getDLFileEntry(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
protected com.liferay.document.library.kernel.model.DLFileEntry getDLFileEntry(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.repository.model.FileEntry updateDLFileEntry(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry)