public class OrgLaborServiceHttp
extends java.lang.Object
OrgLaborServiceUtil
service
utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
OrgLaborServiceSoap
Constructor and Description |
---|
OrgLaborServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static OrgLabor |
addOrgLabor(HttpPrincipal httpPrincipal,
long organizationId,
long typeId,
int sunOpen,
int sunClose,
int monOpen,
int monClose,
int tueOpen,
int tueClose,
int wedOpen,
int wedClose,
int thuOpen,
int thuClose,
int friOpen,
int friClose,
int satOpen,
int satClose) |
static void |
deleteOrgLabor(HttpPrincipal httpPrincipal,
long orgLaborId) |
static OrgLabor |
getOrgLabor(HttpPrincipal httpPrincipal,
long orgLaborId) |
static java.util.List<OrgLabor> |
getOrgLabors(HttpPrincipal httpPrincipal,
long organizationId) |
static OrgLabor |
updateOrgLabor(HttpPrincipal httpPrincipal,
long orgLaborId,
long typeId,
int sunOpen,
int sunClose,
int monOpen,
int monClose,
int tueOpen,
int tueClose,
int wedOpen,
int wedClose,
int thuOpen,
int thuClose,
int friOpen,
int friClose,
int satOpen,
int satClose) |
public static OrgLabor addOrgLabor(HttpPrincipal httpPrincipal, long organizationId, long typeId, int sunOpen, int sunClose, int monOpen, int monClose, int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen, int thuClose, int friOpen, int friClose, int satOpen, int satClose) throws PortalException
PortalException
public static void deleteOrgLabor(HttpPrincipal httpPrincipal, long orgLaborId) throws PortalException
PortalException
public static OrgLabor getOrgLabor(HttpPrincipal httpPrincipal, long orgLaborId) throws PortalException
PortalException
public static java.util.List<OrgLabor> getOrgLabors(HttpPrincipal httpPrincipal, long organizationId) throws PortalException
PortalException
public static OrgLabor updateOrgLabor(HttpPrincipal httpPrincipal, long orgLaborId, long typeId, int sunOpen, int sunClose, int monOpen, int monClose, int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen, int thuClose, int friOpen, int friClose, int satOpen, int satClose) throws PortalException
PortalException