Package com.fluig.sdk.service
Interface ContentFilesService
-
- All Superinterfaces:
BaseAPIService
public interface ContentFilesService extends BaseAPIService
Disponibiliza operação para upload de arquivo- Since:
- 1.5
- Author:
- vanei.heidemann
-
-
Field Summary
Fields Modifier and Type Field Description static StringJNDI_NAMEstatic StringJNDI_REMOTE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDeployableArtifactsDirectory()Recupera diretório do artefato a ser implantadovoidupload(String fileName, byte[] fileContent)Executa o upload de um arquivo-
Methods inherited from interface com.fluig.sdk.service.BaseAPIService
expand, generateOrderParam
-
-
-
-
Field Detail
-
JNDI_NAME
static final String JNDI_NAME
- See Also:
- Constant Field Values
-
JNDI_REMOTE_NAME
static final String JNDI_REMOTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
upload
void upload(String fileName, byte[] fileContent) throws com.fluig.sdk.api.common.SDKException
Executa o upload de um arquivo- Parameters:
fileName-fileContent-- Throws:
com.fluig.sdk.api.common.SDKException
-
getDeployableArtifactsDirectory
String getDeployableArtifactsDirectory() throws com.fluig.sdk.api.common.SDKException
Recupera diretório do artefato a ser implantado- Returns:
- String diretorio
- Throws:
com.fluig.sdk.api.common.SDKException
-
-