public final class ProcessDataTypeRequest extends Authentication
When processing a DataType, it can be to either create a new or update an existing. By default, 2 DataTypes exist, which cannot be modified.
To create or update a custom DataType, the name of the DataType is needed together with the type itself. Generally, the name is a shorthand description of name of the actual Type, as the type may be a anything from a simple MIME Type to a rule to extract the content of a stored Object.
For more details, please see the 'processDataType' request in the Management
interface: Share.processDataType(ProcessDataTypeRequest)
Constructor and Description |
---|
ProcessDataTypeRequest() |
Modifier and Type | Method and Description |
---|---|
Action |
getAction() |
String |
getType() |
String |
getTypeName() |
void |
setAction(Action action) |
void |
setType(String type) |
void |
setTypeName(String typeName) |
Map<String,String> |
validate()
Simple Validation method, which checks if the required values are usable
or not.
|
getAccountName, getCredential, getCredentialType, setAccountName, setCredential, setCredentialType
checkIntegerWithMax, checkNotNull, checkNotNullAndValidId, checkNotNullEmptyOrTooLong, checkNotNullOrEmpty, checkNotNullOrEmpty, checkNotTooLong, checkValidId
public void setAction(Action action)
public Action getAction()
public void setTypeName(String typeName)
public String getTypeName()
public void setType(String type)
public String getType()
public Map<String,String> validate()
validate
in class Authentication
Copyright © 2018 JavaDog.io. All rights reserved.