Class ActivityFlowLink
java.lang.Object
ch.colabproject.colab.api.model.link.ActivityFlowLink
- All Implemented Interfaces:
ColabEntity,WithDeletionStatus,WithPermission,WithTrackingData,WithWebsocketChannels,WithId,WithJsonDiscriminator,Serializable
Link to show that a card must be handled before another one.
- Author:
- sandra
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the channels this entity shall be sent through.Get the deletion status :getId()get the id of the card to handle after.get the id of the card to handle before.Get the condition required to read this entityGet the tracking dataGet the condition required to update this entityinthashCode()voidmergeToUpdate(ColabEntity other) Update this object according to values provided by other.voidsetDeletionStatus(DeletionStatus status) Set the deletion status :voidvoidsetNextCard(Card nextCard) voidsetNextCardId(Long nextCardId) set the id of the card to handle after.voidsetPreviousCard(Card previousCard) voidsetPreviousCardId(Long previousCardId) set the id of the card to handle before.voidsetTrackingData(Tracking trackingData) Set tracking datatoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.colabproject.colab.api.model.ColabEntity
mergeToDuplicateMethods inherited from interface ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator
getJsonDiscriminatorMethods inherited from interface ch.colabproject.colab.api.model.WithPermission
getCreateCondition, getDeleteConditionMethods inherited from interface ch.colabproject.colab.api.model.WithTrackingData
clearErasureTrackingData, setErasureTrackingData, touchMethods inherited from interface ch.colabproject.colab.api.model.WithWebsocketChannels
getIndexEntryPayload
-
Field Details
-
LINK_SEQUENCE_NAME
Link sequence name- See Also:
-
-
Constructor Details
-
ActivityFlowLink
public ActivityFlowLink()
-
-
Method Details
-
getId
-
setId
- Parameters:
id- the link id
-
getTrackingData
Get the tracking data- Specified by:
getTrackingDatain interfaceWithTrackingData- Returns:
- tracking data
-
setTrackingData
Set tracking data- Specified by:
setTrackingDatain interfaceWithTrackingData- Parameters:
trackingData- new tracking data
-
getDeletionStatus
Description copied from interface:WithDeletionStatusGet the deletion status :Is it in a bin or ready to be definitely deleted.
Null means active.
- Specified by:
getDeletionStatusin interfaceWithDeletionStatus- Returns:
- null or a deletion status
-
setDeletionStatus
Description copied from interface:WithDeletionStatusSet the deletion status :Is it in a bin or ready to be definitely deleted.
Null means active.
- Specified by:
setDeletionStatusin interfaceWithDeletionStatus- Parameters:
status- null or a deletion status
-
getPreviousCard
- Returns:
- the card to handle before
-
setPreviousCard
- Parameters:
previousCard- the card to handle before
-
getPreviousCardId
get the id of the card to handle before. To be sent to client- Returns:
- the id of the card to handle before
-
setPreviousCardId
set the id of the card to handle before. For serialization only- Parameters:
previousCardId- the id of the card to handle before
-
getNextCard
- Returns:
- the card to handle after
-
setNextCard
- Parameters:
nextCard- the card to handle after
-
getNextCardId
get the id of the card to handle after. To be sent to client- Returns:
- the id of the card to handle after
-
setNextCardId
set the id of the card to handle after. For serialization only- Parameters:
nextCardId- the id of the card to handle after
-
mergeToUpdate
Description copied from interface:ColabEntityUpdate this object according to values provided by other.This is used when an object is prepared to be updated in database.
- Specified by:
mergeToUpdatein interfaceColabEntity- Parameters:
other- object to take new values from- Throws:
ColabMergeException- if merging is not possible
-
getChannelsBuilder
Description copied from interface:WithWebsocketChannelsGet the channels this entity shall be sent through.- Specified by:
getChannelsBuilderin interfaceWithWebsocketChannels- Returns:
- list of channels
-
getReadCondition
Description copied from interface:WithPermissionGet the condition required to read this entity- Specified by:
getReadConditionin interfaceWithPermission- Returns:
- the condition
-
getUpdateCondition
Description copied from interface:WithPermissionGet the condition required to update this entity- Specified by:
getUpdateConditionin interfaceWithPermission- Returns:
- the condition
-
hashCode
public int hashCode() -
equals
-
toString
-