Package com.aquima.interactions.portal
Interface IMovingContentManager
- All Known Subinterfaces:
IChannelContentManager
,IContentManager
- All Known Implementing Classes:
ContentManagerDelegate
,DisposableChannelContentManager
,DisposableContentManager
,FileSystemContentManager
,MemoryContentManager
,PermanentChannelContentManager
,PermanentContentManager
public interface IMovingContentManager
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canMove()
Indicator of the implementation ofIMovingContentManager
is able to directly move contentMethod to retrieve the implementing class of theIMovingContentManager
this method should walk any delegate to the original implementationmove
(GUID id, IContentManager targetContentManager, IUserData user) Directly move content from one content manager to another using low level API.void
notifyMove
(GUID id) Notify that a move has taken places on theIMovingContentManager
.
-
Method Details
-
getImplementation
IMovingContentManager getImplementation()Method to retrieve the implementing class of theIMovingContentManager
this method should walk any delegate to the original implementation- Returns:
- Returns the implementing class of the
IMovingContentManager
-
move
Directly move content from one content manager to another using low level API.- Parameters:
id
- The id of the content, may not benull
targetContentManager
- The targeting content manager to move content to, may not benull
user
- The user that is moving the content, may not benull
.- Returns:
- Returns the new GUID that uniquely the moved content, never
null
. - Throws:
MoveContentException
- if moving fails of any reason.
-
notifyMove
Notify that a move has taken places on theIMovingContentManager
.- Parameters:
id
- The id of the content that has been moved towards the content manager, may not benull
-
canMove
boolean canMove()Indicator of the implementation ofIMovingContentManager
is able to directly move content- Returns:
- Returns true it can directly move content.
-