public class PropertiesHelper extends Object
| Constructor and Description |
|---|
PropertiesHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
convertException(CompositeConstraintViolationException e) |
void |
convertException(NodeConstraintViolationException violationException) |
String |
encryptPassword(String pwd) |
List<javax.jcr.Value> |
getCategoryPathValues(String value) |
Map<String,org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> |
getProperties(String path,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
void |
saveProperties(List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> nodes,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> newProps,
Set<String> removedTypes,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
A batch-capable save properties method.
|
void |
setContentDefinition(ContentDefinitionHelper contentDefinition) |
void |
setFileStorage(SessionNamedDataStorage<UploadedPendingFile> fileStorage) |
void |
setIgnoredProperties(Set<String> ignoredProperties) |
void |
setNavigation(NavigationHelper navigation) |
void |
setProperties(JCRNodeWrapper objectNode,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> newProps,
String httpSessionID) |
public void setContentDefinition(ContentDefinitionHelper contentDefinition)
public void setNavigation(NavigationHelper navigation)
public void setFileStorage(SessionNamedDataStorage<UploadedPendingFile> fileStorage)
public Map<String,org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> getProperties(String path, JCRSessionWrapper currentUserSession, Locale uiLocale) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic void saveProperties(List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> nodes, List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> newProps, Set<String> removedTypes, JCRSessionWrapper currentUserSession, Locale uiLocale, String httpSessionID) throws javax.jcr.RepositoryException
nodes - the nodes to save the properties ofnewProps - the new propertiesremovedTypes - currentUserSession - @throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionuiLocale - javax.jcr.RepositoryExceptionpublic void setProperties(JCRNodeWrapper objectNode, List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> newProps, String httpSessionID) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void convertException(NodeConstraintViolationException violationException) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic void convertException(CompositeConstraintViolationException e) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.