[SOLVED]Nightly update as user
Yes, I searched but couldn't find related information. Surprising actually!
I had installed the stable Mozilla Firefox package 7.0.1, then uninstalled it and installed Nightly via AUR https://aur.archlinux.org/packages.php?ID=19830
Now, updates are available but it won't let me install them( run as user). Is there anyway to do this without using yaourt/pacman but via the default firefox updater, as a user?
Using Arch x86_64 and Openbox if that matters.
Thanks!
Solved, see my post below.
Last edited by Supernova (2011-10-20 13:35:07)
Supernova wrote:
SS4 wrote:I changed the permissions in /opt/firefox-${pkgver} to my user instead of root
This did it. For anyone who might have the same issue, do this.
1. login as root in terminal
2. see where nightly is installed.
mine is in /opt/firefox-nightly10.0a1
3. chmod -R 777 the firefox directory
4. exit, run firefox-nightly as normal and update from the Help menu.
Thanks everyone for help!
This is the best arch-hacks and simplest help I have yet found in all Arch (distros) forums. Firefox (nightly and aurora) updated as it suppose to do, without having to be the QUEEN of England (or the pope) to use pacman which "anyway" would be telling me again that keys or packages are corrupted lol ahahah;)
But I did this, as a way to update future other install as well like google-chrome for example.
sudo chmod -R 777 /opt/
This is the kind of "mark as solved" I wanna see and go for whenever I do a google search (or any search to get to the point
Thanks;)
this is making my day... on top of the fact that there is a brand new motherboard-processor-memory kit arriving here in the next hour to put in some box laying around AM D happiest guy tonight happy happy happy
Similar Messages
-
Get Error while update the User defined row table through DSK Code
Hi experts,
I have got an error while updating the user row defined table.
Error is - "Invalid row"
I have created one master table "@CBF_FARM " and Child table "@CBF_FAR1"
First i inserted 5 record in the child table so in my my child table there are 5 Line id (1,2,3,4,5 one for each row).
after that i delete 2 rows (3rd & 4th row) from child table now in my child table there are 3 rows( Line id 1, 2, 5). Please See attachment.
Now i am updating the last record of child table through Code (Line id is 5) from other form, then i got error invalid row.
Following Code used for updating the user defined child table.
SAPbobsCOM.GeneralService oGeneralService1 = null;
SAPbobsCOM.GeneralData oGeneralData1 = null;
SAPbobsCOM.GeneralDataParams oGeneralParams1 = null;
SAPbobsCOM.CompanyService sCmp1 = null;
SAPbobsCOM.GeneralData oChild1 = null;
SAPbobsCOM.GeneralDataCollection oChildren1 = null;
sCmp1 = clsAddOn.LDNA_Company.GetCompanyService();
oGeneralService1 = sCmp1.GetGeneralService("CBF_FARM");
// Get UDO record
oGeneralParams1 = ((SAPbobsCOM.GeneralDataParams)(oGeneralService1.GetDataInterface(SAPbobsCOM.GeneralServiceDataInterfaces.gsGeneralDataParams)));
oGeneralParams1.SetProperty("Code", oForm.Items.Item("edtFarmCd").Specific.Value);
oGeneralData1 = oGeneralService1.GetByParams(oGeneralParams1);
// Add lines on UDO Child Table
oChildren1 = oGeneralData1.Child("CBF_FAR1");
// Create data for rows in the child table
SAPbouiCOM.Item oItem = oForm.Items.Item("cmbShed");
oCombo = oItem.Specific;
string ShedCode = oCombo.Selected.Value;
ldna_Rec = clsAddOn.LDNA_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
string strQuery1 = "select LineId from [@CBF_FAR1] where U_ShedCd = " + ShedCode;
ldna_Rec.DoQuery(strQuery1);
oChild1 = oChildren1.Item(ldna_Rec.Fields.Item("LineId").Value - 1);
oChild1.SetProperty("U_Status", "Ready For Schedule");
//Update the UDO Record
oGeneralService1.Update(oGeneralData1);
Please Help me it is an urgent requirement,
-Regards
Vikashi.
Error is - "Invalid row"
Now i am updating the last record of child table through Code (Line id is 5) from other form, then i got error invalid row.
As per my knowledge
What i understood is you have 5 lines and you are going to be update 5th line
am i correct..
while u are updating the line in child table
you have to consider like this..
line number u have to update like
1 0
2 1
3 2
4 3
5 4
which means in child table treat
line 1 as 0
line 2 as 1
line 5 as 4
If you want to update the line 5 u have to mention 4 th line -
Updating the User Status in Sales Order Item
Dear Gurus,
Iam trying to update the User Status on the SO item using STATUS_CHANGE_EXTERN function module and the status is successfully getting updated.
But the problem is if Iam updating the status it has to delete the Purchase Requisition assgined to it, which is not happening.. whereas when Iam manually changing the Status, the PR is getting deleted.. Can anyone suggest some other function module or some other way of doing it other than BDC?
Best Regards,
Sreenivas.Hi ,
I am also need to update the Item user status. Could you please provide me the logic for the FM 'STATUS_CHANGE_EXTERN'. And also let me know the where we need to write the logic in VA01/VA02.
It would be helpful me a lot.
Thanks
Srihari. -
Disable User on updating an User attribute in OIM
Hi,
I have OIM 11g R2 with LDAP SYNC enabled with OID through OVD.
I want to trigger Disable user on modifying an UDF attribute of user.
Like if attribute1 of user is set to true then disabke user operation should be triggered for the user.
So first in my adapter i will check whether attribute is true and then trigger disable user.
In 11g R2 as mapping adapters attached to Users form in dataobject manager is not supported i am not able to map to the userdefinition and hence not able to check if attribute1 is true or false.
Please help and let me know if this can be achieved in any other way.
Edited by: 988070 on Mar 20, 2013 3:55 AMYou can write a post process event handler:
It will update the user status to disable when UDF attrtibute is set to true.
For this, you need to set the condition as:
Get the value of user defined attribute and store it in a variable "flag".
disable UserManagerResult disable(java.lang.String attributeName, java.lang.Object attributeValue) //attributeName will be user defined fieldm value will be "true"
throws ValidationFailedException,
oracle.iam.platform.authz.exception.AccessDeniedException,
UserDisableException,
NoSuchUserException,
SearchKeyNotUniqueException
Disables the user account matching the search criteria.
Parameters:
attributeName - - The attribute name for the search criteria.
attributeValue - - The attribute value for the search criteria.
Returns:
UserManagerResult containing the entity id of the disabled user.
Cheers,
Vamsi. -
It will not open any of my mail unless I revert to basic mail worked fine til last Nightly update.
You need to go back to the 5/27 Nightly build. There was a change in the code and broke Yahoo. Nightly builds can break '''anything''' at '''anytime'''. For anyone using the Nightly builds, this is common knowledge.
Anyway, go back to the 5/27 nightly and stay there until this is fixed:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-05-27-03-02-02-mozilla-central/firefox-32.0a1.en-US.win32.installer.exe
You can watch this bug if you want:
https://bugzilla.mozilla.org/show_bug.cgi?id=1017134
But if something breaks in nightly again, please don't be surprised. Just go back to the previous day's nightly. -
BPM 11g: how to update a user screen
Hello all.
This is my problem:
I have some user screens that show some process objects in them. After their creation, i had to add (because the client now wants them) some more attributes to those process objects, how can i update the user screen to show me those new attributes in the objects it is showing?
I tried adding the code in the source view but i get the "cant find attribute" warning.
So far i have been doing the user screen again (from scratch) to add those new version of the objects, but it is getting really troublesome to do as the project gets biggers.
Thanks for any help.Do any1 know?
-
Can I update the user ID of a user?
We've noticed that the OOB login component assumes that you log in using your user ID and password. This is fine if you never update the user name, but in our organization the requirement is to let users update their username. How would we need to implement this? We see two solutions:
1) username is in fact user ID. When the user updates the username we need to somehow update that user's ID or delete the existing user ID and create a new one. We do not like this approach as it looks like a lot of reverse replication will need to be done.
2) username is NOT the user ID. In this case it would mean we need to update the OOB login components as that component takes the user ID as input, not the username. We would need to use javascript to find the userID based on the provided username before starting the authorization process. We will also need to make sure that username remains unique across all users.
Any opinions on what would be easiest to implement. We don't really like any of the options. Ideally I wish we could just update the userID of a user as that would mean we can use all of the OOB components for login and profile handling. But I've read that this is not possible.Hello,
I would refer you to not play with username (userid/principal name) and because you have this requirement i will suggest to add one more property to user node (/home/users) say user_login_name which will have same value as username (rep:principalName) while first time registration.
Now you have to do small tweak in your login module, every time when user will login you would expect value for "user_login_name" and once user click on login button before submitting for authorization you have to query to repository system to get actual username (rep:principalName) from repository and then use actual username for login. It means "login_user_name" will be just for display but back side you will be running same logic by small code tweak.
Now about changes to login_user_name can be easily placed as everytime you will be allowing user to update "login_user_name" not "username" but you must have to take care of one thing that there will be no duplicate "login_user_name" in system. For that you can write a listener which will be fired at the time of form submit or may be you can also do through client side script validation (you have to some research for feasibility at client side - may be "ecma" script can help).
For even listener plz refer - http://blogs.adobe.com/contentmanagement/2012/08/27/how-to-prevent-users-from-entering-dup licate-vanity-urls/
http://sling.apache.org/site/eventing-and-jobs.html
For more information or any issue in listener let me know.
Thanks,
Pawan -
Update order user status based on a custom check box value in web ui
Hi Experts,
I have a requirement to Update the user status based on a custom check box value in web ui.
This is needed at the followup for a SR, the component is BT116H_SRVO, Details View.
I created a value node with 4 checkboxes, based on the check box value, the corresponding user status
need to be updated.
How can I reach to the order save functionality of SAP in EH_ONSAVE method, so that syatem can capture my check box value, along with other screen fields, and append the status parameter in Order maintain?
or do I have to call order maintain in even handler for checkbox, which will affect performance .....
Pls help.
Regards,
LakshmiHi,
In your event handler you can use bol entity corresponding to status BTStatusH and change the user status.
Best regards,
Caíque Escaler -
Update Request User Details with updateRegistrationUserDetails
Hi,
I have the following scenario: The Self-Registration form is defined with the fields First Name, Middle Name, Last Name, Manager Login. When the request is created, based on the Manager Login, the other user's attributes are set according to the Manager's Attributes. So when the manager goes to approve the request, most of the user information are already set. To update the User Details in the request, I can call the updateRegistrationUserDetails of Request API.
Problem: I can not update the fields other than those defined in the FormMetadata.Xml. So I have to add the fields and set them as optional but I don't want to show non required fields to the end-user. I wish to have those attributes as not visible in the self-request form. Then I can update the information using the API.
Question: How to add fields to the User Details of the request and not show them in the self-request form?
Thanks,As I've said, I could not update the request fields that were not declared in the FormMetadata.xml. You can try set them as not visible but I am not sure the visibile attribute works for the SelfRegistration form. If it is not a problem, you can show the fields and set them as optional true. In my exaple, the SelfReg form has a manager employee code field.
Create an entity adapter and assign it to the Request object, pre-insert.
1) create two variables: requestKey, requestObjecAction, managerEmpCode (in my example)
2) test if the request object action is Create Entity.
3) call the method to update the request. below is my example:
// Updates the request with the information of manager: Manager Login,
// Location, Department and Organization
public String updateRequestWithManagerInfo(long requestKey, String managerEmpCode) {
String result = JavaTaskBase.EXECUTION_ERROR;
logger.debug("******** Starting updateRequestWithManagerInfo *************");
logger.debug("requestKey: " + requestKey);
logger.debug("managerEmpCode: " + managerEmpCode);
try {
HashMap<String, String> filter = new HashMap<String, String>();
filter.put(JavaTaskBase.USR_UDF_EMPLOYEE_ID, managerEmpCode);
String[] columns = new String[] { JavaTaskBase.USER_KEY_FIELD,
JavaTaskBase.USER_LOGIN_FIELD, JavaTaskBase.USR_UDF_LOCATION,
JavaTaskBase.USR_UDF_HR_DEPARTMENT,
JavaTaskBase.ORGANIZATION_ATTRIBUTE_NAME };
logger.debug("Querying User by EmpCode...");
// Update Request Attributes: requestKey, ManagerId
tcResultSet resultSet = this.getUserOperations().findUsersFiltered(filter, columns);
logger.debug("tcResultSet.getTotaRowCount(): "+ resultSet.getTotalRowCount());
resultSet.goToRow(0);
String organizationName = resultSet.getStringValue(JavaTaskBase.ORGANIZATION_ATTRIBUTE_NAME);
String managerLogin = resultSet.getStringValue(JavaTaskBase.USER_LOGIN_FIELD);
String managerLocation = resultSet.getStringValue(JavaTaskBase.USR_UDF_LOCATION);
String managerDepto = resultSet.getStringValue(JavaTaskBase.USR_UDF_HR_DEPARTMENT);
String managerKey = resultSet.getStringValue(JavaTaskBase.USER_KEY_FIELD);
logger.debug("Manager Organization: " + organizationName);
logger.debug("Manager Login: " + managerLogin);
logger.debug("Manager Location: " + managerLocation);
logger.debug("Manager Department: " + managerDepto);
logger.debug("Manager Key: " + managerKey);
// Prepares the information to update the request
HashMap<String, String> values = new HashMap<String, String>();
values.put(JavaTaskBase.ORGANIZATION_ATTRIBUTE_NAME, organizationName);
values.put(JavaTaskBase.USR_UDF_LOCATION, managerLocation);
values.put(JavaTaskBase.USR_UDF_HR_DEPARTMENT, managerDepto);
values.put(JavaTaskBase.USER_MANAGER_LOGIN, managerLogin);
logger.debug("Updating Request Info...");
// Updates the request
this.getRequestOperations().updateRegistrationUserDetails(
requestKey, values);
logger.debug("Request Updated Successfulfy.");
result = managerKey;
} catch (Exception ex) {
logger.error("Error in updateRequestWithManagerInfo method", ex);
ex.printStackTrace();
result = JavaTaskBase.EXECUTION_ERROR;
return result;
thanks,
Renato. -
Can you update your user ID?
Is there any way to update the user ID associated with my account? It seems unfortunate that I am unable to change it without jumping through hoops. Its already unfortunate that family share doesn't share Apple Drive space or iTunes Match/Radio services. Any advice?
Thanks.Yes, for the forums here. The problem with abandoning an ID is I also lose purchases with that ID. I figured that was the case but I just wanted to check with the forum to see if some new solution had been made available.
I wish that I could start a new Apple ID and move all of my content with it, being able to then delete the old ID entirely!
Thanks for the help. -
Automatically updation of User Status
Hi All,
I am facing a problem on automatic updation of user status.As I have a process that on the basis of one field value in a quality notification I want to update the user status automatically.
I explored something with business process but not getting the right way to use it.
Please guide me if anyone deals with the same scenario or know more about using business process with user profile.
Cheers,
TusharHey Prasad,
You will have to Develop a report to do this...
You should use FM CRM_ORDER_MAINTAIN to do this...
Details of how to use this FM for Updating Status could be found in CRM forum..
I would advice to consult your CRM Tech Team who are in best position to do this..
Please Reward for usefulll Post..
Regards,
Anand.. -
Hi,
I have a requirement where I need to update a user who is not in IDM but in the resource, I need to update few attributes of this user in LDAP.
Here is what I am doing to meet this,
I am calling the subprocess Resource Object Retries where
op =updateResourceObject,
objectType=user
user = user object I builtWhich is most similiar to Out-Of-Box workflow Update Resource User
My workflow works fine for when the user in windows NT (not in IDM) is updated, but when I am doing this for a user in LDAP, I am getting Objet class violation (error code =65) . I tried passing object class as
<list> and <LIST> //xml Object and XPRESS .Still it is the same.
I need some rescue here.
I was wondering where is the Out-of-box Update Resource User
method called.
If any one has worked , using updateResourceObject service ,
help me.
thanks,
panduHi pandu345,
Hint to reduce side effect error - one thing about objectclass violations:
Consult the directory server error log to see which attribute caused the error!
In case you modified the schema to be nonconformant to already existing entries you will always get objectclass violations not matter what you try to modify. (I have suffered that already in a non-IdM-but-ldap environment)
/h -
Hi,
I'm trying to update sap user email by using BAPI_USER_CHANGE BAPI. This is the code:
CLEAR it_return.
v_address-e_mail = ls_salida-smtp_addr.
v_addressx-e_mail = 'X'.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = lv_bname
address = v_address
addressx = v_addressx
TABLES
return = it_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
When the execution finish everything seems OK but when I check in SAP user master data, email address is not updated.
Can you tell me how can i do to make it works? or there is another way to update sap user email address?
Thanks
Andresexample
DATA: lv_addcomx TYPE bapiadcomx,
lt_bapiadsmtp TYPE TABLE OF bapiadsmtp,
ls_bapiadsmtp LIKE LINE OF lt_bapiadsmtp,
MOVE: 'X' TO lv_addcomx-adsmtp, "Update Flag
ls_list-smtp_addr TO ls_bapiadsmtp-e_mail,
ls_list-smtp_addr TO ls_bapiadsmtp-email_srch,
001 TO ls_bapiadsmtp-consnumber.
APPEND ls_bapiadsmtp TO lt_bapiadsmtp.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = lv_name
addcomx = lv_addcomx
TABLES
return = lt_return
addsmtp = lt_bapiadsmtp.
You can change.. and check the su01 -
Need a BAPI or FM to update the User filed ie., AFVGD-USR00 in Tcode CN22
Hi,
I am updating the User field of Network in Tcode CN22 through BDC . Now, Please give me FM or BAPI to update User field AFVGD-USR00 in Tcode CN22.
Regards,
Deepthi.Hi,
I have written the code but it is not working . my code is as below:
DATA : i_meth TYPE STANDARD TABLE OF bapi_method_project,
w_meth TYPE bapi_method_project,
i_act TYPE STANDARD TABLE OF bapi_network_activity,
w_act TYPE bapi_network_activity,
i_actu TYPE STANDARD TABLE OF bapi_network_activity_up,
w_actu TYPE bapi_network_activity_up,
i_ret TYPE STANDARD TABLE OF bapireturn1,
w_ret type bapireturn1.
w_meth-objecttype = 'NETWORK'.
w_meth-method = 'UPDATE'.
Object key in Netwrok Activity is combination of Network and Network Activity
w_meth-objectkey = '0000040070550010'.
w_meth-refnumber = '0000040070550010'.
w_meth-objecttype = space.
w_meth-method = 'SAVE'.
w_meth-objectkey = space.
w_meth-refnumber = space.
APPEND w_meth TO i_meth.
CLEAR w_meth.
w_act-network = '000004007055'.
w_act-activity = '0010'.
w_act-user_field_char20_1 = '000004008252 0010'.
APPEND w_act TO i_act.
CLEAR w_act.
w_actu-network = 'X'. .
w_actu-activity = 'X'.
w_actu-user_field_char20_1 = 'X'.
APPEND w_actu TO i_actu.
CLEAR w_actu.
CALL FUNCTION 'BAPI_NETWORK_MAINTAIN'
IMPORTING
return = w_ret
TABLES
i_method_project = i_meth
i_activity = i_act
i_activity_update = i_actu.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards,
Deepthi. -
Event Handlers Invoked Everytime for update on User Profile.(OIM 11g)
Hi,
We had Custom event handlers for generating some fields on user form.
Everytime there is update on user profile on any field, All the event handlers fired, (As seen from logs).
I want to fire particular event handlers on particular update. Like if first name is updated then only display name event handler should fire. (not all)
How can i achieve this???Here is my code..it is working fine for creation of the user. but when i am updating the user i am getting all null values except the updated one.
Example if there are 5 fields in that i am updating 2 .apart from those 2 fields the other 3 are coming as null which is making validation to fail.
package flatfilevalidation;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import oracle.iam.platform.context.ContextAware;
import oracle.iam.platform.kernel.ValidationException;
import oracle.iam.platform.kernel.ValidationFailedException;
import oracle.iam.platform.kernel.spi.ValidationHandler;
import oracle.iam.platform.kernel.vo.BulkOrchestration;
import oracle.iam.platform.kernel.vo.Orchestration;
import oracle.iam.identity.usermgmt.api.UserManagerConstants.AttributeName;
import Thor.API.*;
import Thor.API.Exceptions.tcAPIException;
import Thor.API.Operations.*;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import oracle.iam.identity.usermgmt.api.UserManagerConstants;
import oracle.iam.identity.usermgmt.vo.User;
import oracle.iam.passwordmgmt.utils.MLSUtils;
import oracle.iam.platform.Platform;
import oracle.iam.platform.kernel.vo.OrchestrationTarget;
import oracle.iam.upgrade.changes.jaxb.Entity;
public class FFValidation implements ValidationHandler {
int count;
tcUserOperationsIntf userOperationsService;
Entity ent = null;
@Override
public void validate(long arg0, long arg1, Orchestration orchestration)
throws ValidationException, ValidationFailedException {
System.out.println("entered the Validation methode");
HashMap<String, Serializable> parameters = orchestration.getParameters();
System.out.println("****************************************************************");
User user = getUser(orchestration);
Object passwdOrchParam = parameters.get(UserManagerConstants.AttributeName.EMPLOYEE_NUMBER.getId());
System.out.println("***************************"+passwdOrchParam+"*************************************");
System.out.println("orch.getParameters() ============================ " + parameters);
String ceo="CEO";
String trainee="Trainee";
String Emp="EMP";
String Contractor="Contractor";
//int Skypecount,Empcount,phonecount;
String Role= getParameterValue(parameters, "Role");
String Designation = getParameterValue(parameters, "Designation");
Long Manager =getManagerid(parameters, "USR_MANAGER_KEY");
Date EndDate =getDate(parameters, "End Date");
String EmpNo=getParameterValue(parameters, "Employee Number");
String skypeid=getParameterValue(parameters, "SkypeId");
String Mobile=getParameterValue(parameters, "Mobile");
String skypeidDb="usr_udf_skypeid";
String MobileDb="usr_mobile";
String EmpDB="usr_emp_no";
//validating SkypeID
uniquevalidate(skypeid,skypeidDb);
//Validating Employee Number
uniquevalidate(EmpNo,EmpDB);
//Validating Employee Number
uniquevalidate(Mobile,MobileDb);
//CEO Validation
if(Designation.equals(ceo)){
if(Manager!=null){
String msg="ManagerID not required";
System.out.println("ManagerID not required ");
throw new ValidationFailedException(msg);
//Cotractor Validation
if(Role.equals(Contractor) && Designation.equals(ceo)) {
System.out.println(Designation.equals(ceo));
String msg="Contractor Cannot be CEO";
System.out.println("Contractor Cannot be CEO");
throw new ValidationFailedException(msg);
if(Role.equals(Contractor)&& EndDate==null) {
String msg="Contractor Endate is not provided";
System.out.println("Contractor Endate is not provided");
throw new ValidationFailedException(msg);
//Trainee Validation
if(Role.equals(trainee) && Designation.equals(ceo)) {
System.out.println(Designation.equals(ceo));
if(Designation.equals(ceo)) {
String msg="Trainee Cannot be CEO";
System.out.println("Trainee Cannot be CEO");
throw new ValidationFailedException(msg);
//manager validation
if(!Designation.equals(ceo)){
if(Manager==null){
String msg="ManagerID Can not be Null";
System.out.println("ManagerID Can not be Null");
throw new ValidationFailedException(msg);
//Employee Validation
if(Role.equals(Emp)){
if(EndDate!=null) {
String msg="Employee End Date Should be empty";
System.out.println("Employee End Date Should be empty");
throw new ValidationFailedException(msg);
@Override
public void validate(long arg0, long arg1, BulkOrchestration arg2)
throws ValidationException, ValidationFailedException {
System.out.println("**************Inside BulkOrchestration****************");
HashMap<String, Serializable> parameters = arg2.getParameters();
System.out.println("orch.getParameters() ============================ " + parameters);
@Override
public void initialize(HashMap<String, String> arg0) {
private String getParameterValue(HashMap<String, Serializable> parameters,
String key) {
String value = (parameters.get(key) instanceof ContextAware) ? (String) ((ContextAware) parameters
.get(key)).getObjectValue()
: (String) parameters.get(key);
System.out.println("VALUE::" + value);
return value;
private boolean isNullOrEmpty(String str) {
return str == null || str.isEmpty();
private Long getManagerid(HashMap<String, Serializable> parameters,
String key) {
System.out.println(parameters);
Long managerLogin = (parameters.get(AttributeName.MANAGER_KEY.getId()) instanceof ContextAware)
? (Long) ((ContextAware) parameters.get(AttributeName.MANAGER_KEY.getId())).getObjectValue()
: (Long) parameters.get(AttributeName.MANAGER_KEY.getId());
System.out.println("managerLogin "+managerLogin);
return managerLogin;
private Date getDate(HashMap<String, Serializable> parameters,
String key) {
System.out.println("date "+ parameters);
Date date = (parameters.get(AttributeName.ACCOUNT_END_DATE.getId()) instanceof ContextAware)
? (Date) ((ContextAware) parameters.get(AttributeName.ACCOUNT_END_DATE.getId())).getObjectValue()
: (Date) parameters.get(AttributeName.ACCOUNT_END_DATE.getId());
System.out.println("EndDate "+date);
return date;
void uniquevalidate(String idvalue,String idDbvalue){
userOperationsService = Platform.getService(tcUserOperationsIntf.class);
HashMap<String, String> UMAttr = new HashMap<String, String>();
String msg="Entered Value is not unique" + idvalue;
System.out.println("idvalue="+ idvalue);
System.out.println("idDbvalue="+ idDbvalue);
if(idvalue!=null){
try {
System.out.println("in try block");
UMAttr.put(idDbvalue, idvalue);
tcResultSet USAttr = userOperationsService.findUsers(UMAttr);
System.out.println(USAttr);
System.out.println("User set count ========================= " + USAttr.getRowCount());
count=USAttr.getRowCount();
if(count>0)
throw new ValidationFailedException(msg);
catch (tcAPIException e) {
e.printStackTrace();
private User getUser(Orchestration orchestration)
if(orchestration.getTarget() != null && orchestration.getTarget().getEntityId() != null)
return new User(orchestration.getTarget().getEntityId());
HashMap orchParams = orchestration.getParameters();
User user = new User(null);
Set orchParamNames = orchParams.keySet();
String orchParamName;
for(Iterator i$ = orchParamNames.iterator(); i$.hasNext(); user.setAttribute(orchParamName, orchParams.get(orchParamName)))
orchParamName = (String)i$.next();
MLSUtils.setStringValuesForMLSAttributes(user);
System.out.println("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"+user);
return user;
}
Maybe you are looking for
-
Is DocumentBuilder.parse(..) reading the whole XML into memory?
Hello, I have a quick question about the following code snippet: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder builder = factory.newDocumentBuilder(); Document doc = builder.pa
-
I've recently uploaded a new website and am having a glitch with internet explorer with the vertical spry menu. It appears perfectly in all other browsers. I had added css rules to move up some of the longer submenus so they would all appear on the s
-
Single 1.6 Fans out of control
I've been searching for a solution to the noisy fans. I've tried resetting nvram, pram, setting defaults in open firmware mode, and even resetting the PMU (it's a pre-2004 model so there's no SMU). I'm running 10.3.9 with the latest firmware for the
-
Any way to search places where a style is used in RH?
Hi I've a few questions about style management: Is there a way to search for where a style is used in a project or topic? If so, is there a way to search-and-replace, ie, find where a style is used and replace it with another style? When deleting a s
-
Your computer systems firewall settings will prevent you from using AirTune
I haven't used my airport express in a while and I just opened itunes with my airport speakers and I got the error message Your computer systems firewall settings will prevent you from using AirTunes. How can I fix this? Help!!