|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.util.contact.control.ContactBmEJB
public class ContactBmEJB
Constructor Summary | |
---|---|
ContactBmEJB()
|
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 pubPK)
Called on : - deleteContact() |
void |
deleteOrphanContactsByCreatorId(ContactPK pubPK,
String creatorId)
|
Collection<NodePK> |
getAllFatherPK(ContactPK pubPK)
getAllFatherPK |
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)
Remove all the fathers 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 contact)
setDetail() update the contact content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactBmEJB()
Method Detail |
---|
public ContactDetail getDetail(ContactPK pubPK)
ContactBm
getDetail
in interface ContactBm
public ContactPK createContact(Contact contact)
ContactBm
createContact
in interface ContactBm
public void removeContact(ContactPK pubPK)
ContactBm
removeContact
in interface ContactBm
public void setDetail(Contact contact)
ContactBm
setDetail
in interface ContactBm
public void addFather(ContactPK pubPK, NodePK fatherPK)
addFather
in interface ContactBm
pubPK
- fatherPK
- public void removeFather(ContactPK pubPK, NodePK fatherPK)
removeFather
in interface ContactBm
pubPK
- fatherPK
- public void removeAllFather(ContactPK pubPK)
removeAllFather
in interface ContactBm
pubPK
- the id of the contact.public void removeAllIssue(NodePK originPK, ContactPK pubPK)
removeAllIssue
in interface ContactBm
originPK
- pubPK
- public Collection<ContactDetail> getOrphanContacts(ContactPK pubPK)
ContactBm
getOrphanContacts
in interface ContactBm
public void deleteOrphanContactsByCreatorId(ContactPK pubPK, String creatorId)
deleteOrphanContactsByCreatorId
in interface ContactBm
public Collection<ContactDetail> getUnavailableContactsByPublisherId(ContactPK pubPK, String publisherId, String nodeId)
getUnavailableContactsByPublisherId
in interface ContactBm
public Collection<NodePK> getAllFatherPK(ContactPK pubPK)
getAllFatherPK
in interface ContactBm
public Collection<ContactDetail> getDetailsByFatherPK(NodePK fatherPK)
getDetailsByFatherPK
in interface ContactBm
public Collection<ContactDetail> getDetailsByLastName(ContactPK pk, String query)
getDetailsByLastName
in interface ContactBm
public Collection<ContactDetail> getDetailsByLastNameOrFirstName(ContactPK pk, String query)
getDetailsByLastNameOrFirstName
in interface ContactBm
public Collection<ContactDetail> getDetailsByLastNameAndFirstName(ContactPK pk, String lastName, String firstName)
getDetailsByLastNameAndFirstName
in interface ContactBm
public void createInfoModel(ContactPK pubPK, String modelId)
createInfoModel
in interface ContactBm
public CompleteContact getCompleteContact(ContactPK pubPK, String modelId)
getCompleteContact
in interface ContactBm
public CompleteContact getCompleteContact(ContactPK pubPK)
getCompleteContact
in interface ContactBm
public Collection<ContactDetail> getContacts(Collection<ContactPK> contactPKs)
getContacts
in interface ContactBm
public int getNbPubInFatherPKs(Collection<NodePK> fatherPKs)
getNbPubInFatherPKs
in interface ContactBm
public Collection<ContactFatherDetail> getDetailsByFatherPKs(Collection<NodePK> fatherPKs, ContactPK pubPK, NodePK nodePK)
getDetailsByFatherPKs
in interface ContactBm
public int getNbPubByFatherPath(NodePK fatherPK, String fatherPath)
getNbPubByFatherPath
in interface ContactBm
public List<CompleteContact> getVisibleContacts(String instanceId)
ContactBm
getVisibleContacts
in interface ContactBm
instanceId
- the identifier of the component instance into which contact are retrieved.
public void index(ContactPK pk)
index
in interface ContactBm
public void deleteIndex(ContactPK pubPK)
deleteIndex
in interface ContactBm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |