Interface OrgLaborService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
OrgLaborServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface OrgLaborService
extends BaseService
Provides the remote service interface for OrgLabor. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddOrgLabor
(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) void
deleteOrgLabor
(long orgLaborId) getOrgLabor
(long orgLaborId) getOrgLabors
(long organizationId) Returns the OSGi service identifier.updateOrgLabor
(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)
-
Method Details
-
addOrgLabor
OrgLabor addOrgLabor(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 - Throws:
PortalException
-
deleteOrgLabor
- Throws:
PortalException
-
getOrgLabor
@Transactional(propagation=SUPPORTS, readOnly=true) OrgLabor getOrgLabor(long orgLaborId) throws PortalException - Throws:
PortalException
-
getOrgLabors
@Transactional(propagation=SUPPORTS, readOnly=true) List<OrgLabor> getOrgLabors(long organizationId) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateOrgLabor
OrgLabor updateOrgLabor(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 - Throws:
PortalException
-