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
import java.util.AbstractMap; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.LinkedHashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; |
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:table var="row" rowBandingInterval="0" id="t11" | |
binding="#{pageFlowScope.tempBean.table}" value="#{pageFlowScope.tempBean.valuesList}" | |
rowSelection="multiple" | |
queryListener="#{pageFlowScope.tempBean.onQuery}" | |
filterModel="#{pageFlowScope.tempBean.qs}" | |
filterVisible="true" emptyText="no result found"> | |
<af:column sortProperty="firstName" sortable="true" filterable="true" | |
headerText="FirstName" id="c1"> | |
<af:outputText value="#{row.firstName}" id="ot1"/> |
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 class Person { | |
private String firstName; | |
private String lastName; | |
public Person() { | |
super(); | |
} | |
public void setFirstName(String firstName) { | |
this.firstName = firstName; |
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 com.blogspot.ramannanda.demos.validationapp.view.backing; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.Comparator; | |
import java.util.List; | |
import javax.el.ELContext; | |
import javax.faces.context.FacesContext; |
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 com.blogspot.ramannanda.security.fortress; | |
import java.util.ArrayList; | |
import java.util.HashSet; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Set; | |
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
package com.blogspot.ramannanda.apps.simplyread.utils; | |
import android.content.Context; | |
import android.graphics.Typeface; | |
import android.renderscript.Font; | |
import android.util.Log; | |
import java.lang.reflect.Field; | |
public class TypefaceUtil { |
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
import org.apache.chemistry.opencmis.client.api.*; | |
import org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl; | |
import org.apache.chemistry.opencmis.commons.SessionParameter; | |
import org.apache.chemistry.opencmis.commons.enums.BindingType; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.util.Calendar; | |
import java.util.HashMap; | |
import java.util.List; |
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
/* | |
* Copyright 2014 Alex Curran | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js" djconfig="parseOnLoad:true"></script> | |
<script type="text/javascript"> | |
dojo.require("dojo.fx"); | |
dojo.require("dojo.fx.easing"); | |
dojo.require("dojox.widget.Toaster"); | |
dojo.require("dojo.parser"); | |
dojo.require("dojo.io.script"); | |
var doAddInfo=true; | |
var intervalId; |
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
SimpleSearchFilter filter=store.getSimpleSearchFilter(RoleProfile.NAME,SimpleSearchFilter.TYPE_EQUAL,null); | |
String wildCardChar=filter.getWildCardChar(); | |
filter.setValue(wildCardChar); | |
SearchParameters parameters=new SearchParameters(filter,SearchParameters.SEARCH_ROLES_ONLY) ; | |
SearchResponse resp=store.searchRoles(Role.SCOPE_ANY, parameters); | |
while(resp.hasNext()){ | |
Role role=(Role)resp.next(); | |
} |
OlderNewer