public class Model extends AnaplanApiClientObject
Modifier and Type | Method and Description |
---|---|
ServerFile |
createServerFileImportDataSource(java.lang.String name,
java.lang.String origin)
Create a new file-backed import data source.
|
byte[] |
doRefresh(byte[] request)
Runs a refresh operation with the specified request.
|
Action |
getAction(java.lang.String identifier)
Retrieve a specific action.
|
java.util.List<Action> |
getActions()
Retrieve a list of available actions.
|
Export |
getExport(java.lang.String identifier)
Retrieve a specific export.
|
java.util.List<Export> |
getExports()
Retrieve the list of available exports.
|
java.lang.String |
getId()
Get the identifier of the model.
|
Import |
getImport(java.lang.String identifier)
Retrieve a specific import.
|
java.util.List<Import> |
getImports()
Retrieve the list of available imports.
|
Module |
getModule(java.lang.String identifier)
Retrieve a specific module.
|
java.util.List<Module> |
getModules()
Retrieve the list of available modules.
|
java.lang.String |
getName()
Get the name of the model.
|
Process |
getProcess(java.lang.String identifier)
Retrieve a specific process.
|
java.util.List<Process> |
getProcesses()
Retrieve a list of available processes.
|
ServerFile |
getServerFile(java.lang.String identifier)
Retrieve a specific server file.
|
java.util.List<ServerFile> |
getServerFiles()
Retrieve the list of available server files.
|
public java.lang.String getId()
public java.lang.String getName()
public java.util.List<Module> getModules() throws AnaplanAPIException
AnaplanAPIException
public Module getModule(java.lang.String identifier) throws AnaplanAPIException
identifier
- The name, code or id for the moduleAnaplanAPIException
public java.util.List<ServerFile> getServerFiles() throws AnaplanAPIException
AnaplanAPIException
public ServerFile getServerFile(java.lang.String identifier) throws AnaplanAPIException
identifier
- The name, code or id for the server fileAnaplanAPIException
public ServerFile createServerFileImportDataSource(java.lang.String name, java.lang.String origin) throws AnaplanAPIException
name
- The name of the new data sourceorigin
- An origin string to help users identify the system that
created the data. This may be null.AnaplanAPIException
public java.util.List<Import> getImports() throws AnaplanAPIException
AnaplanAPIException
public Import getImport(java.lang.String identifier) throws AnaplanAPIException
identifier
- The name, code or id for the importAnaplanAPIException
public java.util.List<Export> getExports() throws AnaplanAPIException
AnaplanAPIException
public Export getExport(java.lang.String identifier) throws AnaplanAPIException
identifier
- The name, code or id for the exportAnaplanAPIException
public java.util.List<Action> getActions() throws AnaplanAPIException
AnaplanAPIException
public Action getAction(java.lang.String identifier) throws AnaplanAPIException
identifier
- The name, code or id for the actionAnaplanAPIException
public java.util.List<Process> getProcesses() throws AnaplanAPIException
AnaplanAPIException
public Process getProcess(java.lang.String identifier) throws AnaplanAPIException
identifier
- The name, code or id for the processAnaplanAPIException
public byte[] doRefresh(byte[] request) throws AnaplanAPIException
request
- The serialized request. The structure of this is not specified
here.AnaplanAPIException