@jahia/javascript-modules-library 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +35 -0
- package/core/index.js +1 -0
- package/core/server/components/AbsoluteArea.js +1 -0
- package/core/server/components/AddContentButtons.js +1 -0
- package/core/server/components/AddResources.js +1 -0
- package/core/server/components/Area.js +1 -0
- package/core/server/components/index.js +1 -0
- package/core/server/components/render/HydrateInBrowser.js +1 -0
- package/core/server/components/render/Render.js +1 -0
- package/core/server/components/render/RenderInBrowser.js +1 -0
- package/core/server/components/render/index.js +1 -0
- package/core/server/components/render/internal/InBrowser.js +1 -0
- package/core/server/framework/defineJahiaComponent.js +1 -0
- package/core/server/framework/index.js +1 -0
- package/core/server/framework/register.js +1 -0
- package/core/server/hooks/index.js +1 -0
- package/core/server/hooks/useGQLQuery.js +1 -0
- package/core/server/hooks/useJCRQuery.js +1 -0
- package/core/server/hooks/useServerContext.js +1 -0
- package/core/server/hooks/useUrlBuilder.js +1 -0
- package/core/server/index.js +1 -0
- package/core/server/utils/index.js +1 -0
- package/core/server/utils/jcr/getChildNodes.js +1 -0
- package/core/server/utils/jcr/getNodeFromPathOrId.js +1 -0
- package/core/server/utils/jcr/getNodeProps.js +1 -0
- package/core/server/utils/jcr/getNodesByJCRQuery.js +1 -0
- package/core/server/utils/jcr/index.js +1 -0
- package/core/server/utils/urlBuilder/index.js +1 -0
- package/core/server/utils/urlBuilder/urlBuilder.js +1 -0
- package/index.js +1 -0
- package/nav/index.js +1 -0
- package/nav/server/index.js +1 -0
- package/nav/server/navBuilder/index.js +1 -0
- package/nav/server/navBuilder/navBuilder.js +24 -0
- package/package.json +60 -0
- package/types/@jahia/javascript-modules-library-private.d.ts +60 -0
- package/types/core/index.d.ts +1 -0
- package/types/core/server/components/AbsoluteArea.d.ts +29 -0
- package/types/core/server/components/AddContentButtons.d.ts +13 -0
- package/types/core/server/components/AddResources.d.ts +31 -0
- package/types/core/server/components/Area.d.ts +27 -0
- package/types/core/server/components/index.d.ts +5 -0
- package/types/core/server/components/render/HydrateInBrowser.d.ts +13 -0
- package/types/core/server/components/render/Render.d.ts +23 -0
- package/types/core/server/components/render/RenderInBrowser.d.ts +13 -0
- package/types/core/server/components/render/index.d.ts +3 -0
- package/types/core/server/components/render/internal/InBrowser.d.ts +8 -0
- package/types/core/server/framework/defineJahiaComponent.d.ts +41 -0
- package/types/core/server/framework/index.d.ts +2 -0
- package/types/core/server/framework/register.d.ts +7 -0
- package/types/core/server/hooks/index.d.ts +4 -0
- package/types/core/server/hooks/useGQLQuery.d.ts +5 -0
- package/types/core/server/hooks/useJCRQuery.d.ts +3 -0
- package/types/core/server/hooks/useServerContext.d.ts +14 -0
- package/types/core/server/hooks/useUrlBuilder.d.ts +31 -0
- package/types/core/server/index.d.ts +4 -0
- package/types/core/server/utils/index.d.ts +2 -0
- package/types/core/server/utils/jcr/getChildNodes.d.ts +9 -0
- package/types/core/server/utils/jcr/getNodeFromPathOrId.d.ts +12 -0
- package/types/core/server/utils/jcr/getNodeProps.d.ts +7 -0
- package/types/core/server/utils/jcr/getNodesByJCRQuery.d.ts +9 -0
- package/types/core/server/utils/jcr/index.d.ts +4 -0
- package/types/core/server/utils/urlBuilder/index.d.ts +1 -0
- package/types/core/server/utils/urlBuilder/urlBuilder.d.ts +27 -0
- package/types/globals.d.ts +11 -0
- package/types/index.d.ts +19 -0
- package/types/java.io.d.ts +694 -0
- package/types/java.net.d.ts +190 -0
- package/types/java.security.d.ts +27 -0
- package/types/java.util.d.ts +1536 -0
- package/types/javax.jcr.d.ts +1250 -0
- package/types/javax.servlet.d.ts +426 -0
- package/types/javax.servlet.http.d.ts +1431 -0
- package/types/nav/index.d.ts +1 -0
- package/types/nav/server/index.d.ts +1 -0
- package/types/nav/server/navBuilder/index.d.ts +1 -0
- package/types/nav/server/navBuilder/navBuilder.d.ts +78 -0
- package/types/org.jahia.modules.npm.modules.engine.js.server.d.ts +292 -0
- package/types/org.jahia.services.content.d.ts +1463 -0
- package/types/org.jahia.services.content.decorator.d.ts +92 -0
- package/types/org.jahia.services.query.d.ts +35 -0
- package/types/org.jahia.services.render.d.ts +168 -0
- package/types/org.jahia.services.usermanager.d.ts +85 -0
- package/types/org.osgi.framework.d.ts +1004 -0
- package/types/server.d.ts +27 -0
- package/types/servercontext.d.ts +29 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
declare module 'org.jahia.services.content.decorator' {
|
|
2
|
+
import { Locale, Set, List } from 'java.util';
|
|
3
|
+
import { JCRNodeWrapper } from 'org.jahia.services.content';
|
|
4
|
+
/**
|
|
5
|
+
* JCR node representing the Jahia virtual site.
|
|
6
|
+
*
|
|
7
|
+
* User: toto
|
|
8
|
+
* Date: Mar 30, 2010
|
|
9
|
+
* Time: 12:37:45 PM
|
|
10
|
+
*/
|
|
11
|
+
export class JCRSiteNode {
|
|
12
|
+
/**
|
|
13
|
+
* @return list of inactive live languages
|
|
14
|
+
*/
|
|
15
|
+
getInactiveLiveLanguages(): Set<string>;
|
|
16
|
+
/**
|
|
17
|
+
* @return list of inactive languages
|
|
18
|
+
*/
|
|
19
|
+
getInactiveLanguages(): Set<string>;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated use either {@link #getActiveLiveLanguagesAsLocales} or {@link #getActiveLiveLanguages()} methods instead
|
|
22
|
+
*/
|
|
23
|
+
getActiveLanguagesAsLocales(): Locale[];
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use {@link #getActiveLiveLanguages} method instead
|
|
26
|
+
*/
|
|
27
|
+
getActiveLanguages(): Set<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns a set of active site languages
|
|
30
|
+
*
|
|
31
|
+
* @return a set of active site languages
|
|
32
|
+
*/
|
|
33
|
+
getActiveLiveLanguages(): Set<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Returns an List of active site language ( as Locale ).
|
|
36
|
+
*
|
|
37
|
+
* @return a List of Locale elements
|
|
38
|
+
*/
|
|
39
|
+
getActiveLiveLanguagesAsLocales(): Locale[];
|
|
40
|
+
/**
|
|
41
|
+
* Returns an List of inactive site language ( as Locale ).
|
|
42
|
+
*
|
|
43
|
+
* @return a List of Locale elements
|
|
44
|
+
*/
|
|
45
|
+
getInactiveLanguagesAsLocales(): Locale[];
|
|
46
|
+
getDefaultLanguage(): string;
|
|
47
|
+
getDescr(): string;
|
|
48
|
+
getHome(): JCRNodeWrapper;
|
|
49
|
+
getLanguages(): Set<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Returns an List of site language ( as Locale ).
|
|
52
|
+
*
|
|
53
|
+
* @return an List of Locale elements.
|
|
54
|
+
*/
|
|
55
|
+
getLanguagesAsLocales(): Locale[];
|
|
56
|
+
getMandatoryLanguages(): Set<string>;
|
|
57
|
+
getResolveSite(): JCRSiteNode;
|
|
58
|
+
getServerName(): string;
|
|
59
|
+
getServerNameAliases(): string[];
|
|
60
|
+
getAllServerNames(): string[];
|
|
61
|
+
getInstalledModules(): string[];
|
|
62
|
+
/**
|
|
63
|
+
* Returns a set of all installed modules for this site, their direct and transitive dependencies (the whole dependency tree).
|
|
64
|
+
*
|
|
65
|
+
* @return a set of all installed modules for this site, their direct and transitive dependencies (the whole dependency tree)
|
|
66
|
+
*/
|
|
67
|
+
getInstalledModulesWithAllDependencies(): Set<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Get installed modules with their dependencies
|
|
70
|
+
* @return
|
|
71
|
+
*/
|
|
72
|
+
getAllInstalledModules(): string[];
|
|
73
|
+
/**
|
|
74
|
+
* Returns the corresponding template set name of this virtual site.
|
|
75
|
+
*
|
|
76
|
+
* @return the corresponding template set name of this virtual site
|
|
77
|
+
*/
|
|
78
|
+
getTemplatePackageName(): string;
|
|
79
|
+
getTitle(): string;
|
|
80
|
+
isHtmlMarkupFilteringEnabled(): boolean;
|
|
81
|
+
isMixLanguagesActive(): boolean;
|
|
82
|
+
isAllowsUnlistedLanguages(): boolean;
|
|
83
|
+
isWCAGComplianceCheckEnabled(): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Returns true if this site is the default one on the server.
|
|
86
|
+
*
|
|
87
|
+
* @return true if this site is the default one on the server
|
|
88
|
+
*/
|
|
89
|
+
isDefault(): boolean;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare module 'org.jahia.services.query' {
|
|
2
|
+
import { JCRNodeIteratorWrapper } from 'org.jahia.services.content';
|
|
3
|
+
import { Value } from 'javax.jcr';
|
|
4
|
+
/**
|
|
5
|
+
* Wrapper for the JCR {@link QueryResult} adding facets and other methods.
|
|
6
|
+
*
|
|
7
|
+
* @author Thomas Draier
|
|
8
|
+
*/
|
|
9
|
+
export class QueryResultWrapper {
|
|
10
|
+
getApproxCount(): number;
|
|
11
|
+
/**
|
|
12
|
+
* Returns an iterator over all nodes that match the query. The nodes are
|
|
13
|
+
* returned according to the ordering specified in the query.
|
|
14
|
+
*
|
|
15
|
+
* @return a NodeIterator
|
|
16
|
+
* @throws RepositoryException if the query contains more than one selector,
|
|
17
|
+
* if this call is the second time either getRows or
|
|
18
|
+
* getNodes has been called on the same
|
|
19
|
+
* QueryResult object or if another error occurs.
|
|
20
|
+
*/
|
|
21
|
+
getNodes(): JCRNodeIteratorWrapper;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* An implementation of the JCR {@link Query} for multiple providers.
|
|
25
|
+
*
|
|
26
|
+
* @author Thomas Draier
|
|
27
|
+
*/
|
|
28
|
+
export class QueryWrapper {
|
|
29
|
+
execute(): QueryResultWrapper;
|
|
30
|
+
setLimit(limit: number): void;
|
|
31
|
+
setOffset(offset: number): void;
|
|
32
|
+
bindValue(varName: string, value: Value): void;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
declare module 'org.jahia.services.render' {
|
|
2
|
+
import { Locale, Set, List, Map } from 'java.util';
|
|
3
|
+
import { JCRNodeWrapper } from 'org.jahia.services.content';
|
|
4
|
+
import { HttpServletRequest, HttpServletResponse } from 'javax.servlet.http';
|
|
5
|
+
import { JCRSiteNode } from 'org.jahia.services.content.decorator';
|
|
6
|
+
import { JahiaUser } from 'org.jahia.services.usermanager';
|
|
7
|
+
/**
|
|
8
|
+
* Template rendering context with the information about current request/response pair and optional template parameters.
|
|
9
|
+
*
|
|
10
|
+
* @author toto
|
|
11
|
+
*/
|
|
12
|
+
export class RenderContext {
|
|
13
|
+
getRequest(): HttpServletRequest;
|
|
14
|
+
getResponse(): HttpServletResponse;
|
|
15
|
+
getUser(): JahiaUser;
|
|
16
|
+
getSite(): JCRSiteNode;
|
|
17
|
+
getURLGenerator(): URLGenerator;
|
|
18
|
+
getDisplayedModules(): Set<string>;
|
|
19
|
+
isEditMode(): boolean;
|
|
20
|
+
getMode(): string;
|
|
21
|
+
getEditModeConfigName(): string;
|
|
22
|
+
getServletPath(): string;
|
|
23
|
+
getWorkspace(): string;
|
|
24
|
+
isContributionMode(): boolean;
|
|
25
|
+
isLoggedIn(): boolean;
|
|
26
|
+
getTemplatesCacheExpiration(): Map<string, Map<string, number>>;
|
|
27
|
+
getMainResource(): Resource;
|
|
28
|
+
getContentType(): string;
|
|
29
|
+
getRenderedPaths(): Set<string>;
|
|
30
|
+
getMainResourceLocale(): Locale;
|
|
31
|
+
getUILocale(): Locale;
|
|
32
|
+
getFallbackLocale(): Locale;
|
|
33
|
+
isLiveMode(): boolean;
|
|
34
|
+
isPreviewMode(): boolean;
|
|
35
|
+
isAjaxRequest(): boolean;
|
|
36
|
+
getAjaxResource(): Resource;
|
|
37
|
+
/**
|
|
38
|
+
* @return the redirect
|
|
39
|
+
*/
|
|
40
|
+
getRedirect(): string;
|
|
41
|
+
isEnterpriseEdition(): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @param node to check
|
|
44
|
+
* @return true if the node is visible (in visibleTypes or without nonVisibleTypes)
|
|
45
|
+
* @throws javax.jcr.RepositoryException
|
|
46
|
+
*/
|
|
47
|
+
isVisible(node: JCRNodeWrapper): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @param node to check
|
|
50
|
+
* @return true if the node is editable (in editableTypes or without nonEditableTypes)
|
|
51
|
+
* @throws RepositoryException in case of JCR-related errors
|
|
52
|
+
*/
|
|
53
|
+
isEditable(node: JCRNodeWrapper): boolean;
|
|
54
|
+
isForceUILocaleForJCRSession(): boolean;
|
|
55
|
+
isUgcEnabled(): boolean;
|
|
56
|
+
/**
|
|
57
|
+
* @return Whether the application is in read only mode, dependent on read only, full read only, and maintenance status currently activated/deactivated.
|
|
58
|
+
*/
|
|
59
|
+
isReadOnly(): boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A resource is the aggregation of a node and a specific template
|
|
63
|
+
* It's something that can be handled by the render engine to be displayed.
|
|
64
|
+
*
|
|
65
|
+
* @author toto
|
|
66
|
+
*/
|
|
67
|
+
export class Resource {
|
|
68
|
+
/**
|
|
69
|
+
* Get the node associated to the current resource, in case of a lazy resource the node will be load from jcr if it's null
|
|
70
|
+
* This function shouldn't not be call before the CacheFilter to avoid loading of node from JCR.
|
|
71
|
+
* Since CacheFilter is executed for each fragments now even if there are in cache.
|
|
72
|
+
*
|
|
73
|
+
* If the node is needed it should be requested after the CacheFilter or for cache key generation during aggregation
|
|
74
|
+
*
|
|
75
|
+
* @return The JCR Node if found, null if not
|
|
76
|
+
*/
|
|
77
|
+
getNode(): JCRNodeWrapper;
|
|
78
|
+
/**
|
|
79
|
+
* Know if the JCR Node is available immediately, since the node may require lazy loading from JCR
|
|
80
|
+
* @return true if JCR Node is available immediately
|
|
81
|
+
*/
|
|
82
|
+
isNodeLoaded(): boolean;
|
|
83
|
+
getTemplateType(): string;
|
|
84
|
+
getWorkspace(): string;
|
|
85
|
+
getLocale(): Locale;
|
|
86
|
+
getContextConfiguration(): string;
|
|
87
|
+
getResolvedTemplate(): string;
|
|
88
|
+
getTemplate(): string;
|
|
89
|
+
getDependencies(): Set<string>;
|
|
90
|
+
getRegexpDependencies(): Set<string>;
|
|
91
|
+
getMissingResources(): string[];
|
|
92
|
+
getPath(): string;
|
|
93
|
+
getNodePath(): string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Main URL generation class. This class is exposed to the template developers to make it easy to them to access basic URLs such as ${url.edit}, ${url.userProfile}. User: toto Date: Sep 14, 2009 Time: 11:13:37 AM
|
|
97
|
+
*/
|
|
98
|
+
export class URLGenerator {
|
|
99
|
+
getResourcePath(): string;
|
|
100
|
+
getContext(): string;
|
|
101
|
+
getFiles(): string;
|
|
102
|
+
getFilesPlaceholders(): string;
|
|
103
|
+
getBase(): string;
|
|
104
|
+
getBasePlaceholders(): string;
|
|
105
|
+
getLive(): string;
|
|
106
|
+
getEdit(): string;
|
|
107
|
+
getPreview(): string;
|
|
108
|
+
getContribute(): string;
|
|
109
|
+
/**
|
|
110
|
+
* Returns the URL for the current resource in studio mode.
|
|
111
|
+
*
|
|
112
|
+
* @return the URL for the current resource in studio mode
|
|
113
|
+
*/
|
|
114
|
+
getStudio(): string;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the URL for the current resource in visual studio mode.
|
|
117
|
+
*
|
|
118
|
+
* @return the URL for the current resource in visual studio mode
|
|
119
|
+
*/
|
|
120
|
+
getStudioVisual(): string;
|
|
121
|
+
getLogout(): string;
|
|
122
|
+
getCurrentModule(): string;
|
|
123
|
+
getCurrent(): string;
|
|
124
|
+
getLanguages(): Map<string, string>;
|
|
125
|
+
getLanguage(languageCode: string): string;
|
|
126
|
+
getTemplates(): Map<string, string>;
|
|
127
|
+
getTemplate(template: string): string;
|
|
128
|
+
getTemplateTypes(): Map<string, string>;
|
|
129
|
+
getTemplateType(templateType: string): string;
|
|
130
|
+
getBases(): Map<string, string>;
|
|
131
|
+
getBase(languageCode: string): string;
|
|
132
|
+
/**
|
|
133
|
+
* Returns the path to the templates folder.
|
|
134
|
+
*
|
|
135
|
+
* @return the path to the templates folder
|
|
136
|
+
*/
|
|
137
|
+
getTemplatesPath(): string;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the URL of the main resource (normally, page), depending on the current mode.
|
|
140
|
+
*
|
|
141
|
+
* @return the URL of the main resource (normally, page), depending on the current mode
|
|
142
|
+
*/
|
|
143
|
+
getMainResource(): string;
|
|
144
|
+
getInitializers(): string;
|
|
145
|
+
getBaseContribute(): string;
|
|
146
|
+
getBaseEdit(): string;
|
|
147
|
+
getBaseLive(): string;
|
|
148
|
+
getBasePreview(): string;
|
|
149
|
+
getConvert(): string;
|
|
150
|
+
getBaseUserBoardEdit(): string;
|
|
151
|
+
getBaseUserBoardLive(): string;
|
|
152
|
+
getBaseUserBoardFrameEdit(): string;
|
|
153
|
+
getBaseUserBoardFrameLive(): string;
|
|
154
|
+
getRealResource(): string;
|
|
155
|
+
/**
|
|
156
|
+
* Returns the server URL, including scheme, host and port, depending on the current site. The URL is in the form :, e.g. http://www.jahia.org:8080. The port is omitted in case of standard
|
|
157
|
+
* HTTP (80) and HTTPS (443) ports.
|
|
158
|
+
*
|
|
159
|
+
* If the site's server name is configured to be "localhost", then take the servername from the request.
|
|
160
|
+
*
|
|
161
|
+
* @return the server URL, including scheme, host and port, depending on the current site
|
|
162
|
+
*/
|
|
163
|
+
getServer(): string;
|
|
164
|
+
getMyProfile(): string;
|
|
165
|
+
getLogin(): string;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
declare module 'org.jahia.services.usermanager' {
|
|
2
|
+
/**
|
|
3
|
+
* A JahiaUser represents a physical person who is defined by a username and
|
|
4
|
+
* a password for authentication purpose. Every other property of a JahiaUser
|
|
5
|
+
* is stored in it's properties list, which hold key-value string pairs. For
|
|
6
|
+
* example email, firstname, lastname, ... information should be stored in this
|
|
7
|
+
* properties list.
|
|
8
|
+
*
|
|
9
|
+
* @author Fulco Houkes
|
|
10
|
+
* @author Khue Nguyen
|
|
11
|
+
*/
|
|
12
|
+
export class JahiaUser {
|
|
13
|
+
/**
|
|
14
|
+
* Return the user username.
|
|
15
|
+
*
|
|
16
|
+
* @return Return the username.
|
|
17
|
+
*/
|
|
18
|
+
getUsername(): string;
|
|
19
|
+
/**
|
|
20
|
+
* Return the unique String identifier of this user.
|
|
21
|
+
*
|
|
22
|
+
* @return the unique String identifier of this user.
|
|
23
|
+
*/
|
|
24
|
+
getUserKey(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve the requested user property.
|
|
27
|
+
*
|
|
28
|
+
* @param key Property's name.
|
|
29
|
+
* @return Return the property's value of the specified key, or null if the
|
|
30
|
+
* property does not exist.
|
|
31
|
+
*/
|
|
32
|
+
getProperty(key: string): string;
|
|
33
|
+
/**
|
|
34
|
+
* Test if the user is member of the specified group.
|
|
35
|
+
*
|
|
36
|
+
* @param name Groupname.
|
|
37
|
+
* @param siteID the site id
|
|
38
|
+
* @return Return true if the user is member of the specified group, or
|
|
39
|
+
* false on any error.
|
|
40
|
+
* @deprecated
|
|
41
|
+
*/
|
|
42
|
+
isMemberOfGroup(siteID: number, name: string): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Test if the user is an admin member
|
|
45
|
+
*
|
|
46
|
+
* @param siteID the site id
|
|
47
|
+
* @return Return true if the user is an admin member
|
|
48
|
+
* false on any error.
|
|
49
|
+
* @deprecated
|
|
50
|
+
*/
|
|
51
|
+
isAdminMember(siteID: number): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Test if the user is the root user
|
|
54
|
+
*
|
|
55
|
+
* @return Return true if the user is the root user
|
|
56
|
+
* false on any error.
|
|
57
|
+
*/
|
|
58
|
+
isRoot(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Get the name of the provider of this user.
|
|
61
|
+
*
|
|
62
|
+
* @return String representation of the name of the provider of this user
|
|
63
|
+
*/
|
|
64
|
+
getProviderName(): string;
|
|
65
|
+
/**
|
|
66
|
+
* Get the path of this user in the local store. For examle for LDAP user this will return the path of
|
|
67
|
+
* the user in the JCR with all necessary encoding.
|
|
68
|
+
*
|
|
69
|
+
* @return String representation of the name of the provider of this user
|
|
70
|
+
*/
|
|
71
|
+
getLocalPath(): string;
|
|
72
|
+
/**
|
|
73
|
+
* Checks if the account is locked
|
|
74
|
+
*
|
|
75
|
+
* @return true if the account is locked
|
|
76
|
+
*/
|
|
77
|
+
isAccountLocked(): boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Get the realm name this user belongs to.
|
|
80
|
+
* @return
|
|
81
|
+
*/
|
|
82
|
+
getRealm(): string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
}
|