Class TransferedFile
java.lang.Object
com.idmedia.translationstudio.api.connector.dao.TransferedFile
- All Implemented Interfaces:
IRegisteredFile
,ITransferedFile
,ITransferedFileConnectorProject
,ITransferedFileMeta
- Author:
- I-D Media AG
-
Constructor Summary
ConstructorDescriptionTransferedFile
(String sTmsProjectId, String sTmsFileId, long lCmsProjectId, String sSourceLanguage, String sTargetLanguage, String sTmsProjectDisplayName) TransferedFile
(String sTmsProjectId, String sTmsFileId, long lCmsProjectId, String sSourceLanguage, String sTargetLanguage, String sTmsProjectDisplayName, String sTmsProjectFileName, String sCmsPageNames) TransferedFile
(String sTmsProjectId, String sTmsFileId, long lCmsProjectId, String sSourceLanguage, String sTargetLanguage, String sTmsProjectDisplayName, String sTmsProjectFileName, String sCmsPageNames, Date pDeadline) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(String sKey, String sValue) Add a custom propertylong
Get the CMS project idGet the project's deadlineGet File identifierGet the name of the CMS pages that are stored heregetProperty
(String sKey) Get a custom propertySource language codeTarget language codeGet the name of the TMS project which holds this fileGet the name of the TMS project which holds this fileGet the target TMS project
-
Constructor Details
-
TransferedFile
-
TransferedFile
-
TransferedFile
-
-
Method Details
-
getTmsProjectId
Get the target TMS project- Specified by:
getTmsProjectId
in interfaceIRegisteredFile
- Returns:
- Tms Project to lookup a translatable xml file in the TMS
-
getIdentifier
Get File identifier- Specified by:
getIdentifier
in interfaceIRegisteredFile
- Returns:
- Identifier to lookup a translatable xml file in the TMS
-
getSourceLangage
Source language code- Specified by:
getSourceLangage
in interfaceITransferedFileMeta
- Returns:
-
getTargetLangage
Target language code- Specified by:
getTargetLangage
in interfaceITransferedFileMeta
- Returns:
-
getCmsProjectId
public long getCmsProjectId()Get the CMS project id- Specified by:
getCmsProjectId
in interfaceITransferedFileMeta
- Returns:
-
getTmsProjectDisplayName
Get the name of the TMS project which holds this file- Specified by:
getTmsProjectDisplayName
in interfaceITransferedFileConnectorProject
- Returns:
-
getPageNameList
Get the name of the CMS pages that are stored here- Specified by:
getPageNameList
in interfaceITransferedFileConnectorProject
- Returns:
-
getTmsProjectFileName
Get the name of the TMS project which holds this file- Specified by:
getTmsProjectFileName
in interfaceITransferedFileConnectorProject
- Returns:
-
getDeadline
Get the project's deadline- Specified by:
getDeadline
in interfaceITransferedFileConnectorProject
- Returns:
-
addProperty
Add a custom property- Specified by:
addProperty
in interfaceITransferedFileConnectorProject
-
getProperty
Get a custom property- Specified by:
getProperty
in interfaceITransferedFileConnectorProject
- Returns:
-