Documentation ¶
Index ¶
- type Activity
- func (a *Activity) GetActivities() universe.Activities
- func (a *Activity) GetCreatedAt() time.Time
- func (a *Activity) GetData() *entry.ActivityData
- func (a *Activity) GetEntry() *entry.Activity
- func (a *Activity) GetID() umid.UMID
- func (a *Activity) GetObjectID() umid.UMID
- func (a *Activity) GetType() *entry.ActivityType
- func (a *Activity) GetUserID() umid.UMID
- func (a *Activity) Initialize(ctx types.NodeContext) error
- func (a *Activity) LoadFromEntry(entry *entry.Activity) error
- func (a *Activity) SetCreatedAt(createdAt time.Time, updateDB bool) error
- func (a *Activity) SetData(modifyFn modify.Fn[entry.ActivityData], updateDB bool) (*entry.ActivityData, error)
- func (a *Activity) SetObjectID(objectID umid.UMID, updateDB bool) error
- func (a *Activity) SetType(activityType *entry.ActivityType, updateDB bool) error
- func (a *Activity) SetUserID(userID umid.UMID, updateDB bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct {
// contains filtered or unexported fields
}
func NewActivity ¶
func (*Activity) GetActivities ¶
func (a *Activity) GetActivities() universe.Activities
func (*Activity) GetCreatedAt ¶
func (*Activity) GetData ¶
func (a *Activity) GetData() *entry.ActivityData
func (*Activity) GetObjectID ¶
func (*Activity) GetType ¶
func (a *Activity) GetType() *entry.ActivityType
func (*Activity) Initialize ¶
func (a *Activity) Initialize(ctx types.NodeContext) error
func (*Activity) SetCreatedAt ¶
func (*Activity) SetData ¶
func (a *Activity) SetData(modifyFn modify.Fn[entry.ActivityData], updateDB bool) (*entry.ActivityData, error)
func (*Activity) SetObjectID ¶
Click to show internal directories.
Click to hide internal directories.