|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PublicationBm
Interface declaration
Method Summary | |
---|---|
void |
addAlias(PublicationPK pubPK,
List<Alias> alias)
|
void |
addFather(PublicationPK pubPK,
NodePK fatherPK)
add a new father (designed by "fatherPK") to a publication ("pubPK") The publication will be visible from its new father node. |
void |
addLinks(PublicationPK pubPK,
List<ForeignPK> links)
Updates the publication links |
void |
addValidationStep(ValidationStep step)
|
void |
changePublicationOrder(PublicationPK pubPK,
NodePK nodePK,
int direction)
Change order of the given publication identified by pubPK in the given nodePK. direction less than 0 means "up" else it means "down" |
void |
changePublicationsOrder(List<String> ids,
NodePK nodePK)
|
void |
createIndex(PublicationDetail pubDetail)
|
void |
createIndex(PublicationPK pubPK)
Method declaration |
PublicationPK |
createPublication(PublicationDetail detail)
Create a new publication A new line will be added in publication table. |
void |
deleteIndex(PublicationPK pubPK)
Method declaration |
void |
deleteInfoLinks(PublicationPK pubPK,
List<ForeignPK> links)
|
void |
deleteOrphanPublicationsByCreatorId(PublicationPK pubPK,
String creatorId)
Method declaration |
Collection<Alias> |
getAlias(PublicationPK pubPK)
return the publication's collection of Alias |
Collection<NodePK> |
getAllFatherPK(PublicationPK pubPK)
return a collection, containing all node primary key from where the publication is visible |
Collection<PublicationDetail> |
getAllPublications(PublicationPK pubPK)
Method declaration |
Collection<PublicationDetail> |
getAllPublications(PublicationPK pubPK,
String sorting)
|
List<SocialInformation> |
getAllPublicationsWithStatusbyUserid(String userId,
Date begin,
Date end)
|
CompletePublication |
getCompletePublication(PublicationPK pubPK)
|
Collection<Coordinate> |
getCoordinates(String pubId,
String componentId)
|
PublicationDetail |
getDetail(PublicationPK pubPK)
get details on the publication specified by the primary key given in pubPK parameter |
Collection<PublicationDetail> |
getDetailBetweenDate(String beginDate,
String endDate,
String instanceId)
|
PublicationDetail |
getDetailByName(PublicationPK pubPK,
String pubName)
Looking for, in the instance identified by pubPK, a publication named pubName. |
PublicationDetail |
getDetailByNameAndNodeId(PublicationPK pubPK,
String pubName,
int nodeId)
|
Collection<PublicationDetail> |
getDetailsByBeginDateDesc(PublicationPK pk,
int nbPubs)
return a PublicationDetail collection of x last publications |
Collection<PublicationDetail> |
getDetailsByBeginDateDescAndStatus(PublicationPK pk,
String status,
int nbPubs)
return a PublicationDetail collection of x last publications |
Collection<PublicationDetail> |
getDetailsByBeginDateDescAndStatusAndNotLinkedToFatherId(PublicationPK pk,
String status,
int nbPubs,
String fatherId)
Method declaration |
Collection<PublicationDetail> |
getDetailsByFatherIds(List<String> fatherIds,
PublicationPK pubPK)
Method declaration |
Collection<PublicationDetail> |
getDetailsByFatherIds(List<String> fatherIds,
PublicationPK pubPK,
boolean filterOnVisibilityPeriod)
|
Collection<PublicationDetail> |
getDetailsByFatherIds(List<String> fatherIds,
PublicationPK pubPK,
String sorting)
|
Collection<PublicationDetail> |
getDetailsByFatherIdsAndStatus(List<String> fatherIds,
PublicationPK pubPK,
String sorting,
String status)
|
Collection<PublicationDetail> |
getDetailsByFatherIdsAndStatusList(List<String> fatherIds,
PublicationPK pubPK,
String sorting,
List<String> status)
|
Collection<PublicationDetail> |
getDetailsByFatherIdsAndStatusList(List<String> fatherIds,
PublicationPK pubPK,
String sorting,
List<String> status,
boolean filterOnVisibilityPeriod)
|
Collection<PublicationDetail> |
getDetailsByFatherPK(NodePK fatherPK)
return a PublicationDetail collection of all publication visible from the node identified by "fatherPK" parameter |
Collection<PublicationDetail> |
getDetailsByFatherPK(NodePK fatherPK,
String sorting)
|
Collection<PublicationDetail> |
getDetailsByFatherPK(NodePK fatherPK,
String sorting,
boolean filterOnVisibilityPeriod)
|
Collection<PublicationDetail> |
getDetailsByFatherPK(NodePK fatherPK,
String sorting,
boolean filterOnVisibilityPeriod,
String userId)
|
Collection<PublicationDetail> |
getDetailsNotInFatherPK(NodePK fatherPK)
return a PublicationDetail collection of all publications not in the node identified by "fatherPK" parameter |
Collection<PublicationDetail> |
getDetailsNotInFatherPK(NodePK fatherPK,
String sorting)
|
Map<String,Integer> |
getDistributionTree(String instanceId,
String statusSubQuery,
boolean checkVisibility)
* Return the tree of nodes with the number of publication per node. |
Collection<PublicationDetail> |
getDraftsByUser(String userId)
get all publications of given user in state 'Draft'. |
int |
getNbPubByFatherPath(NodePK fatherPK,
String fatherPath)
Method declaration |
int |
getNbPubInFatherPKs(Collection<NodePK> fatherPKs)
Method declaration |
Collection<PublicationDetail> |
getNotOrphanPublications(PublicationPK pubPK)
return the Detail of publication which are linked to at least one father |
Collection<PublicationDetail> |
getOrphanPublications(PublicationPK pubPK)
return the Detail of publication which are not linked to a father |
Collection<PublicationPK> |
getPublicationPKsByStatus(String status,
List<String> componentIds)
|
Collection<PublicationDetail> |
getPublications(Collection<PublicationPK> publicationPKs)
|
Collection<PublicationDetail> |
getPublicationsByStatus(String status,
List<String> componentIds)
|
Collection<PublicationDetail> |
getPublicationsByStatus(String status,
PublicationPK pubPK)
Method declaration |
Collection<PublicationDetail> |
getPublicationsToDraftOut(boolean useClone)
|
Collection<PublicationPK> |
getPubPKsInFatherPK(NodePK fatherPK)
Method declaration |
Collection<PublicationPK> |
getPubPKsInFatherPKs(Collection<WAPrimaryKey> fatherPKs)
Method declaration |
List<SocialInformationPublication> |
getSocialInformationsListOfMyContacts(List<String> myContactsIds,
List<String> options,
Date begin,
Date end)
get list of socialInformation of my contacts according to options and number of Item and the first Index |
Collection<PublicationDetail> |
getUnavailablePublicationsByPublisherId(PublicationPK pubPK,
String publisherId,
String nodeId)
return the publications : - which take place in the basket - which are out of the visibility period |
Collection<PublicationPK> |
getUpdatedPublicationPKsByStatus(String status,
Date since,
int maxSize,
List<String> componentIds)
Return the list of publications with a maxSize as specified, each publication has the specified status and has been updated since the specified date |
ValidationStep |
getValidationStepByUser(PublicationPK pubPK,
String userId)
|
List<ValidationStep> |
getValidationSteps(PublicationPK pubPK)
|
void |
movePublication(PublicationPK pubPK,
NodePK nodePK,
boolean indexIt)
|
void |
processWysiwyg(PublicationPK pubPK)
A wysiwyg's content has been added or modified to a publication. |
void |
removeAlias(PublicationPK pubPK,
List<Alias> alias)
|
void |
removeAllFather(PublicationPK pubPK)
remove all father from a publication ("pubPK") The publication won't be visible. |
void |
removeFather(NodePK fatherPK)
remove a father (designed by "fatherPK") from a publication ("pubPK") The publication won't be visible from its old father node. |
void |
removeFather(PublicationPK pubPK,
NodePK fatherPK)
remove a father (designed by "fatherPK") from a publication ("pubPK") The publication won't be visible from its old father node. |
void |
removeFathers(PublicationPK pubPK,
Collection<String> fatherIds)
remove a father (designed by "fatherPK") from a publication ("pubPK") The publication won't be visible from its old father node. |
void |
removePublication(PublicationPK pubPK)
remove the publication designed by pubPK parameter. |
void |
removeValidationSteps(PublicationPK pubPK)
|
Collection<PublicationDetail> |
searchByKeywords(String query,
PublicationPK pubPK)
Method declaration |
List<Alias> |
setAlias(PublicationPK pubPK,
List<Alias> alias)
|
void |
setDetail(PublicationDetail detaile)
update the publication content. |
void |
setDetail(PublicationDetail detaile,
boolean forceUpdateDate)
|
Method Detail |
---|
PublicationDetail getDetail(PublicationPK pubPK)
PublicationPK createPublication(PublicationDetail detail)
void movePublication(PublicationPK pubPK, NodePK nodePK, boolean indexIt)
void changePublicationOrder(PublicationPK pubPK, NodePK nodePK, int direction)
pubPK
- the publication's id to movenodePK
- the publication's placedirection
- must be different to 0void removePublication(PublicationPK pubPK)
void setDetail(PublicationDetail detaile)
void setDetail(PublicationDetail detaile, boolean forceUpdateDate)
void addFather(PublicationPK pubPK, NodePK fatherPK)
void removeFather(PublicationPK pubPK, NodePK fatherPK)
void removeFather(NodePK fatherPK)
void removeFathers(PublicationPK pubPK, Collection<String> fatherIds)
void removeAllFather(PublicationPK pubPK)
Collection<PublicationDetail> getOrphanPublications(PublicationPK pubPK)
Collection<PublicationDetail> getNotOrphanPublications(PublicationPK pubPK)
void deleteOrphanPublicationsByCreatorId(PublicationPK pubPK, String creatorId)
pubPK
- creatorId
-
Collection<PublicationDetail> getUnavailablePublicationsByPublisherId(PublicationPK pubPK, String publisherId, String nodeId)
Collection<NodePK> getAllFatherPK(PublicationPK pubPK)
Collection<Alias> getAlias(PublicationPK pubPK)
List<Alias> setAlias(PublicationPK pubPK, List<Alias> alias)
void addAlias(PublicationPK pubPK, List<Alias> alias)
void removeAlias(PublicationPK pubPK, List<Alias> alias)
Collection<PublicationDetail> getDetailsByFatherPK(NodePK fatherPK)
Collection<PublicationDetail> getDetailsByFatherPK(NodePK fatherPK, String sorting)
Collection<PublicationDetail> getDetailsByFatherPK(NodePK fatherPK, String sorting, boolean filterOnVisibilityPeriod)
Collection<PublicationDetail> getDetailsByFatherPK(NodePK fatherPK, String sorting, boolean filterOnVisibilityPeriod, String userId)
Collection<PublicationDetail> getDetailsNotInFatherPK(NodePK fatherPK)
Collection<PublicationDetail> getDetailsNotInFatherPK(NodePK fatherPK, String sorting)
Collection<PublicationDetail> getDetailsByBeginDateDescAndStatus(PublicationPK pk, String status, int nbPubs)
Collection<PublicationDetail> getDetailsByBeginDateDesc(PublicationPK pk, int nbPubs)
Collection<PublicationDetail> getDetailsByBeginDateDescAndStatusAndNotLinkedToFatherId(PublicationPK pk, String status, int nbPubs, String fatherId)
pk
- status
- nbPubs
- fatherId
-
void deleteInfoLinks(PublicationPK pubPK, List<ForeignPK> links)
CompletePublication getCompletePublication(PublicationPK pubPK)
pubPK
-
Collection<PublicationDetail> getPublications(Collection<PublicationPK> publicationPKs)
publicationPKs
-
Collection<PublicationDetail> getPublicationsByStatus(String status, PublicationPK pubPK)
status
- pubPK
-
Collection<PublicationPK> getPublicationPKsByStatus(String status, List<String> componentIds)
Collection<PublicationPK> getUpdatedPublicationPKsByStatus(String status, Date since, int maxSize, List<String> componentIds)
status
- : the publications status.since
- : the last update of the publicationmaxSize
- : the maximum size of the list. If 0 is specified, the limit is not used.componentIds
-
Collection<PublicationDetail> getPublicationsByStatus(String status, List<String> componentIds)
Collection<PublicationDetail> searchByKeywords(String query, PublicationPK pubPK)
query
- pubPK
-
int getNbPubInFatherPKs(Collection<NodePK> fatherPKs)
fatherPKs
-
int getNbPubByFatherPath(NodePK fatherPK, String fatherPath)
fatherPK
- fatherPath
-
Map<String,Integer> getDistributionTree(String instanceId, String statusSubQuery, boolean checkVisibility)
instanceId
- statusSubQuery
- checkVisibility
-
Collection<PublicationDetail> getDetailsByFatherIds(List<String> fatherIds, PublicationPK pubPK)
fatherIds
- pubPK
-
Collection<PublicationDetail> getDetailsByFatherIds(List<String> fatherIds, PublicationPK pubPK, boolean filterOnVisibilityPeriod)
Collection<PublicationDetail> getDetailsByFatherIds(List<String> fatherIds, PublicationPK pubPK, String sorting)
Collection<PublicationDetail> getDetailsByFatherIdsAndStatus(List<String> fatherIds, PublicationPK pubPK, String sorting, String status)
Collection<PublicationDetail> getDetailsByFatherIdsAndStatusList(List<String> fatherIds, PublicationPK pubPK, String sorting, List<String> status)
Collection<PublicationDetail> getDetailsByFatherIdsAndStatusList(List<String> fatherIds, PublicationPK pubPK, String sorting, List<String> status, boolean filterOnVisibilityPeriod)
Collection<PublicationPK> getPubPKsInFatherPKs(Collection<WAPrimaryKey> fatherPKs)
fatherPKs
-
Collection<PublicationPK> getPubPKsInFatherPK(NodePK fatherPK)
fatherPK
-
void createIndex(PublicationPK pubPK)
pubPK
-
void createIndex(PublicationDetail pubDetail)
void deleteIndex(PublicationPK pubPK)
pubPK
-
Collection<PublicationDetail> getAllPublications(PublicationPK pubPK)
pubPK
-
Collection<PublicationDetail> getAllPublications(PublicationPK pubPK, String sorting)
PublicationDetail getDetailByName(PublicationPK pubPK, String pubName)
pubPK
- the identifier of the instancepubName
- the publication's name we are looking for
PublicationDetail getDetailByNameAndNodeId(PublicationPK pubPK, String pubName, int nodeId)
void processWysiwyg(PublicationPK pubPK)
pubPK
- the identifier of the publication associated to the wysiwygCollection<PublicationDetail> getDetailBetweenDate(String beginDate, String endDate, String instanceId)
beginDate
- endDate
- instanceId
-
List<ValidationStep> getValidationSteps(PublicationPK pubPK)
ValidationStep getValidationStepByUser(PublicationPK pubPK, String userId)
void addValidationStep(ValidationStep step)
void removeValidationSteps(PublicationPK pubPK)
void changePublicationsOrder(List<String> ids, NodePK nodePK)
Collection<Coordinate> getCoordinates(String pubId, String componentId)
void addLinks(PublicationPK pubPK, List<ForeignPK> links)
pubPK
- publication identifier which you want to update linkslinks
- list of publication to link with current.List<SocialInformation> getAllPublicationsWithStatusbyUserid(String userId, Date begin, Date end)
List<SocialInformationPublication> getSocialInformationsListOfMyContacts(List<String> myContactsIds, List<String> options, Date begin, Date end)
myContactsIds
- options
- begin
- end
-
Collection<PublicationDetail> getPublicationsToDraftOut(boolean useClone)
Collection<PublicationDetail> getDraftsByUser(String userId)
userId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |