public class TransferTargetImpl extends Object implements TransferTarget
| Constructor and Description |
|---|
TransferTargetImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Get the description for this transfer target
|
String |
getEndpointHost()
Get the endpoint host
|
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
|
int |
getEndpointPort()
Get the endpoint port
|
String |
getEndpointProtocol()
HTTP OR HTTPS
|
String |
getName()
Get the name of this transfer target
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
read only - get the node reference of the underlying transfer target node.
|
char[] |
getPassword()
Get the cleartext password
|
String |
getTitle()
Get the title of this transfer target
|
String |
getUsername()
The username used to authenticate with the transfer target
|
int |
hashCode() |
boolean |
isEnabled()
is this transfer target enabled or disabled?
|
void |
setDescription(String description)
Set the decription for this transfer target
|
void |
setEnabled(boolean enabled)
enable this transfer target
|
void |
setEndpointHost(String endpointHost)
Set the endpoint host
|
void |
setEndpointPath(String endpointPath)
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
|
void |
setEndpointPort(int endpointPort)
Set the endpoint port
|
void |
setEndpointProtocol(String endpointProtocol)
Set the endpoint protocol.
|
void |
setName(String name) |
void |
setNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
void |
setPassword(char[] password)
Set the password for this transfer target
|
void |
setTitle(String title)
Set the title for this transfer target
|
void |
setUsername(String username)
The username used to authenticate with the transfer target
|
String |
toString() |
public void setNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
TransferTargetgetNodeRef in interface TransferTargetpublic void setName(String name)
public String getName()
TransferTargetgetName in interface TransferTargetpublic void setTitle(String title)
TransferTargetsetTitle in interface TransferTargettitle - Stringpublic String getTitle()
TransferTargetgetTitle in interface TransferTargetpublic void setDescription(String description)
TransferTargetsetDescription in interface TransferTargetdescription - Stringpublic String getDescription()
TransferTargetgetDescription in interface TransferTargetpublic void setEndpointProtocol(String endpointProtocol)
TransferTargetsetEndpointProtocol in interface TransferTargetendpointProtocol - Stringpublic String getEndpointProtocol()
TransferTargetgetEndpointProtocol in interface TransferTargetpublic void setEndpointHost(String endpointHost)
TransferTargetsetEndpointHost in interface TransferTargetendpointHost - Stringpublic String getEndpointHost()
TransferTargetgetEndpointHost in interface TransferTargetpublic void setPassword(char[] password)
TransferTargetsetPassword in interface TransferTargetpassword - clear text password.public char[] getPassword()
TransferTargetgetPassword in interface TransferTargetpublic void setUsername(String username)
TransferTargetsetUsername in interface TransferTargetusername - Stringpublic String getUsername()
TransferTargetgetUsername in interface TransferTargetpublic void setEndpointPath(String endpointPath)
TransferTargetsetEndpointPath in interface TransferTargetpublic String getEndpointPath()
TransferTargetgetEndpointPath in interface TransferTargetpublic void setEndpointPort(int endpointPort)
TransferTargetsetEndpointPort in interface TransferTargetendpointPort - intpublic int getEndpointPort()
TransferTargetgetEndpointPort in interface TransferTargetpublic boolean equals(Object obj)
equals in class ObjectgetNodeRef(),
NodeRef.equals(Object)public int hashCode()
hashCode in class ObjectgetNodeRef(),
NodeRef.hashCode()public void setEnabled(boolean enabled)
TransferTargetsetEnabled in interface TransferTargetpublic boolean isEnabled()
TransferTargetisEnabled in interface TransferTargetCopyright © 2005–2018 Alfresco Software. All rights reserved.