001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.security.ac.AccessControlled;
026
027
038 @AccessControlled
039 @JSONWebService
040 @ProviderType
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface OrgLaborService extends BaseService {
044
049 public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
050 int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
051 int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
052 int thuClose, int friOpen, int friClose, int satOpen, int satClose)
053 throws com.liferay.portal.kernel.exception.PortalException;
054
055 public void deleteOrgLabor(long orgLaborId)
056 throws com.liferay.portal.kernel.exception.PortalException;
057
058
063 public java.lang.String getBeanIdentifier();
064
065 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
066 public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
067 throws com.liferay.portal.kernel.exception.PortalException;
068
069 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
070 public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
071 long organizationId)
072 throws com.liferay.portal.kernel.exception.PortalException;
073
074
079 public void setBeanIdentifier(java.lang.String beanIdentifier);
080
081 public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
082 int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
083 int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
084 int thuClose, int friOpen, int friClose, int satOpen, int satClose)
085 throws com.liferay.portal.kernel.exception.PortalException;
086 }