public interface FCServerIfcExtended extends FCServerIfc
COPYRIGHT, PRODUCT
Modifier and Type | Method and Description |
---|---|
default void |
addTempUser(UserContainer user,
java.lang.String password)
Deprecated.
|
default void |
addUser(UserContainer user,
java.lang.String password)
Deprecated.
|
default void |
addUserSanity(UserContainer user,
java.lang.String password)
Deprecated.
|
default void |
createVirtualDownloadLinksForTheUser(CreateVirtualDownloadLinksForUserContainer container,
java.lang.String password)
Deprecated.
|
default void |
createVirtualDownloadLinksForTheUser(UserContainer user,
java.util.List<AddVirtualFileToUserData> filePaths,
java.lang.String jobID,
LoggerType logger)
Deprecated.
|
default void |
createVirtualLinkForUserOnServer(UserContainer user,
AddVirtualFileToUserData data,
java.lang.String jobID,
LoggerType logger)
Deprecated.
|
default java.net.URI |
getHTMLAdminURL()
Returns the current HTML admin URL when called.
|
java.net.URI |
getHTMLAdminURL(boolean bypassServerConfigs)
Returns the current HTML admin URL when called.
|
UserContainer[] |
listUsers() |
void |
setStatusClientDisabled(boolean statusClientDisabled) |
default java.lang.String |
translateToIP(java.lang.String ip) |
default java.lang.String |
translateToIPLazy(java.lang.String ip) |
default void |
validateUserAdded(UserContainer user)
Deprecated.
|
addTemporaryToken, addTempUser, addTempUser, addTempUser, addUser, addUser, addUserGroup, addVirtualFolder, connect, connect, connectNoStatus, deleteTemporaryToken, deleteUserGroup, deleteVirtualFolder, delUser, delUser, disconnect, enableUserGroup, getAllUsers, getClientSessions, getConfigSource, getDefaultIdleTime, getFoldersLinkedToGroup, getFoldersLinkedToUser, getGroupsLinkedToFolder, getGroupsLinkedToUser, getHostname, getHTTPPort, getLicenseString, getPassword, getPermissionsForGroupAndFolder, getPermissionsForUserAndFolder, getPort, getReceiveRateKbps, getRequestString, getTotalRateKbps, getTransmitRateKbps, getUser, getUserCount, getUserGroup, getUserGroups, getUsername, getUsersLinkedToFolder, getUsersLinkedToGroup, getVirtualFolder, getVirtualFolders, isConnected, isStatusClientDisabled, killAllSessions, killSessionBySessionId, killSessionByUserId, linkGroupAndFolder, linkUserAndFolder, linkUserAndGroup, listUserNames, modifyUser, modifyUserGroup, modifyVirtualFolder, modUserPassword, resetAllOverrides, resynchConfigurationFiles, setDefaultIdleTime, setHostname, setLicenseString, setOverrideBandwidth, setOverridePriority, setPassword, setPort, setUserEnable, setUserName, unlinkGroupAndFolder, unlinkUserAndFolder, unlinkUserAndGroup
UserContainer[] listUsers() throws java.lang.Exception
java.lang.Exception
void setStatusClientDisabled(boolean statusClientDisabled)
@Deprecated default void addTempUser(UserContainer user, java.lang.String password) throws AddUserException, ModifyUserException
user
- UserContainer with all the desired settings for the user. the home directory, user name and password must all have values.password
- the user's passwordAddUserException
- when failing to add a userModifyUserException
- when failing to apply the given settings in the user container to the user@Deprecated default void addUser(UserContainer user, java.lang.String password) throws AddUserException, ModifyUserException
user
- UserContainer with all the desired settings for the user. the home directory, user name and password must all have values.password
- the user's passwordAddUserException
- when failing to add a userModifyUserException
- when failing to apply the given settings in the user container to the user@Deprecated default void validateUserAdded(UserContainer user) throws AddUserException
user
- UserContainer to check if exists on server.AddUserException
- if user does not exist on server@Deprecated default void addUserSanity(UserContainer user, java.lang.String password) throws AddUserException
addUser
and addTempUser
method.
FOR INTERNAL USE ONLY ON LEGACY PRODUCTSuser
- the user you wish to check if it is set properlypassword
- the password you wish to checkAddUserException
- if the user directory, user name or password are null or empty@Deprecated default void createVirtualDownloadLinksForTheUser(UserContainer user, java.util.List<AddVirtualFileToUserData> filePaths, java.lang.String jobID, LoggerType logger) throws AddVirtualFolderException, LinkUserAndFolderException
createVirtualDownloadLinksForTheUser
method.
FOR INTERNAL USE ONLY ON LEGACY PRODUCTSuser
- to create links forfilePaths
- list of data that has the relevant information to create the virtual filesjobID
- a job descriptionlogger
- consumer for log messagesAddVirtualFolderException
- when failing to add the virtual folderLinkUserAndFolderException
- when failing to link the user to the virtual folder@Deprecated default void createVirtualLinkForUserOnServer(UserContainer user, AddVirtualFileToUserData data, java.lang.String jobID, LoggerType logger) throws AddVirtualFolderException, LinkUserAndFolderException
createVirtualDownloadLinksForTheUser
method.
FOR INTERNAL USE ONLY ON LEGACY PRODUCTSuser
- to create links fordata
- data that has the relevant information to create the virtual filejobID
- a job descriptionlogger
- consumer for log messagesAddVirtualFolderException
- when failing to add the virtual folderLinkUserAndFolderException
- when failing to link the user to the virtual folder@Deprecated default void createVirtualDownloadLinksForTheUser(CreateVirtualDownloadLinksForUserContainer container, java.lang.String password) throws AddUserException, ModifyUserException, AddVirtualFolderException, LinkUserAndFolderException
container
- container with all relevant info needed to create virtual files linked to a given userpassword
- the user passwordAddUserException
ModifyUserException
AddVirtualFolderException
LinkUserAndFolderException
default java.net.URI getHTMLAdminURL() throws java.lang.Exception
java.lang.Exception
- Thrown if remote admin is disabled, if web access is disabled, or the web server can't be reached.java.net.URI getHTMLAdminURL(boolean bypassServerConfigs) throws java.lang.Exception
bypassServerConfigs
- - set to true ignores masquerades and bind all interface on the server and returns an URL that can be used to connect to the HTML Adminjava.lang.Exception
- Thrown if remote admin is disabled, if web access is disabled, or the web server can't be reached.default java.lang.String translateToIP(java.lang.String ip)
default java.lang.String translateToIPLazy(java.lang.String ip)
Copyright © 2015 Unlimi-Tech Sofware Inc. All Rights Reserved.