public class UploadKarToRepositoryNoGUI extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
UploadKarToRepositoryNoGUI()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
addDocumentation(ActorMetadata am)
adds the generated documentation (if it exists) to the actor metadata
|
static java.lang.String |
buildAccessDocument(KeplerLSID lsid)
uploads a document as the kepler user with public read permissions
|
static java.lang.String |
buildAccessDocument(KeplerLSID lsid,
boolean publicDoc) |
static java.lang.String |
buildAccessDocument(KeplerLSID lsid,
java.lang.String owner,
boolean publicDoc)
build an access document that gives 'public' read access to the inserted
documents.
|
boolean |
uploadKAR(java.io.File karFile,
java.lang.String sessionId,
boolean isPublic)
uploads KAR to the repository
|
public static final org.apache.commons.logging.Log log
public UploadKarToRepositoryNoGUI()
public boolean uploadKAR(java.io.File karFile, java.lang.String sessionId, boolean isPublic)
public static java.lang.String buildAccessDocument(KeplerLSID lsid)
public static java.lang.String buildAccessDocument(KeplerLSID lsid, boolean publicDoc)
public static java.lang.String buildAccessDocument(KeplerLSID lsid, java.lang.String owner, boolean publicDoc)
public static void addDocumentation(ActorMetadata am) throws java.lang.Exception
java.lang.Exception