Forums de discussion

get(String name) WHAT!?

Adrian Pol, modifié il y a 7 années.

get(String name) WHAT!?

Junior Member Publications: 49 Date d'inscription: 14/03/17 Publications récentes
https://docs.liferay.com/portal/6.2/javadocs/

Object document i want get a data, for know what i'm trying to do look at API and i found Document.get(String name) WHAT!?!?!?!?!?!?!?!?!?!?!?!?!

name of what, of my father, mother, me, user, portlet... This is a shame, Incompetent...

Dear Brian Wing Shun Chan and Bruno Farache!

Could you COMENT SOMETHING!

Thank a authentic professional...
thumbnail
Olaf Kock, modifié il y a 7 années.

RE: get(String name) WHAT!?

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
Adrian Pol:
https://docs.liferay.com/portal/6.2/javadocs/

Object document i want get a data, for know what i'm trying to do look at API and i found Document.get(String name) WHAT!?!?!?!?!?!?!?!?!?!?!?!?!

name of what, of my father, mother, me, user, portlet... This is a shame, Incompetent...

Dear Brian Wing Shun Chan and Bruno Farache!

Could you COMENT SOMETHING!

Thank a authentic professional...


Dear competent authentic professional,

I'm assuming, you're referring to com.liferay.portal.kernel.search.Document (which you could have easily linked through the formatting options of this forum's editor, to help others help you. Unfortunately this editor still does not offer spell-check, but your browser might).

It would help to know what you are looking for, what you're trying to achieve and if you have an actual problem or are just pointing out missing Javadoc. I'm sincerely sorry for your experience.

I've been looking at the document that I've linked in order to find out more. Given the rest of that class's interface, which consists of a lot of addKeyword(String name, Xxx value) methods and the context of the package containing "search", my best assumption is: If this document contains a keyword with your mother's name, you can retrieve this with get(yoMama). If it contains a keyword with your father's name, you can get that value with get(yoDaddy). And if someone used the keyword "incompetent", you could use this key to retrieve the value that has been set for this keyword.

I'm assuming you're using 6.2 CE - Probably to your displeasure, the 6.2 documentation will no longer be updated, as the 6.2 CE branch is outdated. You're welcome, however, to contribute to the documentation of future versions. I fully agree with you: It's a shame that this is not done more, especially by our always professional, competent, cooperative and constructive contributors and forum posters.
Adrian Pol, modifié il y a 7 années.

RE: get(String name) WHAT!?

Junior Member Publications: 49 Date d'inscription: 14/03/17 Publications récentes
Here you have a good documentation (https://docs.oracle.com/javase/7/docs/api/) your welcome emoticon i know thta i've help you....

The wolrd of the programmers will be better if we do that (https://docs.oracle.com/javase/7/docs/api/) and don't that (https://docs.liferay.com/portal/6.2/javadocs/)

thank you for your help emoticon
have good aftermoon emoticon
thumbnail
Olaf Kock, modifié il y a 7 années.

RE: get(String name) WHAT!?

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
Adrian Pol:
The wolrd of the programmers will be better if we do that ...


(emphasis mine)

That's what I said (or meant). We only seem to have a different concept of who is meant by "we".