public class SetPropertyAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
protected static DateFormat |
_DATE_FORMAT
The input date format.
|
protected RepositoryProvider |
_repositoryProvider
The repository provider.
|
manager
EMPTY_MAP
Constructor and Description |
---|
SetPropertyAction() |
Modifier and Type | Method and Description |
---|---|
private void |
_setBinary(Session session,
Request request,
Node node,
String propertyName) |
private void |
_setDate(Node node,
String propertyName,
String[] value) |
private void |
_setReference(Session session,
Node node,
String propertyName,
String[] value,
boolean multiple) |
private void |
_setValue(Node node,
String propertyName,
String[] value,
boolean multiple,
int jcrType) |
Map |
act(Redirector redirector,
SourceResolver sourceResolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected static final DateFormat _DATE_FORMAT
protected RepositoryProvider _repositoryProvider
public SetPropertyAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver sourceResolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private void _setDate(Node node, String propertyName, String[] value) throws RepositoryException, ParseException
RepositoryException
ParseException
private void _setBinary(Session session, Request request, Node node, String propertyName) throws RepositoryException, IOException
RepositoryException
IOException
private void _setReference(Session session, Node node, String propertyName, String[] value, boolean multiple) throws RepositoryException
RepositoryException
private void _setValue(Node node, String propertyName, String[] value, boolean multiple, int jcrType) throws RepositoryException
RepositoryException