mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
doc fix
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
DIYLC is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
DIYLC is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with DIYLC. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
DIYLC is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
DIYLC is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with DIYLC. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
package org.diylc.plugins.cloud.model;
|
||||
|
||||
import java.io.File;
|
||||
@@ -91,7 +91,7 @@ public interface IServiceAPI {
|
||||
* Tries to authenticate with the token that was previously created by calling login() function.
|
||||
*
|
||||
* @param username
|
||||
* @param password
|
||||
* @param token
|
||||
* @param machineId
|
||||
* @return "Success" if the login is successful or error message if it failed.
|
||||
*/
|
||||
@@ -102,9 +102,8 @@ public interface IServiceAPI {
|
||||
* Updates password of the current user using token to authenticate.
|
||||
*
|
||||
* @param username
|
||||
* @param token
|
||||
* @param machineId
|
||||
* @param password
|
||||
* @param oldPassword
|
||||
* @param newPassword
|
||||
* @return "Success" if the login is successful or error message if it failed.
|
||||
*/
|
||||
String updatePassword(@ParamName("username") String username, @ParamName("oldPassword") String oldPassword,
|
||||
@@ -149,23 +148,23 @@ public interface IServiceAPI {
|
||||
@ParamName("category") String category, @ParamName("description") String description,
|
||||
@ParamName("diylcVersion") String diylcVersion, @ParamName("keywords") String keywords,
|
||||
@ParamName("thumbnail") File thumbnail, @ParamName("project") File project,
|
||||
@ParamName("projectId") Integer projectId);
|
||||
|
||||
/**
|
||||
* Replaces project files using token to authenticate. The project must belong to the user.
|
||||
*
|
||||
* @param username
|
||||
* @param token
|
||||
* @param machineId
|
||||
* @param diylcVersion
|
||||
* @param thumbnail
|
||||
* @param project
|
||||
* @param projectId
|
||||
* @return "Success" if the upload was successful or error message if it failed.
|
||||
*/
|
||||
String replaceProjectFiles(@ParamName("username") String username, @ParamName("token") String token,
|
||||
@ParamName("machineId") String machineId, @ParamName("diylcVersion") String diylcVersion,
|
||||
@ParamName("thumbnail") File thumbnail, @ParamName("project") File project,
|
||||
@ParamName("projectId") Integer projectId);
|
||||
|
||||
/**
|
||||
* Replaces project files using token to authenticate. The project must belong to the user.
|
||||
*
|
||||
* @param username
|
||||
* @param token
|
||||
* @param machineId
|
||||
* @param diylcVersion
|
||||
* @param thumbnail
|
||||
* @param project
|
||||
* @param projectId
|
||||
* @return "Success" if the upload was successful or error message if it failed.
|
||||
*/
|
||||
String replaceProjectFiles(@ParamName("username") String username, @ParamName("token") String token,
|
||||
@ParamName("machineId") String machineId, @ParamName("diylcVersion") String diylcVersion,
|
||||
@ParamName("thumbnail") File thumbnail, @ParamName("project") File project,
|
||||
@ParamName("projectId") Integer projectId);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user