ipartyservice.java

来自「一个很好的开源项目管理系统源代码」· Java 代码 · 共 92 行

JAVA
92
字号
package net.java.workeffort.service;import java.util.List;import net.java.workeffort.service.domain.PageResult;import net.java.workeffort.service.domain.Party;import net.java.workeffort.service.domain.PartyQuery;import net.java.workeffort.service.support.ChildRowExistsFkException;import net.java.workeffort.service.support.NoParentRowFkException;import net.java.workeffort.service.support.OptimisticLockingException;import net.java.workeffort.service.support.UniqueConstraintException;/** * Party service interface. * <p> * Spring creates a proxy of this interface and the clients invoke methods on * the proxy instead of directly invoking <code>PartyService</code>. * Transaction management, security and other cross cutting concerns are added * using spring AOP. * @author Antony Joseph */public interface IPartyService {    Party getParty(String pk);    PageResult getPageResultParty(PartyQuery query);    void insertParty(Party party) throws UniqueConstraintException;    void updateParty(Party party) throws OptimisticLockingException;    void deleteParty(Party party) throws OptimisticLockingException,            ChildRowExistsFkException;    /**     * @param pk the pk     * @return The party with rates populated.     */    Party getPartyWithRate(String pk);    /**     * @param party The party     * @return the party     */    void savePartyWithRate(Party party) throws OptimisticLockingException,            UniqueConstraintException, NoParentRowFkException;    /**     * @param pk The pk     * @return The party with rate history populated.     */    List getListPartyRateHistory(String pk);    /**     * @param pk The pk     * @return The party with skills populated.     */    Party getPartyWithSkill(String pk);    /**     * @param party The party     * @return the party     */    void savePartyWithSkill(Party party) throws OptimisticLockingException,            UniqueConstraintException, NoParentRowFkException;    /**     * @param pk The pk     * @return The party with timesheetsupervisor populated.     */    Party getPartyWithTimesheetSupervisor(String pk);    /**     * @param party The party     * @return the party     */    void savePartyWithTimesheetSupervisor(Party party)            throws OptimisticLockingException, UniqueConstraintException,            NoParentRowFkException;    Party getPartyWithRole(String pk);    List getListPartyRolePermissionHierarchy(String pk);    void savePartyWithRole(Party party) throws OptimisticLockingException,            UniqueConstraintException, NoParentRowFkException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?