public interface AdminContentMgrIf
Modifier and Type | Method and Description |
---|---|
void |
deleteContent(int contentId)
Delete an AdminContent object - all associated AdminContentDescriptions are also deleted
|
void |
deleteContentType(int contentTypeId)
Delete an AdminContentType object - all associated AdminContentTypeDescriptions are also deleted
|
AdminContent |
getContent(int contentId)
Returns the content referenced by the contentId.
|
AdminContentSearchResult |
getContents(AdminContentSearch search,
AdminDataDescriptor dataDesc)
Returns an array of content records matching the search criteria.
|
AdminContentType |
getContentType(int contentTypeId)
Returns the AdminContentType referenced by the contentTypeId.
|
AdminContentTypeSearchResult |
getContentTypes(AdminContentTypeSearch search,
AdminDataDescriptor dataDesc)
Returns an array of AdminContentType records matching the search criteria.
|
int |
insertContent(AdminContent content)
Insert an AdminContent object.
|
int |
insertContentDescription(AdminContentDescription ctDesc)
Insert a single AdminContentDescription record.
|
int |
insertContentType(AdminContentType contentType)
Insert an AdminContentType object.
|
int |
insertContentTypeDescription(AdminContentTypeDescription ctDesc)
Insert a single AdminContentTypeDescription record.
|
void |
refreshConfigs()
Refresh the configuration of the AdminContentMgr
|
void |
updateContent(AdminContent content)
Update an AdminContent object
|
void |
updateContentType(AdminContentType contentType)
Update an AdminContentType object
|
AdminContentSearchResult getContents(AdminContentSearch search, AdminDataDescriptor dataDesc) throws KKAdminException
search
- an AdminContentSearch objectdataDesc
- an AdminDataDescriptor objectKKAdminException
- an unexpected exception in the KonaKart Admin engineAdminContent getContent(int contentId) throws KKAdminException
contentId
- the id of the ContentKKAdminException
- an unexpected exception in the KonaKart Admin engineint insertContent(AdminContent content) throws KKAdminException
content
- an AdminContent objectKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid deleteContent(int contentId) throws KKAdminException
contentId
- the contentId of the AdminContent record to deleteKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid updateContent(AdminContent content) throws KKAdminException
content
- an AdminContent objectKKAdminException
- an unexpected exception in the KonaKart Admin engineAdminContentTypeSearchResult getContentTypes(AdminContentTypeSearch search, AdminDataDescriptor dataDesc) throws KKAdminException
search
- an AdminContentTypeSearch objectdataDesc
- an AdminDataDescriptor objectKKAdminException
- an unexpected exception in the KonaKart Admin engineAdminContentType getContentType(int contentTypeId) throws KKAdminException
contentTypeId
- the contentTypeId of the AdminContentTypeKKAdminException
- an unexpected exception in the KonaKart Admin engineint insertContentType(AdminContentType contentType) throws KKAdminException
contentType
- an AdminContentType objectKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid deleteContentType(int contentTypeId) throws KKAdminException
contentTypeId
- the contentTypeId of the AdminContentType record to deleteKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid updateContentType(AdminContentType contentType) throws KKAdminException
contentType
- an AdminContentType objectKKAdminException
- an unexpected exception in the KonaKart Admin engineint insertContentDescription(AdminContentDescription ctDesc) throws KKAdminException
ctDesc
- the AdminContentDescription record to insertKKAdminException
- an unexpected exception in the KonaKart Admin engineint insertContentTypeDescription(AdminContentTypeDescription ctDesc) throws KKAdminException
ctDesc
- the AdminContentTypeDescription record to insertKKAdminException
- an unexpected exception in the KonaKart Admin enginevoid refreshConfigs() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.