Package org.cyclos.entities.system
Class CustomWebService
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.system.CustomWebService
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class CustomWebService extends ConfigurationEntity implements DefinesNetwork
A custom web service which may be invoked by an external application. Only supports running as Guest
-
-
Constructor Summary
Constructors Constructor Description CustomWebService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIpWhitelist()HttpMethodgetMethod()NetworkgetNetwork()Returns the network this entity belongs toStringgetPassword()RunAsgetRunAs()CustomScriptgetScript()StringgetScriptParameters()StringgetUrlMappings()StringgetUsername()InternetAddressListgetWhitelist()booleanisUseIpWhitelist()voidsetMethod(HttpMethod method)voidsetNetwork(Network network)voidsetPassword(String password)voidsetRunAs(RunAs runAs)voidsetScript(CustomScript script)voidsetScriptParameters(String scriptParameters)voidsetUrlMappings(String urlMappings)voidsetUsername(String username)voidsetWhitelist(InternetAddressList whitelist)-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Method Detail
-
getIpWhitelist
public String getIpWhitelist()
-
getMethod
public HttpMethod getMethod()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getPassword
public String getPassword()
-
getRunAs
public RunAs getRunAs()
-
getScript
public CustomScript getScript()
-
getScriptParameters
public String getScriptParameters()
-
getUrlMappings
public String getUrlMappings()
-
getUsername
public String getUsername()
-
getWhitelist
public InternetAddressList getWhitelist()
-
isUseIpWhitelist
public boolean isUseIpWhitelist()
-
setMethod
public void setMethod(HttpMethod method)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setPassword
public void setPassword(String password)
-
setRunAs
public void setRunAs(RunAs runAs)
-
setScript
public void setScript(CustomScript script)
-
setScriptParameters
public void setScriptParameters(String scriptParameters)
-
setUrlMappings
public void setUrlMappings(String urlMappings)
-
setUsername
public void setUsername(String username)
-
setWhitelist
public void setWhitelist(InternetAddressList whitelist)
-
-