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