|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.repository.remote.RemoteEntry
public abstract class RemoteEntry
| Method Summary | |
|---|---|
void |
delete()
Deletes the entry and its contents from the repository. |
protected void |
extractData(EntryResponse response)
Extracts the relevant data for this entry from the server's response. |
java.util.List<AccessRights> |
getAccessRights()
Note: This method contacts the server and may be slow. |
Folder |
getContainingFolder()
Returns the folder containing this entry. |
java.util.Collection<javax.swing.Action> |
getCustomActions()
Returns custom actions to be displayed in this entry's popup menu. |
java.lang.String |
getDescription()
Returns a human readable description. |
RepositoryLocation |
getLocation()
A location, that can be used, e.g. as a parameter in the RepositorySource or which can be used
to locate the entry using RepositoryManager#resolve(String). |
protected static java.util.logging.Logger |
getLogger()
|
java.lang.String |
getName()
Returns the name, the last part of the location. |
java.lang.String |
getOwner()
Returns the user name of the owner. |
RemoteRepository |
getRepository()
|
boolean |
isReadOnly()
Returns true if this entry cannot be written to. |
boolean |
move(Folder newParent)
Needs to be implemented only for folders in the same repository. |
boolean |
move(Folder newParent,
java.lang.String newName)
Needs to be implemented only for folders in the same repository. |
boolean |
rename(java.lang.String newName)
Changes the name of the entry. |
void |
setAccessRights(java.util.List<AccessRights> accessRights)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.repository.Entry |
|---|
getType, willBlock |
| Method Detail |
|---|
protected void extractData(EntryResponse response)
public Folder getContainingFolder()
Entry
getContainingFolder in interface Entrypublic java.lang.String getDescription()
Entry
getDescription in interface Entrypublic java.lang.String getName()
Entry
getName in interface Entrypublic java.lang.String getOwner()
Entry
getOwner in interface Entrypublic boolean isReadOnly()
Entry
isReadOnly in interface Entry
public boolean rename(java.lang.String newName)
throws RepositoryException
Entry
rename in interface EntryRepositoryExceptionpublic final RemoteRepository getRepository()
protected static java.util.logging.Logger getLogger()
public RepositoryLocation getLocation()
EntryRepositorySource or which can be used
to locate the entry using RepositoryManager#resolve(String).
getLocation in interface Entry
public void delete()
throws RepositoryException
Entry
delete in interface EntryRepositoryException
public boolean move(Folder newParent)
throws RepositoryException
EntryRepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener)
using a sequence of copy and delete.
move in interface EntryRepositoryException
public boolean move(Folder newParent,
java.lang.String newName)
throws RepositoryException
EntryRepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener)
using a sequence of copy and delete.
move in interface EntrynewName - New name for moved entry. If moved entry shouldn't be renamed: newName=null.
RepositoryExceptionpublic java.util.Collection<javax.swing.Action> getCustomActions()
Entry
getCustomActions in interface Entry
public java.util.List<AccessRights> getAccessRights()
throws RepositoryException
RepositoryException
public void setAccessRights(java.util.List<AccessRights> accessRights)
throws RepositoryException
RepositoryExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||