@Path(value="/resources/{domainUid}")
public interface IResources
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
addToEventDescription(java.lang.String resourceUid,
                     EventInfo eventInfo)
Compute the transformed template associated to the given resource if any,
 then append it to the given  
eventDescription. | 
ItemValue<ResourceDescriptor> | 
byEmail(java.lang.String email)
Fetches a  
ResourceDescriptor item from the database with its
 email. | 
java.util.List<java.lang.String> | 
byType(java.lang.String typeUid)
Search resources by type. 
 | 
void | 
create(java.lang.String uid,
      ResourceDescriptor rd)
Creates a resource 
 | 
TaskRef | 
delete(java.lang.String uid)
Deletes an existing resource 
 | 
ResourceDescriptor | 
get(java.lang.String uid)
Retrieve an existing resource 
 | 
byte[] | 
getIcon(java.lang.String uid)  | 
java.lang.String | 
removeFromEventDescription(java.lang.String resourceUid,
                          EventInfo eventInfo)
Remove the transformed template associated to the given resource from the
 given  
eventDescription. | 
void | 
setIcon(java.lang.String uid,
       byte[] icon)  | 
void | 
update(java.lang.String uid,
      ResourceDescriptor rd)
Modifies an existing resource 
 | 
@PUT
 @Path(value="{uid}")
void create(@PathParam(value="uid")
                                       java.lang.String uid,
                                       ResourceDescriptor rd)
                                throws ServerFault
domain - ServerFault - { ResourceDescriptorServerFault - standard error object@POST
 @Path(value="{uid}")
void update(@PathParam(value="uid")
                                        java.lang.String uid,
                                        ResourceDescriptor rd)
                                 throws ServerFault
domain - ServerFault - updated { ResourceDescriptorServerFault - standard error object@DELETE
 @Path(value="{uid}")
TaskRef delete(@PathParam(value="uid")
                                             java.lang.String uid)
                                      throws ServerFault
ServerFaultServerFault - standard error object@GET
 @Path(value="{uid}")
ResourceDescriptor get(@PathParam(value="uid")
                                                  java.lang.String uid)
                                           throws ServerFault
uid - ServerFaultServerFault - standard error object@GET
 @Path(value="{uid}/icon")
 @Produces(value="image/png")
byte[] getIcon(@PathParam(value="uid")
                                                                             java.lang.String uid)
                                                                      throws ServerFault
ServerFault@POST
 @Path(value="{uid}/icon")
 @Consumes(value="image/png")
void setIcon(@PathParam(value="uid")
                                                                            java.lang.String uid,
                                                                            byte[] icon)
                                                                     throws ServerFault
ServerFault@GET
 @Path(value="byEmail/{email}")
ItemValue<ResourceDescriptor> byEmail(@PathParam(value="email")
                                                                           java.lang.String email)
                                                                    throws ServerFault
ResourceDescriptor item from the database with its
 email.uid - ServerFault - standard error object@GET
 @Path(value="byType/{type}")
java.util.List<java.lang.String> byType(@PathParam(value="type")
                                                                           java.lang.String typeUid)
                                                                    throws ServerFault
typeUid - ResourceType.identifierServerFaultServerFault - standard error object@POST
 @Path(value="{uid}/addToEventDesc")
java.lang.String addToEventDescription(@PathParam(value="uid")
                                                                                  java.lang.String resourceUid,
                                                                                  EventInfo eventInfo)
                                                                           throws ServerFault
eventDescription.resourceUid - the identifier of ResourceDescriptororganizer - the organizer of the calendar eventeventDescriptionServerFault - standard error objectResourceTypeDescriptor.templates@POST
 @Path(value="{uid}/removeFromEventDesc")
java.lang.String removeFromEventDescription(@PathParam(value="uid")
                                                                                            java.lang.String resourceUid,
                                                                                            EventInfo eventInfo)
                                                                                     throws ServerFault
eventDescription.resourceUid - the identifier of ResourceDescriptoreventDescriptionServerFault - standard error objectResourceTypeDescriptor.templatesCopyright © 2021. All Rights Reserved.