|
||||||||||
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 Entry
public java.lang.String getDescription()
Entry
getDescription
in interface Entry
public java.lang.String getName()
Entry
getName
in interface Entry
public java.lang.String getOwner()
Entry
getOwner
in interface Entry
public boolean isReadOnly()
Entry
isReadOnly
in interface Entry
public boolean rename(java.lang.String newName) throws RepositoryException
Entry
rename
in interface Entry
RepositoryException
public final RemoteRepository getRepository()
protected static java.util.logging.Logger getLogger()
public RepositoryLocation getLocation()
Entry
RepositorySource
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 Entry
RepositoryException
public boolean move(Folder newParent) throws RepositoryException
Entry
RepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener)
using a sequence of copy and delete.
move
in interface Entry
RepositoryException
public boolean move(Folder newParent, java.lang.String newName) throws RepositoryException
Entry
RepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener)
using a sequence of copy and delete.
move
in interface Entry
newName
- New name for moved entry. If moved entry shouldn't be renamed: newName=null.
RepositoryException
public 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
RepositoryException
public 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 |