|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MoveContentProvider<T extends JiveContentObject>
Provides implementation details allowing content object types to be moved between containers. Includes the
implementation of moving the content, validating whether the content can be moved, and providing UI assistance to
support com.jivesoftware.community.action.MoveContentAction displaying details of the validation error
com.jivesoftware.community.action.MoveContentAction| Nested Class Summary | |
|---|---|
static class |
MoveContentProvider.MoveValidationResult
|
| Method Summary | |
|---|---|
MoveContentProvider.MoveValidationResult |
canMoveContent(T toMove,
JiveContainer target)
Returns a MoveContentProvider.MoveValidationResult with the value of true if the content object to be moved is valid to be moved from
its current container to the target container. |
String |
getPageDescriptionKey()
Returns the i18n key to use to retrieve the text for the move content page description. |
String |
getPageTitleKey()
Returns the i18n key to use to retrieve the text for the move content page title. |
void |
moveContent(T toMove,
JiveContainer target)
Moves the given content object from its current location to the target container |
| Method Detail |
|---|
MoveContentProvider.MoveValidationResult canMoveContent(T toMove,
JiveContainer target)
MoveContentProvider.MoveValidationResult with the value of true if the content object to be moved is valid to be moved from
its current container to the target container. Returns a MoveContentProvider.MoveValidationResult with a value of false and a
validationMessageKey containing an i18n key mapping to a description of the validation error.
toMove - content object to be movedtarget - container to move content object into
void moveContent(T toMove,
JiveContainer target)
throws UnauthorizedException,
RejectedException
target container
toMove - content object to be movedtarget - container to move content object into
UnauthorizedException - if the effective user doesn't have rights to move the content to the target container
RejectedException - if the move is rejectedString getPageTitleKey()
getPageTitle
in com.jivesoftware.community.action.MoveContentAction. If null is returned a default key is retrieved.
String getPageDescriptionKey()
getPageDescription
in com.jivesoftware.community.action.MoveContentAction.
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||