Package fi.tut.mei.resdescapi.rescatapi
Interface IResCatConfigureServer
-
- All Superinterfaces:
IResCatConfigureLocal
public interface IResCatConfigureServer extends IResCatConfigureLocal
Interface for interacting with a Resource Catalogue Storing location and configuring it. These are methods used to configure the type of a Resource Catalogue Storage requiring server connection.- Author:
- Niko Siltala
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFolderLocationForARDs_URL()
Gets the URL location for ARDs.String
getFolderLocationForRDs_URL()
Gets the URL location for RDs.String
getServerLocation()
Gets the URL of the server location.String
getUsername()
Gets the user name used for this server connection.void
setFolderLocationForARDs_URL(String urlLocationForARDs)
Sets the URL location for ARDs.void
setFolderLocationForRDs_URL(String urlLocationForRDs)
Sets the URL location for RDs.void
setPassword(String password)
Sets the password to be used to connect the server.void
setServerLocation(String urlToServerRoot)
Sets the URL of the server location.void
setUsername(String username)
Sets the user name to be used to connect the server.-
Methods inherited from interface fi.tut.mei.resdescapi.rescatapi.IResCatConfigureLocal
clearRegisters, getFolderLocationForARDs, getFolderLocationForRDs, setFolderLocationForARDs, setFolderLocationForRDs, updateRegister
-
-
-
-
Method Detail
-
getFolderLocationForARDs_URL
String getFolderLocationForARDs_URL()
Gets the URL location for ARDs. Is the absolute URL path.- Returns:
- the URL path to ARDs folder location.
-
setFolderLocationForARDs_URL
void setFolderLocationForARDs_URL(String urlLocationForARDs)
Sets the URL location for ARDs. Can be absolute or relative to the server's root URL location.- Parameters:
urlLocationForARDs
- the URL path to ARDs folder location to be set.
-
getFolderLocationForRDs_URL
String getFolderLocationForRDs_URL()
Gets the URL location for RDs. Is the absolute URL path.- Returns:
- the URL path to RDs folder location.
-
setFolderLocationForRDs_URL
void setFolderLocationForRDs_URL(String urlLocationForRDs)
Sets the URL location for RDs. Can be absolute or relative to the server's root URL location.- Parameters:
urlLocationForRDs
- the URL path to RDs folder location to be set.
-
getServerLocation
String getServerLocation()
Gets the URL of the server location.- Returns:
- URL to server's root location.
-
setServerLocation
void setServerLocation(String urlToServerRoot)
Sets the URL of the server location.- Parameters:
urlToServerRoot
- URL to server's root location to be set.
-
getUsername
String getUsername()
Gets the user name used for this server connection.- Returns:
- user name
-
setUsername
void setUsername(String username)
Sets the user name to be used to connect the server.- Parameters:
username
- user name to be set.
-
setPassword
void setPassword(String password)
Sets the password to be used to connect the server.- Parameters:
password
- Password in open form.
-
-