Interface TransferTarget
- All Known Implementing Classes:
TransferTargetImpl
public interface TransferTarget
Transfer Target. Definition of a remote target to transfer to, contains details such as its name and address.
- Author:
- Mark Rogers
-
Method Summary
Modifier and TypeMethodDescriptionGet the description for this transfer targetGet the endpoint hostThe location of the transfer service on the target endpoint host Defaults to "/alfresco/service/api/transfer", and this shouldn't typically need to changeintGet the endpoint portHTTP OR HTTPSgetName()Get the name of this transfer targetread only - get the node reference of the underlying transfer target node.char[]Get the cleartext passwordgetTitle()Get the title of this transfer targetThe username used to authenticate with the transfer targetbooleanis this transfer target enabled or disabled?voidsetDescription(String description) Set the decription for this transfer targetvoidsetEnabled(boolean enabled) enable this transfer targetvoidsetEndpointHost(String endpointHost) Set the endpoint hostvoidsetEndpointPath(String path) The location of the transfer service on the target endpoint host Defaults to "/alfresco/service/api/transfer", and this shouldn't typically need to changevoidsetEndpointPort(int endpointPort) Set the endpoint portvoidsetEndpointProtocol(String endpointProtocol) Set the endpoint protocol.voidsetPassword(char[] password) Set the password for this transfer targetvoidSet the title for this transfer targetvoidsetUsername(String userName) The username used to authenticate with the transfer target
-
Method Details
-
getNodeRef
NodeRef getNodeRef()read only - get the node reference of the underlying transfer target node.- Returns:
- NodeRef
-
getName
String getName()Get the name of this transfer target- Returns:
- String
-
getDescription
String getDescription()Get the description for this transfer target- Returns:
- String
-
setDescription
Set the decription for this transfer target- Parameters:
description- String
-
getTitle
String getTitle()Get the title of this transfer target- Returns:
- String
-
setTitle
Set the title for this transfer target- Parameters:
title- String
-
getEndpointHost
String getEndpointHost()Get the endpoint host- Returns:
- String
-
setEndpointHost
Set the endpoint host- Parameters:
endpointHost- String
-
getEndpointPort
int getEndpointPort()Get the endpoint port- Returns:
- int
-
setEndpointPort
void setEndpointPort(int endpointPort) Set the endpoint port- Parameters:
endpointPort- int
-
getEndpointProtocol
String getEndpointProtocol()HTTP OR HTTPS -
setEndpointProtocol
Set the endpoint protocol.- Parameters:
endpointProtocol- String
-
setPassword
void setPassword(char[] password) Set the password for this transfer target- Parameters:
password- clear text password.
-
getUsername
String getUsername()The username used to authenticate with the transfer target- Returns:
- String
-
setUsername
The username used to authenticate with the transfer target- Parameters:
userName- String
-
getPassword
char[] getPassword()Get the cleartext password- Returns:
- char[]
-
getEndpointPath
String getEndpointPath()The location of the transfer service on the target endpoint host Defaults to "/alfresco/service/api/transfer", and this shouldn't typically need to change- Returns:
- String
-
setEndpointPath
The location of the transfer service on the target endpoint host Defaults to "/alfresco/service/api/transfer", and this shouldn't typically need to change -
isEnabled
boolean isEnabled()is this transfer target enabled or disabled? -
setEnabled
void setEnabled(boolean enabled) enable this transfer target
-