ContentService
.See: Description
Exception | Description |
---|---|
ContentExpiredException |
This exception may be thrown by service methods if the content they are referencing is
expired.
|
DuplicateUuidException |
This exception may be thrown by service methods that create content if the UUID
specified is already in use for another piece of content.
|
HasChildrenException |
This exception may be thrown by service methods that delete or deactive content
if the content has children and the flag was not set to automatically delete or
deactive any children.
|
IllegalRecursionException |
This exception may be thrown by service methods that create or modify a content item
if the parent is set to the item itself.
|
InsufficientNameUniquenessException |
This exception may be thrown by service methods that create or modify a content item
if the name of the content is insufficiently unique for the type of uniqueness
specified (
ContentConstants.UNIQUE_NONE ,
ContentConstants.UNIQUE_FOR_PARENT ,
ContentConstants.UNIQUE_FOR_TYPE , or
ContentConstants.UNIQUE_FOR_ALL ). |
InvalidApprovalStateException |
This exception may be thrown by
{@link com.appiancorp.suiteapi.content.ContentService#approveVersion(Long, Integer)
|
InvalidContentException |
This exception may be thrown by service methods detecting that
a content item does not exist.
|
InvalidPersonalContentException |
This exception may be thrown by
ContentService.getPersonalId() ,
ContentService.getPersonal() ,
ContentService.getPersonalAndTeams(ContentFilter) ,
{@link com.appiancorp.suiteapi.content.ContentService#getPersonalAndTeamsIds(ContentFilter), and
{@link com.appiancorp.suiteapi.content.ContentService#getPersonalAndTeamsPaging(ContentFilter, int, int, Integer, Integer)
if no personal knowledge center exists yet for that user, and the service failed to create it. |
InvalidRejectionStateException |
This exception may be thrown by
{@link com.appiancorp.suiteapi.content.ContentService#rejectVersion(Long, Integer)
|
InvalidTypeMaskException |
This exception may be thrown by service methods if they detect that
the type mask provided is invalid.
|
NotLockOwnerException |
This exception may be thrown by
ContentService.lock(Long) and
ContentService.lock(Long[]) if the content is locked and the
current user is not the owner. |
PendingApprovalException |
This exception may be thrown by service methods detecting that
content is pending approval, which makes the attempted action illegal.
|
RenameNotAllowedException |
Contains exceptions that are thrown by ContentService
.
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.