Liferay 7.0-ce-b4

com.liferay.portal.service
Interface OrgLaborService

All Superinterfaces:
BaseService
All Known Implementing Classes:
OrgLaborServiceBaseImpl, OrgLaborServiceImpl, 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.

See Also:
OrgLaborServiceUtil, OrgLaborServiceBaseImpl, OrgLaborServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 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)
           
 void deleteOrgLabor(long orgLaborId)
           
 OrgLabor getOrgLabor(long orgLaborId)
           
 List<OrgLabor> getOrgLabors(long organizationId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 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)
           
 

Method Detail

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

void deleteOrgLabor(long orgLaborId)
                    throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

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

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

Liferay 7.0-ce-b4