Uses of Class
org.silverpeas.core.contribution.publication.model.PublicationPK
-
Packages that use PublicationPK Package Description org.silverpeas.core.contribution.publication.dao org.silverpeas.core.contribution.publication.model org.silverpeas.core.contribution.publication.service org.silverpeas.core.contribution.publication.subscription org.silverpeas.core.importexport.control org.silverpeas.core.security.authorization Provides the Authorization API from which the rights of a user or of a user group to access a resource in Silverpeas can be checked.org.silverpeas.core.tagcloud.service -
-
Uses of PublicationPK in org.silverpeas.core.contribution.publication.dao
Methods in org.silverpeas.core.contribution.publication.dao that return types with arguments of type PublicationPK Modifier and Type Method Description static Collection<PublicationPK>
PublicationFatherDAO. getPubPKsInFatherPK(Connection con, NodePK fatherPK)
Gets the identifiers of all of the publications that have as father at least one of the specified ones.static SilverpeasList<PublicationPK>
PublicationDAO. selectPksByCriteria(Connection con, PublicationCriteria criteria)
Methods in org.silverpeas.core.contribution.publication.dao with parameters of type PublicationPK Modifier and Type Method Description static void
PublicationFatherDAO. addAlias(Connection con, PublicationPK pubPK, Location location)
Adds a new alias to the specified publication.static void
PublicationFatherDAO. addFather(Connection con, PublicationPK pubPK, NodePK fatherPK)
Adds a new father to this publication.static void
SeeAlsoDAO. addLink(Connection con, PublicationPK objectPK, ResourceReference targetPK)
Method declarationstatic void
PublicationDAO. changeInstanceId(Connection con, PublicationPK pubPK, String newInstanceId)
static void
SeeAlsoDAO. deleteLinksByObjectId(Connection con, PublicationPK objectPK)
static void
PublicationDAO. deleteRow(Connection con, PublicationPK pk)
static List<Location>
PublicationFatherDAO. getAliases(Connection con, PublicationPK pubPK)
Gets all the aliases of the specified publication.static List<NodePK>
PublicationFatherDAO. getAllFatherPKInSamePublicationComponentInstance(Connection con, PublicationPK pubPK)
Gets the identifiers of all the fathers of the specified publication and that are in the same component instance the publication is.static List<PublicationLink>
SeeAlsoDAO. getLinks(Connection con, PublicationPK pubPK)
Method declarationstatic List<Location>
PublicationFatherDAO. getLocations(Connection con, PublicationPK pubPK)
Gets all the locations (the original one and the aliases) of the specified publication.static List<Location>
PublicationFatherDAO. getLocations(Connection con, PublicationPK pubPK, String compoId)
Gets the locations of the specified publication in the given component instance.static Location
PublicationFatherDAO. getMainLocation(Connection con, PublicationPK pubPK)
Gets the main location of the specified publication.static List<PublicationLink>
SeeAlsoDAO. getReverseLinks(Connection con, PublicationPK pubPK)
gets the publication identifiers which reference given publicationstatic ValidationStep
ValidationStepsDAO. getStepByUser(Connection con, PublicationPK pubPK, String userId)
static List<ValidationStep>
ValidationStepsDAO. getSteps(Connection con, PublicationPK pubPK)
static List<PublicationI18N>
PublicationI18NDAO. getTranslations(Connection con, PublicationPK pubPK)
static Collection<PublicationDetail>
PublicationDAO. getUnavailablePublicationsByPublisherId(Connection con, PublicationPK pubPK, String publisherId, String nodeId)
static PublicationDetail
PublicationDAO. loadRow(Connection con, PublicationPK pk)
static void
PublicationFatherDAO. removeAlias(Connection con, PublicationPK pubPK, Location location)
Removes the specified alias among the aliases of the given publication.static void
PublicationFatherDAO. removeAllFathers(Connection con, PublicationPK pubPK)
Deletes all the fathers of this publication.static void
PublicationFatherDAO. removeFather(Connection con, PublicationPK pubPK, NodePK fatherPK)
Removes a father of this publication.static void
PublicationFatherDAO. removeFathersToPublications(Connection con, PublicationPK pubPK, Collection<String> fatherIds)
static void
ValidationStepsDAO. removeSteps(Connection con, PublicationPK pubPK)
static void
PublicationI18NDAO. removeTranslations(Connection con, PublicationPK pubPK)
static Collection<PublicationDetail>
PublicationDAO. selectByBeginDateDescAndStatus(Connection con, PublicationPK pubPK, String status)
static PublicationDetail
PublicationDAO. selectByName(Connection con, PublicationPK pubPK, String name)
static PublicationDetail
PublicationDAO. selectByNameAndNodeId(Connection con, PublicationPK pubPK, String name, int nodeId)
static PublicationDetail
PublicationDAO. selectByPrimaryKey(Connection con, PublicationPK primaryKey)
static PublicationDetail
PublicationDAO. selectByPublicationName(Connection con, PublicationPK primaryKey, String name)
static PublicationDetail
PublicationDAO. selectByPublicationNameAndNodeId(Connection con, PublicationPK primaryKey, String name, int nodeId)
static void
PublicationFatherDAO. updateOrder(Connection con, PublicationPK pubPK, NodePK fatherPK, int order)
Updates the order of the publication among the children of the specified father with the given order value.Method parameters in org.silverpeas.core.contribution.publication.dao with type arguments of type PublicationPK Modifier and Type Method Description static List<PublicationDetail>
PublicationDAO. getByIds(Connection con, Collection<String> publicationIds, Set<PublicationPK> indexedPks)
static List<PublicationDetail>
PublicationDAO. getMinimalDataByIds(Connection con, Collection<PublicationPK> ids)
Selects massively simple data about publications. -
Uses of PublicationPK in org.silverpeas.core.contribution.publication.model
Methods in org.silverpeas.core.contribution.publication.model that return PublicationPK Modifier and Type Method Description PublicationPK
PublicationDetail. getClonePK()
PublicationPK
PublicationDetail. getPK()
PublicationPK
PublicationLink. getPubPK()
PublicationPK
ValidationStep. getPubPK()
Methods in org.silverpeas.core.contribution.publication.model with parameters of type PublicationPK Modifier and Type Method Description PublicationDetail.Builder
PublicationDetail.Builder. setPk(PublicationPK pk)
Sets the unique identifier of thePublicationDetail
instance to build.void
PublicationDetail. setPk(PublicationPK pk)
void
PublicationLink. setPubPK(PublicationPK pubPK)
void
ValidationStep. setPubPK(PublicationPK pubPK)
Constructors in org.silverpeas.core.contribution.publication.model with parameters of type PublicationPK Constructor Description PublicationLink(String id, PublicationPK pubPK, ResourceReference target)
ValidationStep(PublicationPK pubPK, String userId, String decision)
-
Uses of PublicationPK in org.silverpeas.core.contribution.publication.service
Methods in org.silverpeas.core.contribution.publication.service that return PublicationPK Modifier and Type Method Description PublicationPK
DefaultPublicationService. createPublication(PublicationDetail detail)
PublicationPK
PublicationService. createPublication(PublicationDetail detail)
Creates in Silverpeas the specified publication.Methods in org.silverpeas.core.contribution.publication.service that return types with arguments of type PublicationPK Modifier and Type Method Description Collection<PublicationPK>
DefaultPublicationService. getPubPKsInFatherPK(NodePK fatherPK)
Collection<PublicationPK>
PublicationService. getPubPKsInFatherPK(NodePK fatherPK)
Methods in org.silverpeas.core.contribution.publication.service with parameters of type PublicationPK Modifier and Type Method Description void
DefaultPublicationService. addAliases(PublicationPK pubPK, List<Location> aliases)
void
PublicationService. addAliases(PublicationPK pubPK, List<Location> aliases)
Adds the specified aliases of the specified publication.void
DefaultPublicationService. addFather(PublicationPK pubPK, NodePK fatherPK)
void
PublicationService. addFather(PublicationPK pubPK, NodePK fatherPK)
Adds the specified father to the given publication.void
DefaultPublicationService. addLinks(PublicationPK pubPK, List<ResourceReference> links)
Updates the publication linksvoid
PublicationService. addLinks(PublicationPK pubPK, List<ResourceReference> links)
Updates the publication linksvoid
DefaultPublicationService. changePublicationOrder(PublicationPK pubPK, NodePK fatherPK, int direction)
void
PublicationService. changePublicationOrder(PublicationPK pubPK, NodePK fatherPK, int direction)
Change the order of the given publication among the others one for the specified father.void
DefaultPublicationService. createIndex(PublicationPK pubPK)
void
PublicationService. createIndex(PublicationPK pubPK)
void
DefaultPublicationService. deleteIndex(PublicationPK pubPK)
Called on : - deletePublication()void
PublicationService. deleteIndex(PublicationPK pubPK)
List<Location>
DefaultPublicationService. getAllAliases(PublicationPK pubPK)
List<Location>
PublicationService. getAllAliases(PublicationPK pubPK)
Gets all the aliases of the specified publication.Collection<NodePK>
DefaultPublicationService. getAllFatherPK(PublicationPK pubPK)
Collection<NodePK>
PublicationService. getAllFatherPK(PublicationPK pubPK)
Deprecated.use instead the renamedPublicationService.getAllFatherPKInSamePublicationComponentInstance(PublicationPK)
.List<NodePK>
DefaultPublicationService. getAllFatherPKInSamePublicationComponentInstance(PublicationPK pubPK)
List<NodePK>
PublicationService. getAllFatherPKInSamePublicationComponentInstance(PublicationPK pubPK)
Gets the unique identifying key of all of the fathers of the specified publication and in the same component instance.List<Location>
DefaultPublicationService. getAllLocations(PublicationPK pubPK)
List<Location>
PublicationService. getAllLocations(PublicationPK pubPK)
Gets all the locations of the specified publication whatever the component instance in which they are.CompletePublication
DefaultPublicationService. getCompletePublication(PublicationPK pubPK)
CompletePublication
PublicationService. getCompletePublication(PublicationPK pubPK)
Gets the complete detail about the specified publication.PublicationDetail
DefaultPublicationService. getDetail(PublicationPK pubPK)
PublicationDetail
PublicationService. getDetail(PublicationPK pubPK)
Gets the publication with the specified identifying key.PublicationDetail
DefaultPublicationService. getDetailByName(PublicationPK pubPK, String pubName)
PublicationDetail
PublicationService. getDetailByName(PublicationPK pubPK, String pubName)
Looking for, in the instance identified by pubPK, a publication named pubName.PublicationDetail
DefaultPublicationService. getDetailByNameAndNodeId(PublicationPK pubPK, String pubName, int nodeId)
PublicationDetail
PublicationService. getDetailByNameAndNodeId(PublicationPK pubPK, String pubName, int nodeId)
List<Location>
DefaultPublicationService. getLocationsInComponentInstance(PublicationPK pubPK, String instanceId)
List<Location>
PublicationService. getLocationsInComponentInstance(PublicationPK pubPK, String instanceId)
Gets the locations of the specified publication in the given component instance.Optional<Location>
DefaultPublicationService. getMainLocation(PublicationPK pubPK)
Optional<Location>
PublicationService. getMainLocation(PublicationPK pubPK)
Gets the main location of the specified publication.ValidationStep
DefaultPublicationService. getValidationStepByUser(PublicationPK pubPK, String userId)
ValidationStep
PublicationService. getValidationStepByUser(PublicationPK pubPK, String userId)
List<ValidationStep>
DefaultPublicationService. getValidationSteps(PublicationPK pubPK)
List<ValidationStep>
PublicationService. getValidationSteps(PublicationPK pubPK)
void
DefaultPublicationService. movePublication(PublicationPK pk, NodePK toFatherPK, boolean indexIt)
void
PublicationService. movePublication(PublicationPK pubPK, NodePK toFatherPK, boolean indexIt)
Moves the specified publication to the specified father and indexes or not it.void
DefaultPublicationService. removeAliases(PublicationPK pubPK, Collection<Location> aliases)
void
PublicationService. removeAliases(PublicationPK pubPK, Collection<Location> aliases)
Removes the specified aliases of the specified publication.void
DefaultPublicationService. removeAllFathers(PublicationPK pubPK)
void
PublicationService. removeAllFathers(PublicationPK pubPK)
Removes the specified publication from all fathers.void
DefaultPublicationService. removeFather(PublicationPK pubPK, NodePK fatherPK)
void
PublicationService. removeFather(PublicationPK pubPK, NodePK fatherPK)
Removes the specified publication from the specified father.void
DefaultPublicationService. removeFathers(PublicationPK pubPK, Collection<String> fatherIds)
void
PublicationService. removeFathers(PublicationPK pubPK, Collection<String> fatherIds)
Removes the specified publication from all the specified father.void
DefaultPublicationService. removePublication(PublicationPK pk)
void
PublicationService. removePublication(PublicationPK pubPK)
Removes the specified publication.void
DefaultPublicationService. removeValidationSteps(PublicationPK pubPK)
void
PublicationService. removeValidationSteps(PublicationPK pubPK)
Pair<Collection<Location>,Collection<Location>>
DefaultPublicationService. setAliases(PublicationPK pubPK, List<Location> aliases)
Pair<Collection<Location>,Collection<Location>>
PublicationService. setAliases(PublicationPK pubPK, List<Location> aliases)
Sets the aliases of the specified publication.Method parameters in org.silverpeas.core.contribution.publication.service with type arguments of type PublicationPK Modifier and Type Method Description List<PublicationDetail>
DefaultPublicationService. getMinimalDataByIds(Collection<PublicationPK> ids)
List<PublicationDetail>
PublicationService. getMinimalDataByIds(Collection<PublicationPK> ids)
Selects massively simple data about publications.List<PublicationDetail>
DefaultPublicationService. getPublications(Collection<PublicationPK> publicationPKs)
List<PublicationDetail>
PublicationService. getPublications(Collection<PublicationPK> publicationPKs)
Gets all the asked publications. -
Uses of PublicationPK in org.silverpeas.core.contribution.publication.subscription
Methods in org.silverpeas.core.contribution.publication.subscription with parameters of type PublicationPK Modifier and Type Method Description static PublicationAliasSubscriptionResource
PublicationAliasSubscriptionResource. from(PublicationPK pk)
A way to get an instance of a publication subscription resource.static PublicationSubscriptionResource
PublicationSubscriptionResource. from(PublicationPK pk)
A way to get an instance of a publication subscription resource.Constructors in org.silverpeas.core.contribution.publication.subscription with parameters of type PublicationPK Constructor Description PublicationAliasSubscriptionResource(PublicationPK pk)
Default constructorPublicationSubscriptionResource(PublicationPK pk)
Default constructor -
Uses of PublicationPK in org.silverpeas.core.importexport.control
Methods in org.silverpeas.core.importexport.control with parameters of type PublicationPK Modifier and Type Method Description static void
PublicationImportExport. addNodesToPublication(PublicationPK pubPK, List<Integer> nodes)
Add nodes (coordinatesId) to a publication.protected abstract void
GEDImportExport. addPublicationToTopic(PublicationPK pubPK, NodePK topicPK)
List<Location>
GEDImportExport. getAliases(PublicationPK pubPK)
List<Location>
GEDImportExport. getAllTopicsOfPublicationInSameComponentInstance(PublicationPK pubPK)
Methode renvoyant la liste des topics de la publication sous forme de NodePKprotected abstract CompletePublication
GEDImportExport. getCompletePublication(PublicationPK pk)
-
Uses of PublicationPK in org.silverpeas.core.security.authorization
Methods in org.silverpeas.core.security.authorization that return types with arguments of type PublicationPK Modifier and Type Method Description Stream<PublicationPK>
PublicationAccessController. filterAuthorizedByUser(Collection<PublicationPK> pks, String userId, AccessControlContext context)
Methods in org.silverpeas.core.security.authorization with parameters of type PublicationPK Modifier and Type Method Description protected void
PublicationAccessController. fillUserRoles(Set<SilverpeasRole> userRoles, AccessControlContext context, String userId, PublicationPK publicationPK)
boolean
PublicationAccessController. isUserAuthorized(String userId, PublicationPK pubPk, AccessControlContext context)
Method parameters in org.silverpeas.core.security.authorization with type arguments of type PublicationPK Modifier and Type Method Description Stream<PublicationPK>
PublicationAccessController. filterAuthorizedByUser(Collection<PublicationPK> pks, String userId, AccessControlContext context)
-
Uses of PublicationPK in org.silverpeas.core.tagcloud.service
Methods in org.silverpeas.core.tagcloud.service that return PublicationPK Modifier and Type Method Description PublicationPK
TagCloudPublicationService. createPublication(PublicationDetail detail)
Methods in org.silverpeas.core.tagcloud.service with parameters of type PublicationPK Modifier and Type Method Description void
TagCloudPublicationService. deleteIndex(PublicationPK pubPK)
Called on : - deletePublication()
-