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()
TransferTarget
getNodeRef
in interface TransferTarget
public void setName(String name)
public String getName()
TransferTarget
getName
in interface TransferTarget
public void setTitle(String title)
TransferTarget
setTitle
in interface TransferTarget
title
- Stringpublic String getTitle()
TransferTarget
getTitle
in interface TransferTarget
public void setDescription(String description)
TransferTarget
setDescription
in interface TransferTarget
description
- Stringpublic String getDescription()
TransferTarget
getDescription
in interface TransferTarget
public void setEndpointProtocol(String endpointProtocol)
TransferTarget
setEndpointProtocol
in interface TransferTarget
endpointProtocol
- Stringpublic String getEndpointProtocol()
TransferTarget
getEndpointProtocol
in interface TransferTarget
public void setEndpointHost(String endpointHost)
TransferTarget
setEndpointHost
in interface TransferTarget
endpointHost
- Stringpublic String getEndpointHost()
TransferTarget
getEndpointHost
in interface TransferTarget
public void setPassword(char[] password)
TransferTarget
setPassword
in interface TransferTarget
password
- clear text password.public char[] getPassword()
TransferTarget
getPassword
in interface TransferTarget
public void setUsername(String username)
TransferTarget
setUsername
in interface TransferTarget
username
- Stringpublic String getUsername()
TransferTarget
getUsername
in interface TransferTarget
public void setEndpointPath(String endpointPath)
TransferTarget
setEndpointPath
in interface TransferTarget
public String getEndpointPath()
TransferTarget
getEndpointPath
in interface TransferTarget
public void setEndpointPort(int endpointPort)
TransferTarget
setEndpointPort
in interface TransferTarget
endpointPort
- intpublic int getEndpointPort()
TransferTarget
getEndpointPort
in interface TransferTarget
public boolean equals(Object obj)
equals
in class Object
getNodeRef()
,
NodeRef.equals(Object)
public int hashCode()
hashCode
in class Object
getNodeRef()
,
NodeRef.hashCode()
public void setEnabled(boolean enabled)
TransferTarget
setEnabled
in interface TransferTarget
public boolean isEnabled()
TransferTarget
isEnabled
in interface TransferTarget
Copyright © 2005–2017 Alfresco Software. All rights reserved.