Class Party2Abstract
java.lang.Object
org.nuiton.topia.persistence.internal.AbstractTopiaEntity
org.nuiton.topia.it.legacy.AbstractTopiaItLegacyEntity
org.nuiton.topia.it.legacy.topiatest.deletetest.Party2Abstract
- All Implemented Interfaces:
Serializable,Party2,ListenableBean,ListenableTopiaEntity,TopiaEntity
- Direct Known Subclasses:
Party2Impl
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<Contact2>Nom de l'attribut en BD : contactsFields inherited from class org.nuiton.topia.persistence.internal.AbstractTopiaEntity
DEFAULT_INSTANCE, deleted, firesSupport, postReadListeners, postWriteListeners, preReadListeners, preWriteListeners, topiaCreateDate, topiaId, topiaVersionFields inherited from interface org.nuiton.topia.it.legacy.topiatest.deletetest.Party2
PROPERTY_CONTACTSFields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, PROPERTY_TOPIA_CREATE_DATE, PROPERTY_TOPIA_ID, PROPERTY_TOPIA_VERSION, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TopiaEntityVisitor visitor) protected voidaccept0(TopiaEntityVisitor visitor) voidaddAllContacts(Iterable<Contact2> contacts) voidaddContacts(Contact2 contacts) voidbooleancontainsContacts(Contact2 contacts) getContactsByTopiaId(String topiaId) booleanbooleanvoidremoveContacts(Contact2 contacts) voidsetContacts(Collection<Contact2> contacts) intMethods inherited from class org.nuiton.topia.persistence.internal.AbstractTopiaEntity
addPostReadListener, addPostReadListener, addPostWriteListener, addPostWriteListener, addPreReadListener, addPreReadListener, addPreWriteListener, addPreWriteListener, addPropertyChangeListener, addPropertyChangeListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getFiresSupport, getFiresSupportOrNull, getPostReadListeners, getPostWriteListeners, getPreReadListeners, getPreWriteListeners, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, isDeleted, isPersisted, notifyDeleted, removePostReadListener, removePostReadListener, removePostWriteListener, removePostWriteListener, removePreReadListener, removePreReadListener, removePreWriteListener, removePreWriteListener, removePropertyChangeListener, removePropertyChangeListener, setFiresSupport, setTopiaCreateDate, setTopiaId, setTopiaVersionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuiton.topia.persistence.event.ListenableBean
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from interface org.nuiton.topia.persistence.event.ListenableTopiaEntity
addPostReadListener, addPostReadListener, addPostWriteListener, addPostWriteListener, addPreReadListener, addPreReadListener, addPreWriteListener, addPreWriteListener, removePostReadListener, removePostReadListener, removePostWriteListener, removePostWriteListener, removePreReadListener, removePreReadListener, removePreWriteListener, removePreWriteListenerMethods inherited from interface org.nuiton.topia.persistence.TopiaEntity
getTopiaCreateDate, getTopiaId, getTopiaVersion, isDeleted, isPersisted, notifyDeleted, setTopiaCreateDate, setTopiaId, setTopiaVersion
-
Field Details
-
contacts
Nom de l'attribut en BD : contacts
-
-
Constructor Details
-
Party2Abstract
public Party2Abstract()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceTopiaEntity- Throws:
TopiaException
-
accept0
- Throws:
TopiaException
-
addContacts
- Specified by:
addContactsin interfaceParty2
-
addAllContacts
- Specified by:
addAllContactsin interfaceParty2
-
setContacts
- Specified by:
setContactsin interfaceParty2
-
removeContacts
- Specified by:
removeContactsin interfaceParty2
-
clearContacts
public void clearContacts()- Specified by:
clearContactsin interfaceParty2
-
getContacts
- Specified by:
getContactsin interfaceParty2
-
getContactsByTopiaId
- Specified by:
getContactsByTopiaIdin interfaceParty2
-
getContactsTopiaIds
- Specified by:
getContactsTopiaIdsin interfaceParty2
-
sizeContacts
public int sizeContacts()- Specified by:
sizeContactsin interfaceParty2
-
isContactsEmpty
public boolean isContactsEmpty()- Specified by:
isContactsEmptyin interfaceParty2
-
isContactsNotEmpty
public boolean isContactsNotEmpty()- Specified by:
isContactsNotEmptyin interfaceParty2
-
containsContacts
- Specified by:
containsContactsin interfaceParty2
-