public class JCRExternalFile extends JCRWorkspaceFolderItem implements org.gcube.common.homelibrary.home.workspace.folder.items.ExternalFile
| Modifier and Type | Field and Description |
|---|---|
protected JCRFile |
file |
protected org.gcube.common.homelibary.model.items.ItemDelegate |
itemDelegate |
CONTENT, FOLDER_ITEM_TYPEdelegate, logger, workspace| Modifier | Constructor and Description |
|---|---|
|
JCRExternalFile(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate) |
|
JCRExternalFile(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate,
org.gcube.common.homelibary.model.items.type.ContentType contentType) |
|
JCRExternalFile(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate delegate,
String name,
String description,
String mimeType,
org.gcube.common.homelibary.model.items.type.ContentType contentType,
File tmpFile) |
protected |
JCRExternalFile(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate delegate,
String name,
String description,
String mimeType,
org.gcube.common.homelibary.model.items.type.ContentType contentType,
InputStream data) |
|
JCRExternalFile(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate,
String name,
String description,
String mimeType,
File tmpFile) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getData() |
org.gcube.common.homelibary.model.items.type.FolderItemType |
getFolderItemType() |
void |
getHardLink(String linkName) |
long |
getLength() |
String |
getMimeType() |
String |
getPublicLink() |
void |
setData(InputStream data) |
void |
updateInfo(JCRServlets servlets,
File tmpFile) |
copyRemoteContent, getChildren, getProperties, getType, removeChild, removeRemoteContent, save, setHardLinkcloneItem, deleteACL, getAbsolutePath, getAccounting, getACLByUser, getACLOwner, getACLUser, getCapabilities, getCreationTime, getDelegate, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getLastUpdatedBy, getName, getOwner, getParent, getParent, getParentDelegate, getPath, getPath, getPublicLink, getPublicLinkForFolderItemId, getReaders, getRemotePath, getShortUrl, getStorageID, getUsers, hasAccessRight, internalCopy, internalDescription, internalMove, internalRename, isFolder, isHidden, isMarkedAsRead, isRoot, isRoot, isShared, isTrashed, markAsRead, move, remove, rename, setDescription, setHidden, setHistoryShareUnshare, setOwnerToCurrentUser, setRemotePath, setShare, setShareHistory, setUnshare, setUnshareHistoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneItem, deleteACL, getAccounting, getACLOwner, getACLUser, getCapabilities, getChildren, getCreationTime, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getLastUpdatedBy, getName, getOwner, getParent, getPath, getProperties, getPublicLink, getReaders, getRemotePath, getStorageID, getType, hasAccessRight, isFolder, isHidden, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, removeChild, rename, setDescription, setHiddenprotected JCRFile file
protected org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate
public JCRExternalFile(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionpublic JCRExternalFile(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate, String name, String description, String mimeType, File tmpFile) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException, IOException, org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionIOExceptionorg.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic JCRExternalFile(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate, org.gcube.common.homelibary.model.items.type.ContentType contentType) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionprotected JCRExternalFile(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate delegate, String name, String description, String mimeType, org.gcube.common.homelibary.model.items.type.ContentType contentType, InputStream data) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException, IOException, org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionIOExceptionorg.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic JCRExternalFile(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate delegate, String name, String description, String mimeType, org.gcube.common.homelibary.model.items.type.ContentType contentType, File tmpFile) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException, IOException, org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionIOExceptionorg.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic String getMimeType()
getMimeType in interface org.gcube.common.homelibrary.home.workspace.folder.FolderItemgetMimeType in interface org.gcube.common.homelibrary.home.workspace.folder.items.FilegetMimeType in class JCRWorkspaceFolderItempublic InputStream getData() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getData in interface org.gcube.common.homelibrary.home.workspace.folder.items.Fileorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic long getLength()
throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getLength in interface org.gcube.common.homelibrary.home.workspace.folder.FolderItemgetLength in interface org.gcube.common.homelibrary.home.workspace.folder.items.FilegetLength in class JCRWorkspaceFolderItemorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibary.model.items.type.FolderItemType getFolderItemType()
getFolderItemType in interface org.gcube.common.homelibrary.home.workspace.folder.FolderItemgetFolderItemType in class JCRWorkspaceFolderItempublic void setData(InputStream data) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
setData in interface org.gcube.common.homelibrary.home.workspace.folder.items.ExternalFileorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic String getPublicLink() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getPublicLink in interface org.gcube.common.homelibrary.home.workspace.folder.items.Fileorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic void getHardLink(String linkName) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getHardLink in interface org.gcube.common.homelibrary.home.workspace.folder.items.Fileorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic void updateInfo(JCRServlets servlets, File tmpFile) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionCopyright © 2016. All Rights Reserved.