This file contains 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
<af:panelBox id="pb5" text="#{vleadministrationuiBundle.DEMAND_DRAFT}" rendered="#{pageFlowScope.RecordVleDetailsBacking.isDemandDraftEnabled}" | |
> | |
<af:panelGroupLayout id="pgl21" layout="vertical" > | |
<af:panelCollection id="pc12" inlineStyle="width:630px"> | |
<f:facet name="toolbar"> | |
This file contains 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 static void resetAttributes(UIComponent rootComponent,AdfFacesContext adfFacesContext){ | |
List<UIComponent> items = rootComponent.getChildren(); | |
for ( UIComponent item : items ) { | |
resetAttributes(item,adfFacesContext); | |
if ( item instanceof RichInputText ) { | |
RichInputText input = (RichInputText)item; | |
if ( !input.isDisabled() &&!input.isReadOnly() ) { |
This file contains 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
CREATE OR REPLACE PROCEDURE "SYS"."ACCOUNT_UNLOCKER" ( p_user in varchar2 ) | |
is | |
temp_password varchar2(255); | |
begin | |
select password into temp_password from sys.user$ where upper(name)=upper(p_user | |
); | |
execute immediate 'alter user '||p_user||' account unlock ' ; | |
execute immediate 'alter user '||p_user|| ' identified by values '''||temp_passw | |
ord||''''; | |
end; |
This file contains 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
<wsdl:definitions | |
name="OMTAutomationService" | |
targetNamespace="http://ramannanda.blogspot.co.in/OMTAutomationService/" | |
xmlns:tns="http://ramannanda.blogspot.co.in/OMTAutomationService/" | |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:xmime="http://www.w3.org/2005/05/xmlmime" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
> | |
<wsdl:types> |
This file contains 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 static List<Movie> invokeRateLimitedFetch(List<SearchedMovie> searchedMovies,boolean saveFile, File file){ | |
List<Movie> movies=new ArrayList<>(); | |
Observable.zip(Observable.from(searchedMovies), | |
Observable.interval(2, TimeUnit.SECONDS), (obs,timer)->obs) | |
.doOnNext(item -> { | |
Movie movie = movieUtil.getMovieDetails(item.getId()); | |
movies.add(movie); | |
if(saveFile) { | |
writeRecordToFile(file, movie); |
This file contains 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
CREATE TABLE `places` ( | |
`woeid` int(15) NOT NULL, | |
`iso` varchar(6) NOT NULL, | |
`name` text NOT NULL, | |
`language` varchar(6) NOT NULL, | |
`type` varchar(30) NOT NULL, | |
`parent` int(15) NOT NULL, | |
PRIMARY KEY (`woeid`) | |
) ENGINE=INNODB DEFAULT CHARSET=utf8; |
This file contains 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
package sahaj.apps.vleadministration.view.bean; | |
import java.util.Map; | |
import javax.faces.context.FacesContext; | |
import javax.faces.event.PhaseId; | |
import javax.faces.event.PhaseListener; | |
import oracle.adf.model.RegionBinding; |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
package model; | |
import java.util.Map; | |
import java.util.logging.Level; | |
import model.common.AppModule; | |
import oracle.adf.share.logging.ADFLogger; |
This file contains 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
/** | |
* This method recursively deletes and organization and its permission objects/users | |
* Its descendants if any are there before deleting the organization | |
* @param orgUnit The orgUnit name | |
* @param delAdmMgr A delegated Admin Manager instance | |
* @param revMgr A Delegated review manager instance | |
* @param rvMgr A review manager instance | |
* @param admMgr A admin manager instance | |
* @return | |
*/ |