public class JCRExternalUrl extends JCRWorkspaceFolderItem implements org.gcube.common.homelibrary.home.workspace.folder.items.ExternalUrl
| Modifier and Type | Field and Description |
|---|---|
protected JCRFile |
content |
CONTENT, FOLDER_ITEM_TYPEdelegate, logger, workspace| Constructor and Description |
|---|
JCRExternalUrl(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate) |
JCRExternalUrl(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate,
String name,
String description,
String url) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.homelibary.model.items.type.FolderItemType |
getFolderItemType() |
long |
getLength() |
String |
getMimeType() |
String |
getUrl() |
org.gcube.common.homelibary.model.items.ItemDelegate |
save()
Save property on node using http connection
|
copyRemoteContent, getChildren, getProperties, getType, removeChild, removeRemoteContent, setHardLinkcloneItem, deleteACL, getAbsolutePath, getAccounting, getACLOwner, getACLUser, getCapabilities, getCreationTime, 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, isMarkedAsRead, isRoot, isRoot, isShared, isTrashed, markAsRead, move, remove, rename, setDescription, 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, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, removeChild, rename, setDescriptionprotected final JCRFile content
public JCRExternalUrl(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate) throws javax.jcr.RepositoryException, org.gcube.common.homelibrary.home.exceptions.InternalErrorException
javax.jcr.RepositoryExceptionorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic JCRExternalUrl(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate, String name, String description, String url) throws javax.jcr.RepositoryException, org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
javax.jcr.RepositoryExceptionorg.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic long getLength()
throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getLength in interface org.gcube.common.homelibrary.home.workspace.folder.FolderItemgetLength in class JCRWorkspaceFolderItemorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic String getUrl() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getUrl in interface org.gcube.common.homelibrary.home.workspace.folder.items.Urlorg.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 String getMimeType() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getMimeType in interface org.gcube.common.homelibrary.home.workspace.folder.FolderItemgetMimeType in class JCRWorkspaceFolderItemorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibary.model.items.ItemDelegate save()
throws javax.jcr.RepositoryException
JCRWorkspaceItemsave in class JCRWorkspaceFolderItemjavax.jcr.RepositoryExceptionCopyright © 2015. All Rights Reserved.