This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class AccountProcessManager { | |
| private Account account; | |
| private Case parentCase; | |
| private final String SLA_ID = '5504100000007zk'; // Entitlement Id | |
| private final String RISK_RECORD_TYPE_ID = '01241000000PvRL'; | |
| private final String WC_RECORD_TYPE_ID = '01241000000PvRQ'; | |
| private final String LOGISTIC_RECORD_TYPE_ID = '01241000000PvRV'; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| declare | |
| l_clob CLOB; | |
| begin | |
| for i in 1..20000 loop | |
| l_clob := l_clob || 'A,B,C,D,E,F,G,H,I' || chr(13); | |
| end loop; | |
| l_clob := l_clob || 'A,B,C,D,E,F,G,H,I'; | |
| DELETE FROM bra.tmp_csv2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ProjectView = Backbone.View.extend({ | |
| ... | |
| events { | |
| 'click #add-project', 'addProject', | |
| 'click #remove-project', 'removeProject' | |
| }, | |
| addProject: function(){ | |
| // Chamado quando #add-project é clicado. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ProjectView = Backbone.View.extend({ | |
| tagName: 'ul', | |
| className: 'projects', | |
| template: _.template('<li><%= title %></li>'), | |
| render: function(){ | |
| $(this.el).append(this.template({ title: this.model.title })); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="projects"> | |
| <li>Adding a new project</li> | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ProjectView = Backbone.View.extend({ | |
| tagName: 'ul', | |
| className: 'projects', | |
| render: function(){ | |
| $(this.el).append("<li>" + this.model.title + "</li>"); | |
| } | |
| }); | |
| var project = new Project({ title: 'Adding a new project' }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="projects"></ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ProjectView = Backbone.View.extend({ | |
| tagName: 'ul', | |
| className: 'projects' | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var projectView = new ProjectView(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ProjectView = Backbone.View.extend({ | |
| el: $('body'), | |
| initialize: function(){ this.render(); }, | |
| render: function(){ $(this.el).html('My first view'); } | |
| }); |
NewerOlder