@AccessLevel(value=EXTERNAL)
public interface CMISAccessInterface
Modifier and Type | Method and Description |
---|---|
void |
addItemToExplicitMetadata(curam.core.sl.struct.CMSMetadataItemList metadataList,
java.lang.String name,
curam.util.type.Date dateValue)
Method to add a piece of meta data to the CMSMetadataItemList
|
void |
addItemToExplicitMetadata(curam.core.sl.struct.CMSMetadataItemList metadataList,
java.lang.String name,
java.lang.String value)
Method to add a piece of meta data to the CMSMetadataItemList
|
boolean |
contentExists(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType)
Determines whether or not there is content on the CMS associated with the
related object.
|
void |
create(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType,
byte[] fileContent,
java.lang.String fileName,
curam.codetable.impl.CMISNAMINGTYPEEntry namingType,
java.lang.Object namingData)
Method to upload a file to the Content Management System.
|
void |
create(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType,
byte[] fileContent,
java.lang.String fileName,
curam.codetable.impl.CMISNAMINGTYPEEntry namingType,
java.lang.Object namingData,
curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType)
Method to upload a file to the Content Management System along with
meta-data on the transaction.
|
void |
create(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType,
byte[] fileContent,
java.lang.String fileName,
curam.codetable.impl.CMISNAMINGTYPEEntry namingType,
java.lang.Object namingData,
curam.core.sl.struct.CMSMetadataItemList fileProperties,
curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType)
Method to upload a file to the Content Management System along with
explicit meta-data and meta-data on the transaction.
|
CMSMetadataClassCustomInterface |
getMetadataClassCustomStrategy(curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType)
Method to return the custom meta data strategy
|
curam.core.sl.infrastructure.cmis.impl.CMSMetadataClassInterface |
getMetadataClassStrategy(curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType)
Method to return the meta data strategy
|
CMISNamingInterface |
getNaming(curam.codetable.impl.CMISNAMINGTYPEEntry namingType)
Gets the naming implementation for the given naming type.
|
CMSLinkRelatedTypeInterface |
getRelatedTypeStrategy(curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType)
Gets the related type implementation for the given type.
|
boolean |
isCMISEnabled()
Determines whether CMIS has been enabled in the environment configuration.
|
boolean |
isCMISEnabledFor(curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType)
Determines whether CMIS has been enabled for the related type.
|
void |
modify(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType,
byte[] fileContent,
java.lang.String newFileName)
Method to modify a file on the Content Management System.
|
void |
modify(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType,
byte[] fileContent,
java.lang.String newFileName,
curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType)
Method to modify a file on the Content Management System, including
meta-data on the transaction.
|
void |
modify(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType,
byte[] fileContent,
java.lang.String newFileName,
curam.core.sl.struct.CMSMetadataItemList fileProperties,
curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType)
Method to modify a file on the Content Management System, including
explicit meta-data and meta-data on the transaction.
|
curam.core.facade.struct.FileNameAndDataDtls |
read(long relatedID,
curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType)
Method to read a file from the Content Management System.
|
boolean isCMISEnabled() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signatureboolean isCMISEnabledFor(curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signatureboolean contentExists(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- The unique identifier for the Curam record related to the file.relatedType
- The CMS link related type.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid create(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType, byte[] fileContent, java.lang.String fileName, curam.codetable.impl.CMISNAMINGTYPEEntry namingType, java.lang.Object namingData) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- An identifier for the related entity.relatedType
- A type for the related entity.fileContent
- The contents of the file in byte array format.fileName
- The simple name of the file to create on the CMS
(including the extension).namingType
- The naming strategy to use for the file stored on CMS.namingData
- Any data required by the naming strategy.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid create(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType, byte[] fileContent, java.lang.String fileName, curam.codetable.impl.CMISNAMINGTYPEEntry namingType, java.lang.Object namingData, curam.core.sl.struct.CMSMetadataItemList fileProperties, curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- An identifier for the related entity.relatedType
- A type for the related entity.fileContent
- The contents of the file in byte array format.fileName
- The simple name of the file to create on the CMS
(including the extension).namingType
- The naming strategy to use for the file stored on CMS.namingData
- Any data required by the naming strategy.fileProperties
- Meta-data explicitly associated with the file.metadataClassType
- Meta-data class type associated with this file
type.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid create(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType, byte[] fileContent, java.lang.String fileName, curam.codetable.impl.CMISNAMINGTYPEEntry namingType, java.lang.Object namingData, curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- An identifier for the related entity.relatedType
- A type for the related entity.fileContent
- The contents of the file in byte array format.fileName
- The simple name of the file to create on the CMS
(including the extension).namingType
- The naming strategy to use for the file stored on CMS.namingData
- Any data required by the naming strategy.metadataClassType
- Meta-data class type associated with this file
type.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturecuram.core.facade.struct.FileNameAndDataDtls read(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- The unique identifier for the Curam record related to
the file.relatedType
- The CMS link related type.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid modify(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType, byte[] fileContent, java.lang.String newFileName) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- The unique identifier for the Curam record related to
the file.relatedType
- The CMS link related type.fileContent
- The modified contents of the file.newFileName
- The new name for the file in case it has been replaced.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid modify(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType, byte[] fileContent, java.lang.String newFileName, curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- The unique identifier for the Curam record related to
the file.relatedType
- The CMS link related type.fileContent
- The modified contents of the file.newFileName
- The new name for the file in case it has been replaced.metadataClassType
- Metadata class type associated with this file
type.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid modify(long relatedID, curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType, byte[] fileContent, java.lang.String newFileName, curam.core.sl.struct.CMSMetadataItemList fileProperties, curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
relatedID
- The unique identifier for the Curam record related to
the file.relatedType
- The CMS link related type.fileContent
- The modified contents of the file.newFileName
- The new name for the file in case it has been replaced.fileProperties
- Meta-data explicitly associated with the file.metadataClassType
- Metadata class type associated with this file
type.curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException SignatureCMISNamingInterface getNaming(curam.codetable.impl.CMISNAMINGTYPEEntry namingType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException SignatureCMSLinkRelatedTypeInterface getRelatedTypeStrategy(curam.codetable.impl.CMSLINKRELATEDTYPEEntry relatedType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturecuram.core.sl.infrastructure.cmis.impl.CMSMetadataClassInterface getMetadataClassStrategy(curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
metadataClassType
- curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException SignatureCMSMetadataClassCustomInterface getMetadataClassCustomStrategy(curam.codetable.impl.CMSMETADATACLASSTYPEEntry metadataClassType) throws curam.util.exception.AppException, curam.util.exception.InformationalException
metadataClassType
- curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid addItemToExplicitMetadata(curam.core.sl.struct.CMSMetadataItemList metadataList, java.lang.String name, java.lang.String value) throws curam.util.exception.AppException, curam.util.exception.InformationalException
metadataList
- name
- value
- curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signaturevoid addItemToExplicitMetadata(curam.core.sl.struct.CMSMetadataItemList metadataList, java.lang.String name, curam.util.type.Date dateValue) throws curam.util.exception.AppException, curam.util.exception.InformationalException
value
- metadataList
- name
- curam.util.exception.InformationalException
- Generic InformationalException Signaturecuram.util.exception.AppException
- Generic AppException Signature