Make Party Relationship Helper more common
------------------------------------------ Key: OFBIZ-3787 URL: https://issues.apache.org/jira/browse/OFBIZ-3787 Project: OFBiz Issue Type: Improvement Components: party Affects Versions: SVN trunk Reporter: Sascha Rodekamp Fix For: SVN trunk Hi, here is a little patch that improves the Party Relationship Helper. The ActivePartyRelationship Method is set to deprecated. Therefore i added two new Methods one with the same signature of the getActivePartyRelationships and one where you can explicit set a activeOnly Flag. After the Patch you're able to receiver either the active party relationship or (if needed) the inactive to. Cheers Sascha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp updated OFBIZ-3787: ----------------------------------- Attachment: OFBIZ-3787_PartyRelationshipHelper.java.patch > Make Party Relationship Helper more common > ------------------------------------------ > > Key: OFBIZ-3787 > URL: https://issues.apache.org/jira/browse/OFBIZ-3787 > Project: OFBiz > Issue Type: Improvement > Components: party > Affects Versions: SVN trunk > Reporter: Sascha Rodekamp > Fix For: SVN trunk > > Attachments: OFBIZ-3787_PartyRelationshipHelper.java.patch > > > Hi, > here is a little patch that improves the Party Relationship Helper. > The ActivePartyRelationship Method is set to deprecated. Therefore i added two new Methods one with the same signature of the getActivePartyRelationships and one where you can explicit set a activeOnly Flag. > After the Patch you're able to receiver either the active party relationship or (if needed) the inactive to. > Cheers > Sascha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-3787. ---------------------------------- Assignee: Jacques Le Roux Resolution: Fixed Thanks Sacha, Your patch is in trunk at r949820 Anyway, for few months I want to refactor this and as I mentionned in r894113 I will use simple-method and seca rather... > Make Party Relationship Helper more common > ------------------------------------------ > > Key: OFBIZ-3787 > URL: https://issues.apache.org/jira/browse/OFBIZ-3787 > Project: OFBiz > Issue Type: Improvement > Components: party > Affects Versions: SVN trunk > Reporter: Sascha Rodekamp > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-3787_PartyRelationshipHelper.java.patch > > > Hi, > here is a little patch that improves the Party Relationship Helper. > The ActivePartyRelationship Method is set to deprecated. Therefore i added two new Methods one with the same signature of the getActivePartyRelationships and one where you can explicit set a activeOnly Flag. > After the Patch you're able to receiver either the active party relationship or (if needed) the inactive to. > Cheers > Sascha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-3787. ---------------------------------- Resolution: Invalid This was not complete an I reverted at r952187.I will not reopen as I will refactor this with a bunch of other things when I will get a chance... > Make Party Relationship Helper more common > ------------------------------------------ > > Key: OFBIZ-3787 > URL: https://issues.apache.org/jira/browse/OFBIZ-3787 > Project: OFBiz > Issue Type: Improvement > Components: party > Affects Versions: SVN trunk > Reporter: Sascha Rodekamp > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-3787_PartyRelationshipHelper.java.patch > > > Hi, > here is a little patch that improves the Party Relationship Helper. > The ActivePartyRelationship Method is set to deprecated. Therefore i added two new Methods one with the same signature of the getActivePartyRelationships and one where you can explicit set a activeOnly Flag. > After the Patch you're able to receiver either the active party relationship or (if needed) the inactive to. > Cheers > Sascha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reopened OFBIZ-3787: ------------------------------------ > Make Party Relationship Helper more common > ------------------------------------------ > > Key: OFBIZ-3787 > URL: https://issues.apache.org/jira/browse/OFBIZ-3787 > Project: OFBiz > Issue Type: Improvement > Components: party > Affects Versions: SVN trunk > Reporter: Sascha Rodekamp > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: OFBIZ-3787_PartyRelationshipHelper.java.patch > > > Hi, > here is a little patch that improves the Party Relationship Helper. > The ActivePartyRelationship Method is set to deprecated. Therefore i added two new Methods one with the same signature of the getActivePartyRelationships and one where you can explicit set a activeOnly Flag. > After the Patch you're able to receiver either the active party relationship or (if needed) the inactive to. > Cheers > Sascha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |