public interface ContentManagerInterface
extends java.io.Serializable
Title: Content Manager Interface
Description: Content Manager retrivable and accessible through ResultsetInterface and ApplicationInterface If retrieved through the ApplicationInterface, linking methods requiring resultset context will throw an exception
Copyright: Copyright (c) 2009
Company: Deltek
Modifier and Type | Method and Description |
---|---|
ContentInterface |
createNewContent(java.lang.String cpContentTypeId,
java.lang.String cpCTypeLocId,
java.lang.String cmsFolder,
java.lang.String contentName,
java.lang.String contentTitle,
java.lang.String contentVersion)
Create new Content
|
ContentPropertyTypeInterface |
createSharepointColumn(java.lang.String endpId,
java.lang.String spTypeId,
java.lang.String repId,
java.lang.String cTypeId,
java.lang.String name,
java.lang.String dataType,
int length) |
java.util.Map<java.lang.String,java.lang.String> |
createSharepointLibrary(java.lang.String endpId,
java.lang.String name,
java.lang.String description) |
void |
deleteSharepointColumn(java.lang.String endpId,
java.lang.String repositoryId,
java.lang.String cTypeId,
java.lang.String name) |
void |
deleteSharepointLibrary(java.lang.String endpId,
java.lang.String name) |
ContentTypeInterface |
getCmsContentType(java.lang.String cpContentTypeId,
java.lang.String cTypeLocId)
Get the CMS content type definition
|
ContentTypeInterface |
getCmsContentType(java.lang.String endpointId,
java.lang.String repositoryId,
java.lang.String cmsContentTypeId)
Get the CMS content type definition
|
java.util.Map<java.lang.String,java.lang.String> |
getCmsContentTypes(java.lang.String endpointId,
java.lang.String repositoryId)
Get the list of defined CMS content types - If root document type is defined in configuration, then
shows only sub-types of the pre-defined root type
|
java.util.Map<java.lang.String,java.lang.String> |
getCmsEndpoints()
Get CM Systems endpoints.
|
ContentFolderInterface |
getCmsFolder(java.lang.String cpCTypeId,
java.lang.String cpCTypeLocId,
java.lang.String folderPath)
Get Cms Folder using location as parameter
|
ContentFolderInterface |
getCmsFolder(java.lang.String endpointId,
java.lang.String repositoryId,
java.lang.String rootFolder,
java.lang.String folderPath)
Get folder details or null if folder does not exist
|
java.util.Map<java.lang.String,java.lang.String> |
getCmsFolders(java.lang.String endpointId,
java.lang.String repositoryId,
java.lang.String rootFolder)
Get the list of all folders within CMS Repository
|
java.util.Map<java.lang.String,java.lang.String> |
getCmsRepositories(java.lang.String endpointId)
Get CMS Repositories from given endpoint.
|
ContentRepositoryInterface |
getCmsRepository(java.lang.String endpointId,
java.lang.String repositoryId)
Get CMS repository info.
|
ContentInterface |
getContent(java.lang.String endpointId,
java.lang.String repositoryId,
java.lang.String contentId)
Gets a binary content from the CMS
|
ContentInterface |
getContentExists(java.lang.String cpContentTypeId,
java.lang.String cpCTypeLocId,
java.lang.String fileName) |
ContentInterface |
getContentExists(java.lang.String cpContentTypeId,
java.lang.String cpCTypeLocId,
java.lang.String fileName,
java.lang.String folder,
boolean recursive)
Does content exist by filename
|
ContentInterface |
getContentInfo(java.lang.String cpContentTypeId,
java.lang.String cpCTypeLocId,
java.lang.String contentId)
Get Content details with metadata
|
java.lang.String |
getLastErrorMessage() |
int |
getRsFetchSize() |
boolean |
isSharepoint(java.lang.String endpId) |
java.util.List<ContentInterface> |
query(java.lang.String cpContentTypeId,
java.lang.Object userQuery,
int skipRows,
int maxRows) |
int |
queryRowCount(java.lang.String cpCTypeId,
java.lang.Object userQuery) |
int |
queryRowCount(java.lang.String cpCTypeId,
java.lang.Object userQuery,
int maxQueryCount) |
ContentInterface |
saveContent(ContentInterface contentInfo,
byte[] content) |
boolean |
setContentInfo(ContentInterface content)
Update content metadata
Update of content metadata is permitted only through previously cached object.
|
java.util.Map<java.lang.String,java.lang.String> getCmsEndpoints() throws DEException
DEException
java.util.Map<java.lang.String,java.lang.String> getCmsRepositories(java.lang.String endpointId) throws DEException
endpointId
- - CMS endpoint IDDEException
ContentRepositoryInterface getCmsRepository(java.lang.String endpointId, java.lang.String repositoryId) throws DEException
endpointId
- - CMS endpoint IDrepositoryId
- - CMS repository IDDEException
java.util.Map<java.lang.String,java.lang.String> getCmsContentTypes(java.lang.String endpointId, java.lang.String repositoryId) throws DEException
repositoryId
- - CMS repository IDDEException
ContentTypeInterface getCmsContentType(java.lang.String cpContentTypeId, java.lang.String cTypeLocId) throws DEException
cpContentTypeId
- - Costpoint content type idcTypeLocId
- - Location id (null for default)DEException
ContentTypeInterface getCmsContentType(java.lang.String endpointId, java.lang.String repositoryId, java.lang.String cmsContentTypeId) throws DEException
endpointId
- - CMS endpoint IDrepositoryId
- - CMS repository IDcmsContentTypeId
- - CMS content type idDEException
java.util.Map<java.lang.String,java.lang.String> getCmsFolders(java.lang.String endpointId, java.lang.String repositoryId, java.lang.String rootFolder) throws DEException
endpointId
- - CMS endpoint IDrepositoryId
- - CMS repository IDrootFolder
- - root folder for the returned listDEException
ContentFolderInterface getCmsFolder(java.lang.String endpointId, java.lang.String repositoryId, java.lang.String rootFolder, java.lang.String folderPath) throws DEException
endpointId
- - CMS endpoint IDrepositoryId
- - CMS repository IDfolderPath
- - full folder pathDEException
ContentFolderInterface getCmsFolder(java.lang.String cpCTypeId, java.lang.String cpCTypeLocId, java.lang.String folderPath) throws DEException
cpCTypeId
- cpCTypeLocId
- folderPath
- DEException
ContentInterface getContent(java.lang.String endpointId, java.lang.String repositoryId, java.lang.String contentId) throws DEException
endpointId
- - CMS endpoint IDrepositoryId
- - CMS repository IDcontentId
- - CMS unique content IDDEException
ContentInterface getContentInfo(java.lang.String cpContentTypeId, java.lang.String cpCTypeLocId, java.lang.String contentId) throws DEException
contentId
- - CMS unique content IDDEException
boolean setContentInfo(ContentInterface content) throws DEException
content
- DEException
ContentInterface getContentExists(java.lang.String cpContentTypeId, java.lang.String cpCTypeLocId, java.lang.String fileName, java.lang.String folder, boolean recursive) throws DEException
cpContentTypeId
- - CP content typecpCTypeLocId
- - id of the specific cpCTypeLocId (or null for default)fileName
- - content file namefolder
- - optional, if null defaut folder for CP content type is usedrecursive
- - search subfolders from the start folderDEException
ContentInterface getContentExists(java.lang.String cpContentTypeId, java.lang.String cpCTypeLocId, java.lang.String fileName) throws DEException
DEException
ContentInterface createNewContent(java.lang.String cpContentTypeId, java.lang.String cpCTypeLocId, java.lang.String cmsFolder, java.lang.String contentName, java.lang.String contentTitle, java.lang.String contentVersion) throws DEException
cpContentTypeId
- - Costpoint content typecpCTypeLocId
- - id of the specific cpCTypeLocId (or null for default)contentName
- - new content namecontentTitle
- - new content titlecontentVersion
- - new content versionDEException
ContentInterface saveContent(ContentInterface contentInfo, byte[] content) throws DEException
contentInfo
- content
- DEException
java.util.List<ContentInterface> query(java.lang.String cpContentTypeId, java.lang.Object userQuery, int skipRows, int maxRows) throws DEException
DEException
int queryRowCount(java.lang.String cpCTypeId, java.lang.Object userQuery) throws DEException
DEException
int queryRowCount(java.lang.String cpCTypeId, java.lang.Object userQuery, int maxQueryCount) throws DEException
DEException
int getRsFetchSize()
java.lang.String getLastErrorMessage()
boolean isSharepoint(java.lang.String endpId) throws DEException
DEException
java.util.Map<java.lang.String,java.lang.String> createSharepointLibrary(java.lang.String endpId, java.lang.String name, java.lang.String description) throws DEException
DEException
void deleteSharepointLibrary(java.lang.String endpId, java.lang.String name) throws DEException
DEException
ContentPropertyTypeInterface createSharepointColumn(java.lang.String endpId, java.lang.String spTypeId, java.lang.String repId, java.lang.String cTypeId, java.lang.String name, java.lang.String dataType, int length) throws DEException
DEException
void deleteSharepointColumn(java.lang.String endpId, java.lang.String repositoryId, java.lang.String cTypeId, java.lang.String name) throws DEException
DEException