public class BpiPlugIn
extends java.lang.Object
Constructor and Description |
---|
BpiPlugIn() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AccountFilterGlobal> |
findAccountFilters(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find account filters with the given id.
|
java.util.List<Member> |
findAccountMembers(Account account)
Find account members for given account.
|
java.util.List<Activity> |
findActivities(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find activities with given number.
|
java.util.List<ActivityCreator> |
findActivityCreators(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find activity creators with given name.
|
java.util.List<ActivityTracker> |
findActivityTrackers(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find activity trackers with given name.
|
java.util.List<AddressGroup> |
findAddressGroups(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find address groups with the given id.
|
java.util.List<CodeValueContainer> |
findCodeValueContainers(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find code value containers matching the given name.
|
java.util.List<Contact> |
findContacts(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find contacts with the given id.
|
java.util.List<ExporterTask> |
findExporterTasks(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find exporter tasks matching path component 6.
|
java.util.List<LegalEntity> |
findLegalEntities(org.openmdx.base.naming.Path path,
javax.jdo.PersistenceManager pm)
Find legal entities with the given id.
|
java.lang.String |
mergeActivityDetailedDescription(java.lang.String oldText,
java.lang.String newText)
Merge an activity's detailed description with a new detailed description.
|
BpiAccountFilter |
newBpiAccountFilter()
Get new instance of BpiAccountFilter.
|
BpiAccountMember |
newBpiAccountMember()
Get new instance of BpiAccountMember.
|
BpiActivity |
newBpiActivity()
Get new instance of BpiActivity.
|
BpiActivityCreator |
newBpiActivityCreator()
Get new instance of BpiActivityCreator.
|
BpiActivityFollowUp |
newBpiActivityFollowUp()
Get new instance of BpiActivityFollowUp.
|
BpiAddressGroup |
newBpiAddressGroup()
Get new instance of BpiAddressGroup.
|
BpiCodeTable |
newBpiCodeTable()
Get new instance of of BpiCodeTable.
|
BpiCodeTableEntry |
newBpiCodeTableEntry()
Get new instance of of BpiCodeTableEntry.
|
BpiContact |
newBpiContact()
Get new instance of BpiContact.
|
BpiEMailAddress |
newBpiEMailAddress()
Get new instance of BpiEMailAddress.
|
BpiLocalizedField |
newBpiLocalizedField()
Get new instance of BpiLocalizedField.
|
BpiOrganization |
newBpiOrganization()
Get new instance of BpiOrganization.
|
BpiParticipant |
newBpiParticipant()
Get new instance of BpiParticipant.
|
BpiPhoneNumber |
newBpiPhoneNumber()
Get new instance of BpiPhoneNumber.
|
BpiPostalAddress |
newBpiPostalAddress()
Get new instance of BpiPostalAddress.
|
BpiWebAddress |
newBpiWebAddress()
Get new instance of BpiWebAddress.
|
protected com.google.gson.GsonBuilder |
newGsonBuilder()
Create new instance of Gson.
|
<T> T |
parseObject(java.io.Reader r,
java.lang.Class<T> clazz)
Parse object from string.
|
java.lang.String |
printObject(java.lang.Object value)
Stringify value.
|
java.lang.String |
printObject(java.lang.Object value,
boolean prettyPrinting)
Stringify value.
|
void |
printObject(java.io.PrintWriter pw,
java.lang.Object value)
Stringify value.
|
BpiAccount |
toBpiAccount(Account account,
BpiAccount bpiAccount,
java.lang.String fetchGroup)
Map Account to BpiAccount.
|
BpiAccountFilter |
toBpiAccountFilter(AccountFilterGlobal accountFilter,
BpiAccountFilter bpiAccountFilter,
java.lang.String fetchGroup)
Map account filter to BpiAccountFilter.
|
BpiAccountMember |
toBpiAccountMember(AccountMembership membership,
BpiAccountMember bpiAccountMember,
java.lang.String fetchGroup)
Map membership to BpiAccountMember.
|
BpiAccountMember |
toBpiAccountMember(Member member,
BpiAccountMember bpiAccountMember,
java.lang.String fetchGroup)
Map member to BpiAccountMember.
|
BpiActivity |
toBpiActivity(Activity activity,
BpiActivity bpiActivity,
java.lang.String fetchGroup)
Map activity to BpiActivity.
|
BpiActivityCreator |
toBpiActivityCreator(ActivityCreator activityCreator,
BpiActivityCreator bpiActivityCreator,
java.lang.String fetchGroup)
Map activity creator to BpiActivityCreator.
|
BpiActivityFollowUp |
toBpiActivityFollowUp(ActivityFollowUp activityFollowUp,
BpiActivityFollowUp bpiActivityFollowUp,
java.lang.String fetchGroup)
Map activityFollowUp to BpiActivityFollowUp.
|
BpiAddress |
toBpiAddress(AccountAddress address,
BpiAddress bpiAddress,
java.lang.String fetchGroup)
Map address to BpiAddress.
|
BpiAddressGroup |
toBpiAddressGroup(AddressGroup addressGroup,
BpiAddressGroup bpiAddressGroup,
java.lang.String fetchGroup)
Map address group to BpiAddressGroup.
|
BpiCodeTable |
toBpiCodeTable(CodeValueContainer codeValueContainer,
BpiCodeTable bpiCodeTable,
java.util.List<java.lang.Short> locales,
java.lang.String fetchGroup)
Map code value container to BpiCodeTable.
|
BpiContact |
toBpiContact(Contact contact,
BpiContact bpiContact,
java.lang.String fetchGroup)
Map contact to BpiContact.
|
BpiEMailAddress |
toBpiEMailAddress(EMailAddress emailAddress,
java.lang.String fetchGroup)
Map EMailAddress to BpiEMailAddress.
|
BpiLocalizedField |
toBpiLocalizedField(LocalizedField localizedField,
BpiLocalizedField bpiLocalizedField,
java.lang.String fetchGroup)
Map localized field to BpiLocalizedField.
|
BpiObject |
toBpiObject(org.openmdx.base.jmi1.BasicObject object,
BpiObject bpiObject,
java.lang.String fetchGroup)
Map BasicObject to BpiObject.
|
BpiOrganization |
toBpiOrganization(LegalEntity organization,
BpiOrganization bpiOrganization,
java.lang.String fetchGroup)
Map organization to BpiOrganization.
|
BpiPhoneNumber |
toBpiPhoneNumber(PhoneNumber phoneNumber,
java.lang.String fetchGroup)
Map PhoneNumber to BpiPhoneNumber.
|
BpiPostalAddress |
toBpiPostalAddress(PostalAddress postalAddress,
java.lang.String fetchGroup)
Map PostalAddress to BpiPostalAddress.
|
BpiWebAddress |
toBpiWebAddress(WebAddress webAddress,
java.lang.String fetchGroup)
Map WebAddress to BpiWebAddress.
|
protected com.google.gson.GsonBuilder newGsonBuilder()
public void printObject(java.io.PrintWriter pw, java.lang.Object value)
pw
- value
- public java.lang.String printObject(java.lang.Object value)
value
- public java.lang.String printObject(java.lang.Object value, boolean prettyPrinting)
value
- prettyPrinting
- public <T> T parseObject(java.io.Reader r, java.lang.Class<T> clazz)
reader
- clazz
- public java.util.List<CodeValueContainer> findCodeValueContainers(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public BpiCodeTable newBpiCodeTable()
public BpiCodeTableEntry newBpiCodeTableEntry()
public BpiActivityCreator newBpiActivityCreator()
public BpiActivity newBpiActivity()
public BpiActivityFollowUp newBpiActivityFollowUp()
public BpiEMailAddress newBpiEMailAddress()
public BpiPhoneNumber newBpiPhoneNumber()
public BpiWebAddress newBpiWebAddress()
public BpiAccountMember newBpiAccountMember()
public BpiPostalAddress newBpiPostalAddress()
public BpiParticipant newBpiParticipant()
public BpiContact newBpiContact()
public BpiOrganization newBpiOrganization()
public BpiLocalizedField newBpiLocalizedField()
public BpiAddressGroup newBpiAddressGroup()
public BpiAccountFilter newBpiAccountFilter()
public BpiCodeTable toBpiCodeTable(CodeValueContainer codeValueContainer, BpiCodeTable bpiCodeTable, java.util.List<java.lang.Short> locales, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
codeValueContainer
- bpiCodeTable
- requestedLocales
- fetchGroup
- org.openmdx.base.exception.ServiceException
public BpiActivityCreator toBpiActivityCreator(ActivityCreator activityCreator, BpiActivityCreator bpiActivityCreator, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
activityCreator
- org.openmdx.base.exception.ServiceException
public BpiAddress toBpiAddress(AccountAddress address, BpiAddress bpiAddress, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
address
- bpiAddress
- fetchGroup
- org.openmdx.base.exception.ServiceException
public BpiEMailAddress toBpiEMailAddress(EMailAddress emailAddress, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
emailAddress
- org.openmdx.base.exception.ServiceException
java.io.IOException
public BpiPhoneNumber toBpiPhoneNumber(PhoneNumber phoneNumber, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
phoneNumber
- org.openmdx.base.exception.ServiceException
java.io.IOException
public BpiWebAddress toBpiWebAddress(WebAddress webAddress, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
webAddress
- org.openmdx.base.exception.ServiceException
java.io.IOException
public BpiPostalAddress toBpiPostalAddress(PostalAddress postalAddress, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
postalAddress
- org.openmdx.base.exception.ServiceException
java.io.IOException
public BpiObject toBpiObject(org.openmdx.base.jmi1.BasicObject object, BpiObject bpiObject, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
object
- bpiObject
- org.openmdx.base.exception.ServiceException
public BpiAccount toBpiAccount(Account account, BpiAccount bpiAccount, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
account
- bpiAccount
- org.openmdx.base.exception.ServiceException
public BpiContact toBpiContact(Contact contact, BpiContact bpiContact, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
contact
- org.openmdx.base.exception.ServiceException
public BpiAddressGroup toBpiAddressGroup(AddressGroup addressGroup, BpiAddressGroup bpiAddressGroup, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
addressGroup
- bpiAddressGroup
- fetchGroup
- org.openmdx.base.exception.ServiceException
public BpiAccountFilter toBpiAccountFilter(AccountFilterGlobal accountFilter, BpiAccountFilter bpiAccountFilter, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
accountFilter
- bpiAccountFilter
- fetchGroup
- org.openmdx.base.exception.ServiceException
public BpiOrganization toBpiOrganization(LegalEntity organization, BpiOrganization bpiOrganization, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
organization
- org.openmdx.base.exception.ServiceException
java.io.IOException
public BpiActivity toBpiActivity(Activity activity, BpiActivity bpiActivity, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
activity
- bpiActivity
- includeParticipants
- org.openmdx.base.exception.ServiceException
public BpiActivityFollowUp toBpiActivityFollowUp(ActivityFollowUp activityFollowUp, BpiActivityFollowUp bpiActivityFollowUp, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
activityFollowUp
- bpiActivityFollowUp
- org.openmdx.base.exception.ServiceException
public BpiAccountMember toBpiAccountMember(Member member, BpiAccountMember bpiAccountMember, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
member
- bpiAccountMember
- org.openmdx.base.exception.ServiceException
public BpiAccountMember toBpiAccountMember(AccountMembership membership, BpiAccountMember bpiAccountMember, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
membership
- bpiAccountMember
- org.openmdx.base.exception.ServiceException
public BpiLocalizedField toBpiLocalizedField(LocalizedField localizedField, BpiLocalizedField bpiLocalizedField, java.lang.String fetchGroup) throws org.openmdx.base.exception.ServiceException
localizedField
- bpiLocalizedField
- org.openmdx.base.exception.ServiceException
public java.util.List<Contact> findContacts(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.util.List<ExporterTask> findExporterTasks(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.util.List<AddressGroup> findAddressGroups(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.util.List<AccountFilterGlobal> findAccountFilters(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.util.List<Member> findAccountMembers(Account account)
account
- public java.util.List<LegalEntity> findLegalEntities(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.util.List<ActivityCreator> findActivityCreators(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.util.List<ActivityTracker> findActivityTrackers(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.util.List<Activity> findActivities(org.openmdx.base.naming.Path path, javax.jdo.PersistenceManager pm) throws org.openmdx.base.exception.ServiceException
path
- pm
- org.openmdx.base.exception.ServiceException
public java.lang.String mergeActivityDetailedDescription(java.lang.String oldText, java.lang.String newText)
oldText
- newText
- This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.