Uses of Interface
org.silverpeas.core.contribution.model.Contribution
-
-
Uses of Contribution in org.silverpeas.core
Methods in org.silverpeas.core with type parameters of type Contribution Modifier and Type Method Description <T extends Contribution>
Optional<T>ApplicationService. getContributionById(ContributionIdentifier contributionId)
Gets the contribution handled by an instance of the component with the specified unique identifier. -
Uses of Contribution in org.silverpeas.core.cache.service
Methods in org.silverpeas.core.cache.service with parameters of type Contribution Modifier and Type Method Description boolean
VolatileResourceCacheService. contains(Contribution contribution)
Indicates if a contribution exists into the volatile cache. -
Uses of Contribution in org.silverpeas.core.calendar
Classes in org.silverpeas.core.calendar that implement Contribution Modifier and Type Class Description class
CalendarEvent
An event planned in a calendar.class
CalendarEventOccurrence
The occurrence of an event in a Silverpeas calendar.Methods in org.silverpeas.core.calendar with type parameters of type Contribution Modifier and Type Method Description <T extends Contribution>
Optional<ResourcePath<T>>CalendarEvent. getResourcePath()
<T extends Contribution>
Optional<ResourcePath<T>>CalendarEventOccurrence. getResourcePath()
<T extends Contribution>
Optional<ResourcePath<T>>CalendarResourcePathProvider. getResourcePathOf(CalendarEvent calendarEvent)
Gets a calendar component path without taking care about right accesses.<T extends Contribution>
Optional<ResourcePath<T>>CalendarResourcePathProvider. getResourcePathOf(CalendarEventOccurrence occurrence)
Gets a calendar component path without taking care about right accesses.Methods in org.silverpeas.core.calendar that return types with arguments of type Contribution Modifier and Type Method Description Optional<Contribution>
AbstractCalendarService. getContributionById(ContributionIdentifier contributionId)
Methods in org.silverpeas.core.calendar with parameters of type Contribution Modifier and Type Method Description protected String
CalendarComponentPath. getLabel(Contribution contribution, String language)
protected boolean
CalendarComponentPath. isRoot(Contribution contribution)
-
Uses of Contribution in org.silverpeas.core.calendar.notification
Methods in org.silverpeas.core.calendar.notification that return Contribution Modifier and Type Method Description Contribution
AttendeeLifeCycleEvent. getEventOrOccurrence()
Gets the event or occurrence related to the notification.Methods in org.silverpeas.core.calendar.notification with parameters of type Contribution Modifier and Type Method Description static void
AttendeeLifeCycleEventNotifier. notifyAttendees(LifeCycleEventSubType subtype, Contribution eventOrOccurrence, AttendeeSet before, AttendeeSet after)
Constructors in org.silverpeas.core.calendar.notification with parameters of type Contribution Constructor Description AttendeeLifeCycleEvent(Contribution eventOrOccurrence, ResourceEvent.Type type, LifeCycleEventSubType subType, @NotNull Attendee... attendees)
Constructs a new lifecycle event with the specified type and with the specifiedAttendee
instances representing each of them a state in a transition in the lifecycle of an attendee. -
Uses of Contribution in org.silverpeas.core.calendar.notification.user
Classes in org.silverpeas.core.calendar.notification.user with type parameters of type Contribution Modifier and Type Class Description class
AbstractCalendarUserNotificationBuilder<C extends Contribution>
Centralizes the building of aUserNotification
in relation with a calendar contribution. -
Uses of Contribution in org.silverpeas.core.comment.model
Classes in org.silverpeas.core.comment.model that implement Contribution Modifier and Type Class Description class
Comment
A comment on a given user contribution. -
Uses of Contribution in org.silverpeas.core.comment.service
Methods in org.silverpeas.core.comment.service with parameters of type Contribution Modifier and Type Method Description void
CommentDeleter. delete(Contribution contribution)
protected void
CommentUserNotification. perform(Contribution resource)
protected void
CommentUserNotification. performNotificationResource(String language, Contribution resource, NotificationResourceData notificationResourceData)
protected void
CommentUserNotification. performTemplateData(String language, Contribution resource, SilverpeasTemplate template)
Constructors in org.silverpeas.core.comment.service with parameters of type Contribution Constructor Description CommentUserNotification(CommentService commentService, Comment comment, Contribution commentedContent, String subjectKey, LocalizationBundle componentMessages, Set<String> recipients)
-
Uses of Contribution in org.silverpeas.core.contribution
Subinterfaces of Contribution in org.silverpeas.core.contribution Modifier and Type Interface Description interface
ValidableContribution
A validable contribution is an object that represents a contribution which can be validated.Methods in org.silverpeas.core.contribution with parameters of type Contribution Modifier and Type Method Description void
ContributionCreation. create(Contribution contribution)
Creates the resources belonging to the specified contribution.void
ContributionDeletion. delete(Contribution contribution)
Deletes the resources belonging to the specified contribution.void
ContributionMove. move(Contribution before, Contribution after)
Updates the resources belonging to the specified contribution.void
ContributionModification. update(Contribution before, Contribution after)
Updates the resources belonging to the specified contribution.Method parameters in org.silverpeas.core.contribution with type arguments of type Contribution Modifier and Type Method Description void
ContributionEventProcessor. onCreation(AbstractResourceEvent<? extends Contribution> event)
void
ContributionEventProcessor. onDeletion(AbstractResourceEvent<? extends Contribution> event)
void
ContributionEventProcessor. onMove(AbstractResourceEvent<? extends Contribution> event)
void
ContributionEventProcessor. onUpdate(AbstractResourceEvent<? extends Contribution> event)
Constructors in org.silverpeas.core.contribution with parameters of type Contribution Constructor Description DefaultContributionVisibility(Contribution contribution, Period specificPeriod)
-
Uses of Contribution in org.silverpeas.core.contribution.attachment
Methods in org.silverpeas.core.contribution.attachment with parameters of type Contribution Modifier and Type Method Description void
AttachmentDeleter. delete(Contribution contribution)
-
Uses of Contribution in org.silverpeas.core.contribution.attachment.model
Classes in org.silverpeas.core.contribution.attachment.model that implement Contribution Modifier and Type Class Description class
Document
A document as an attachment to a given contribution and gathering for a same document all of its translations, each of them represented by a different (SimpleDocument
instances.class
HistorisedDocument
This class represents a document that is versioned.class
HistorisedDocumentVersion
This class permits to get an historised document behaviour not from the master version but from a frozen version of the document.class
SimpleDocument
A document file attached to a given user contribution.class
SimpleDocumentVersion
This class represents one version in the history of a versioned simple document.Methods in org.silverpeas.core.contribution.attachment.model with parameters of type Contribution Modifier and Type Method Description void
Attachments. attachTo(Contribution contribution)
Attaches all the files to the specified contribution. -
Uses of Contribution in org.silverpeas.core.contribution.content.wysiwyg.service
Methods in org.silverpeas.core.contribution.content.wysiwyg.service with parameters of type Contribution Modifier and Type Method Description void
WysiwygManager. deleteByContribution(Contribution contribution)
-
Uses of Contribution in org.silverpeas.core.contribution.contentcontainer.content
Subinterfaces of Contribution in org.silverpeas.core.contribution.contentcontainer.content Modifier and Type Interface Description interface
SilverContentInterface
Deprecated, for removal: This API element is subject to removal in a future version.use insteadContribution
andContributionContent
interfaces.Classes in org.silverpeas.core.contribution.contentcontainer.content that implement Contribution Modifier and Type Class Description static class
AbstractSilverpeasContentManager.ContributionWrapper
Wrapper which permits to handle as aSilverContentInterface
each implementation of aContribution
.class
SilverContent
Methods in org.silverpeas.core.contribution.contentcontainer.content with type parameters of type Contribution Modifier and Type Method Description protected <T extends Contribution>
SilverContentVisibilityAbstractSilverpeasContentManager. computeSilverContentVisibility(T contribution)
Gets the default content visibility of the given contribution.<T extends Contribution>
intAbstractSilverpeasContentManager. createSilverContent(T contribution, String userId)
<T extends Contribution>
intSilverpeasContentManager. createSilverContent(T contribution, String userId)
Creates a silverpeas content from a contribution identifier and the instance of the component instance the resource belong to.<T extends Contribution>
intAbstractSilverpeasContentManager. getOrCreateSilverContentId(T contribution)
<T extends Contribution>
intSilverpeasContentManager. getOrCreateSilverContentId(T contribution)
Gets the silverpeas content identifier about a contribution.
If no content identifier exists, then it is created.<T extends Contribution>
intAbstractSilverpeasContentManager. getSilverContentId(T contribution)
<T extends Contribution>
intSilverpeasContentManager. getSilverContentId(T contribution)
Gets the silverpeas content identifier about a contribution.<T extends Contribution>
voidAbstractSilverpeasContentManager. updateSilverContentVisibility(T contribution)
Updates the visibility of the given contribution.<T extends Contribution>
voidAbstractSilverpeasContentManager. updateSilverContentVisibility(T contribution, boolean visibility)
Update the visibility of the given contribution by explicitly giving it.Methods in org.silverpeas.core.contribution.contentcontainer.content that return Contribution Modifier and Type Method Description Contribution
AbstractSilverpeasContentManager.ContributionWrapper. getWrappedInstance()
Methods in org.silverpeas.core.contribution.contentcontainer.content that return types with arguments of type Contribution Modifier and Type Method Description protected abstract List<Contribution>
AbstractSilverpeasContentManager. getAccessibleContributions(List<ResourceReference> resourceReferences, String currentUserId)
Gets list of contribution from their identifier and the identifier of the component instance.protected abstract Optional<Contribution>
AbstractSilverpeasContentManager. getContribution(String resourceId, String componentInstanceId)
Gets the contribution from its identifier and the identifier of the component instance.Methods in org.silverpeas.core.contribution.contentcontainer.content with parameters of type Contribution Modifier and Type Method Description int
AbstractSilverpeasContentManager. createSilverContent(Connection connection, Contribution contribution, String userId)
Same asAbstractSilverpeasContentManager.createSilverContent(Contribution, String)
, but here theConnection
is given.int
AbstractSilverpeasContentManager. createSilverContent(Connection connection, Contribution contribution, String userId, boolean visible)
Same asAbstractSilverpeasContentManager.createSilverContent(Contribution, String)
, but here theConnection
is given.void
SilverpeasContentDeleter. delete(Contribution contribution)
void
AbstractSilverpeasContentManager. deleteSilverContent(Contribution contribution)
Same asAbstractSilverpeasContentManager.deleteSilverContent(String, String)
, but here theContribution
is given instead of resource identifier and component instance identifier. -
Uses of Contribution in org.silverpeas.core.contribution.indicator
Methods in org.silverpeas.core.contribution.indicator with parameters of type Contribution Modifier and Type Method Description static boolean
NewContributionIndicator. isNewContribution(Contribution contribution)
Is the given contribution a new one? -
Uses of Contribution in org.silverpeas.core.contribution.model
Classes in org.silverpeas.core.contribution.model with type parameters of type Contribution Modifier and Type Class Description class
DefaultContributionModel<C extends Contribution>
The default implementation of theContributionModel
interface.Subinterfaces of Contribution in org.silverpeas.core.contribution.model Modifier and Type Interface Description interface
Attachment
An attachment is a document file that is attached to a contribution in Silverpeas.interface
Folder
A folder is a contribution with folding capabilities that can contain others contributions, folders included.interface
I18nContribution
An internationalized contribution.interface
LocalizedAttachment
An attachment localized in a given language.interface
LocalizedContribution
A contribution produced in a given l10n (Localisation).interface
SilverpeasContent
A contribution with a single content that is managed by an application of the Silverpeas collaborative portal.interface
SilverpeasToolContent
An extension to manage contents handled by tools.Methods in org.silverpeas.core.contribution.model with type parameters of type Contribution Modifier and Type Method Description default <T extends Contribution>
Optional<ResourcePath<T>>Contribution. getResourcePath()
Methods in org.silverpeas.core.contribution.model with parameters of type Contribution Modifier and Type Method Description static void
WysiwygContent. deleteAllContents(Contribution contribution)
Deletes all the WYSIWYG contents of the specified contribution.static LocalizedContribution
LocalizedContribution. from(Contribution contribution)
Decorates the specified contribution with the support of l10n.static LocalizedContribution
LocalizedContribution. from(Contribution contribution, String language)
Decorates the specified contribution with the support of l10n and as authored in the specified language.static ContributionLocalizationBundle
ContributionLocalizationBundle. getByInstanceAndLanguage(Contribution contribution, String language)
Gets theContributionLocalizationBundle
for aContribution
adapted from a specified language. -
Uses of Contribution in org.silverpeas.core.contribution.publication.datereminder
Methods in org.silverpeas.core.contribution.publication.datereminder with parameters of type Contribution Modifier and Type Method Description void
PublicationDateReminderDeleter. delete(Contribution contribution)
-
Uses of Contribution in org.silverpeas.core.contribution.publication.model
Classes in org.silverpeas.core.contribution.publication.model that implement Contribution Modifier and Type Class Description class
PublicationDetail
This object contains the description of a publication -
Uses of Contribution in org.silverpeas.core.contribution.service
Methods in org.silverpeas.core.contribution.service with parameters of type Contribution Modifier and Type Method Description void
WysiwygContentRepository. deleteByContribution(Contribution contribution)
Deletes all the contents of the specified contribution in the repository. -
Uses of Contribution in org.silverpeas.core.contribution.tracking
Methods in org.silverpeas.core.contribution.tracking with parameters of type Contribution Modifier and Type Method Description void
ContributionTrackingService. create(Contribution contribution)
Saves the event on the creation of the specified contribution.void
ContributionTrackingService. delete(Contribution contribution)
Saves the event on the deletion of the specified contribution.void
ContributionTrackingService. move(Contribution before, Contribution after)
Saves the event on the move of the contribution from a location to another one.void
ContributionTrackingService. update(Contribution before, Contribution after)
Saves the event on the update of the contribution. -
Uses of Contribution in org.silverpeas.core.contribution.util
Methods in org.silverpeas.core.contribution.util that return Contribution Modifier and Type Method Description Contribution
ContributionBatchManagementContext.ContributionContext. getContribution()
Methods in org.silverpeas.core.contribution.util with parameters of type Contribution Modifier and Type Method Description ContributionBatchManagementContext
ContributionBatchManagementContext. addContributionContext(Contribution contribution, ContributionStatus contributionStatus, Location location, SubscriptionResource linkedSubscriptionResource)
Setup the finest subscription resource linked to the entity that is handled.static ContributionManagementContext
ContributionManagementContext. on(Contribution contribution)
Initializes a context by specifying the contribution handled by this context. -
Uses of Contribution in org.silverpeas.core.io.media.image.thumbnail.control
Methods in org.silverpeas.core.io.media.image.thumbnail.control with parameters of type Contribution Modifier and Type Method Description void
ThumbnailDeleter. delete(Contribution contribution)
-
Uses of Contribution in org.silverpeas.core.node.model
Classes in org.silverpeas.core.node.model that implement Contribution Modifier and Type Class Description class
NodeDetail
This object contains the description of a node (own attributes and children attributes) -
Uses of Contribution in org.silverpeas.core.notification.user.builder
Classes in org.silverpeas.core.notification.user.builder with type parameters of type Contribution Modifier and Type Class Description class
AbstractContributionTemplateUserNotificationBuilder<C extends Contribution>
Centralization of common behavior around the contribution implementations. -
Uses of Contribution in org.silverpeas.core.pdc.pdc.model
Methods in org.silverpeas.core.pdc.pdc.model with parameters of type Contribution Modifier and Type Method Description static PdcClassification
PdcClassification. aPdcClassificationOfContent(Contribution contribution)
Creates an empty classification on the PdC of the specified content represented by the givenContribution
.void
PdcClassification. classifyContent(Contribution content)
Classifies the specified content on the PdC with this classification.void
PdcClassification. classifyContent(Contribution content, boolean alertSubscribers)
Classifies the specified content on the PdC with this classification. -
Uses of Contribution in org.silverpeas.core.pdc.pdc.service
Methods in org.silverpeas.core.pdc.pdc.service with parameters of type Contribution Modifier and Type Method Description void
DefaultPdcClassificationService. classifyContent(Contribution contribution, PdcClassification withClassification, boolean alertSubscribers)
Classifies the specified contribution on the PdC with the specified classification.void
PdcClassificationService. classifyContent(Contribution content, PdcClassification withClassification, boolean alertSubscribers)
Classifies the specified content on the PdC with the specified classification. -
Uses of Contribution in org.silverpeas.core.questioncontainer.container.model
Classes in org.silverpeas.core.questioncontainer.container.model that implement Contribution Modifier and Type Class Description class
QuestionContainerDetail
class
QuestionContainerHeader
-
Uses of Contribution in org.silverpeas.core.reminder
Methods in org.silverpeas.core.reminder that return Contribution Modifier and Type Method Description protected Contribution
Reminder. getContribution()
Gets the contribution related by this reminder.Methods in org.silverpeas.core.reminder with parameters of type Contribution Modifier and Type Method Description void
ContributionReminderListener. delete(Contribution contribution)
void
ContributionReminderListener. move(Contribution before, Contribution after)
protected void
DefaultContributionReminderUserNotification. performTemplateData(Contribution localizedContribution, SilverpeasTemplate template)
void
ContributionReminderListener. update(Contribution before, Contribution after)
-
Uses of Contribution in org.silverpeas.core.silverstatistics.access.service
Methods in org.silverpeas.core.silverstatistics.access.service with type parameters of type Contribution Modifier and Type Method Description <T extends Contribution>
Stream<T>DefaultStatisticService. filterRead(Collection<T> contributions, String userId)
<T extends Contribution>
Stream<T>StatisticService. filterRead(Collection<T> contributions, String userId)
Filters the given contributions in order to keep only those read by the user represented by the given identifier. -
Uses of Contribution in org.silverpeas.core.util
Classes in org.silverpeas.core.util with type parameters of type Contribution Modifier and Type Class Description class
ContributionPath<T extends Contribution>
The path of a resource in the organizational resources tree of Silverpeas.Methods in org.silverpeas.core.util with parameters of type Contribution Modifier and Type Method Description static String
URLUtil. getSearchResultURL(Contribution content)
-
Uses of Contribution in org.silverpeas.core.web.util
Classes in org.silverpeas.core.web.util with type parameters of type Contribution Modifier and Type Class Description class
SimpleContributionUIEntity<C extends Contribution>
Extension ofSelectableUIEntity
which handles simple cases ofContribution
UI selection.
Of course, if some stuffs are missing into this implementation, it is highly recommended to extend this class.Methods in org.silverpeas.core.web.util with type parameters of type Contribution Modifier and Type Method Description static <D extends Contribution,W extends SimpleContributionUIEntity<D>>
WSimpleContributionUIEntity. convert(D contribution, Set<String> selectedIds)
Initializes an item from the givenContribution
and a list of selected ids as string.static <D extends Contribution,W extends SimpleContributionUIEntity<D>>
SilverpeasList<W>SimpleContributionUIEntity. convertList(List<D> contributionList, Set<String> selectedIds)
Converts the given data list into aSilverpeasList
of item wrapping theContribution
. -
Uses of Contribution in org.silverpeas.core.webapi.selection
Methods in org.silverpeas.core.webapi.selection with type parameters of type Contribution Modifier and Type Method Description <T extends Contribution>
TBasketItem. toContribution()
Finds the contribution that is mapped by thisBasketItem
instance.
-