# Uses of Class
org.silverpeas.components.gallery.model.MediaPK

Packages that use MediaPK
Package
Description
org.silverpeas.components.gallery
org.silverpeas.components.gallery.model
org.silverpeas.components.gallery.process.media
org.silverpeas.components.gallery.service

- ## Uses of MediaPK in org.silverpeas.components.gallery

  Methods in org.silverpeas.components.gallery with parameters of type MediaPK
  Modifier and Type
  Method
  Description
  `void`
  MediaProcessor.`pasteInternalMedia(org.silverpeas.core.process.io.file.FileHandler fileHandler, MediaPK fromPK, InternalMedia media, boolean cut)`
  Pastes media from a source to a destination.

- ## Uses of MediaPK in org.silverpeas.components.gallery.model

  Methods in org.silverpeas.components.gallery.model that return MediaPK
  Modifier and Type
  Method
  Description
  `MediaPK`
  Media.`getMediaPK()`
  Methods in org.silverpeas.components.gallery.model with parameters of type MediaPK
  Modifier and Type
  Method
  Description
  `void`
  Media.`setMediaPK(MediaPK mediaPK)`

- ## Uses of MediaPK in org.silverpeas.components.gallery.process.media

  Methods in org.silverpeas.components.gallery.process.media with parameters of type MediaPK
  Modifier and Type
  Method
  Description
  `static GalleryPasteMediaDataProcess`
  GalleryPasteMediaDataProcess.`getInstance(Media media, String albumId, MediaPK fromMediaPk, boolean isCut)`
  `static GalleryPasteMediaFileProcess`
  GalleryPasteMediaFileProcess.`getInstance(Media media, MediaPK fromMediaPk, boolean isCut)`
  Constructors in org.silverpeas.components.gallery.process.media with parameters of type MediaPK
  Modifier
  Constructor
  Description
  `protected`
  `GalleryPasteMediaDataProcess(Media media, String albumId, MediaPK fromMediaPk, boolean isCut)`
  `protected`
  `GalleryPasteMediaFileProcess(Media media, MediaPK fromMediaPk, boolean isCut)`

- ## Uses of MediaPK in org.silverpeas.components.gallery.service

  Methods in org.silverpeas.components.gallery.service with parameters of type MediaPK
  Modifier and Type
  Method
  Description
  `Media`
  DefaultGalleryService.`getMedia(MediaPK mediaPK)`
  `Media`
  DefaultGalleryService.`getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)`
  `Media`
  GalleryService.`getMedia(MediaPK mediaPK)`
  `Media`
  GalleryService.`getMedia(MediaPK mediaPK, MediaCriteria.VISIBILITY visibility)`
  `Photo`
  DefaultGalleryService.`getPhoto(MediaPK mediaPK)`
  `Photo`
  GalleryService.`getPhoto(MediaPK mediaPK)`
  `int`
  DefaultGalleryService.`getSilverObjectId(MediaPK mediaPK)`
  `int`
  GalleryService.`getSilverObjectId(MediaPK mediaPK)`