|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContactBm
Method Summary | |
---|---|
void |
addFather(ContactPK pubPK,
NodePK fatherPK)
addFather() add a new father (designed by "fatherPK") to a contact ("pubPK") The contact will be visible from its new father node. |
ContactPK |
createContact(Contact contact)
createContact() Create a new contact A new line will be added in contact table. |
void |
createInfoModel(ContactPK pubPK,
String modelId)
|
void |
deleteIndex(ContactPK pk)
|
void |
deleteOrphanContactsByCreatorId(ContactPK pubPK,
String creatorId)
|
Collection<NodePK> |
getAllFatherPK(ContactPK pubPK)
getAllFatherPK() return a collection, containing all node primary key from where the contact is visible |
CompleteContact |
getCompleteContact(ContactPK pubPK)
|
CompleteContact |
getCompleteContact(ContactPK pubPK,
String modelId)
|
Collection<ContactDetail> |
getContacts(Collection<ContactPK> contactPKs)
|
ContactDetail |
getDetail(ContactPK pubPK)
getDetail() get details on the contact specified by the primary key given in pubPK parameter |
Collection<ContactDetail> |
getDetailsByFatherPK(NodePK fatherPK)
getDetailsByFatherPK() return a ContactDetail collection of all contact visible from the node identified by "fatherPK" parameter |
Collection<ContactFatherDetail> |
getDetailsByFatherPKs(Collection<NodePK> fatherPKs,
ContactPK pubPK,
NodePK nodePK)
|
Collection<ContactDetail> |
getDetailsByLastName(ContactPK pk,
String query)
|
Collection<ContactDetail> |
getDetailsByLastNameAndFirstName(ContactPK pk,
String lastName,
String firstName)
|
Collection<ContactDetail> |
getDetailsByLastNameOrFirstName(ContactPK pk,
String query)
|
int |
getNbPubByFatherPath(NodePK fatherPK,
String fatherPath)
|
int |
getNbPubInFatherPKs(Collection<NodePK> fatherPKs)
|
Collection<ContactDetail> |
getOrphanContacts(ContactPK pubPK)
getOrphanContacts() return the Detail of contact which are not linked to a father |
Collection<ContactDetail> |
getUnavailableContactsByPublisherId(ContactPK pubPK,
String publisherId,
String nodeId)
|
List<CompleteContact> |
getVisibleContacts(String instanceId)
Gets all non transitive contacts from an component represented by the given identifier that are not in basket. |
void |
index(ContactPK pk)
|
void |
removeAllFather(ContactPK pubPK)
removeAllFather() remove all father from a contact ("pubPK") The contact won't be visible. |
void |
removeAllIssue(NodePK originPK,
ContactPK pubPK)
removeAllIssue() remove all links between contacts and node N N is a descendant of the node designed by originPK |
void |
removeContact(ContactPK pubPK)
removeContact() remove the contact designed by pubPK parameter. |
void |
removeFather(ContactPK pubPK,
NodePK fatherPK)
removeFather() remove a father (designed by "fatherPK") from a contact ("pubPK") The contact won't be visible from its old father node. |
void |
setDetail(Contact detail)
setDetail() update the contact content. |
Method Detail |
---|
ContactDetail getDetail(ContactPK pubPK)
pubPK
-
ContactPK createContact(Contact contact)
detail
-
void removeContact(ContactPK pubPK)
pubPK
- void setDetail(Contact detail)
detail
- void addFather(ContactPK pubPK, NodePK fatherPK)
pubPK
- fatherPK
- void removeFather(ContactPK pubPK, NodePK fatherPK)
pubPK
- fatherPK
- void removeAllFather(ContactPK pubPK)
pubPK
- void removeAllIssue(NodePK originPK, ContactPK pubPK)
originPK
- pubPK
- Collection<ContactDetail> getOrphanContacts(ContactPK pubPK)
pubPK
-
void deleteOrphanContactsByCreatorId(ContactPK pubPK, String creatorId)
Collection<ContactDetail> getUnavailableContactsByPublisherId(ContactPK pubPK, String publisherId, String nodeId)
Collection<NodePK> getAllFatherPK(ContactPK pubPK)
pubPK
-
Collection<ContactDetail> getDetailsByFatherPK(NodePK fatherPK)
fatherPK
-
Collection<ContactDetail> getDetailsByLastName(ContactPK pk, String query)
Collection<ContactDetail> getDetailsByLastNameOrFirstName(ContactPK pk, String query)
Collection<ContactDetail> getDetailsByLastNameAndFirstName(ContactPK pk, String lastName, String firstName)
void createInfoModel(ContactPK pubPK, String modelId)
CompleteContact getCompleteContact(ContactPK pubPK)
CompleteContact getCompleteContact(ContactPK pubPK, String modelId)
Collection<ContactDetail> getContacts(Collection<ContactPK> contactPKs)
int getNbPubInFatherPKs(Collection<NodePK> fatherPKs)
Collection<ContactFatherDetail> getDetailsByFatherPKs(Collection<NodePK> fatherPKs, ContactPK pubPK, NodePK nodePK)
int getNbPubByFatherPath(NodePK fatherPK, String fatherPath)
List<CompleteContact> getVisibleContacts(String instanceId)
instanceId
- the identifier of the component instance into which contact are retrieved.
void index(ContactPK pk)
void deleteIndex(ContactPK pk)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |