1
22
23 package com.liferay.portal.service;
24
25
26
50 public interface AddressLocalService {
51 public com.liferay.portal.model.Address addAddress(
52 com.liferay.portal.model.Address address)
53 throws com.liferay.portal.SystemException;
54
55 public void deleteAddress(long addressId)
56 throws com.liferay.portal.SystemException,
57 com.liferay.portal.PortalException;
58
59 public void deleteAddress(com.liferay.portal.model.Address address)
60 throws com.liferay.portal.SystemException;
61
62 public java.util.List<Object> dynamicQuery(
63 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68 int end) throws com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.Address getAddress(long addressId)
71 throws com.liferay.portal.SystemException,
72 com.liferay.portal.PortalException;
73
74 public java.util.List<com.liferay.portal.model.Address> getAddresses(
75 int start, int end) throws com.liferay.portal.SystemException;
76
77 public int getAddressesCount() throws com.liferay.portal.SystemException;
78
79 public com.liferay.portal.model.Address updateAddress(
80 com.liferay.portal.model.Address address)
81 throws com.liferay.portal.SystemException;
82
83 public com.liferay.portal.model.Address addAddress(long userId,
84 java.lang.String className, long classPK, java.lang.String street1,
85 java.lang.String street2, java.lang.String street3,
86 java.lang.String city, java.lang.String zip, long regionId,
87 long countryId, int typeId, boolean mailing, boolean primary)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public void deleteAddresses(long companyId, java.lang.String className,
92 long classPK) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.Address> getAddresses()
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.Address> getAddresses(
98 long companyId, java.lang.String className, long classPK)
99 throws com.liferay.portal.SystemException;
100
101 public com.liferay.portal.model.Address updateAddress(long addressId,
102 java.lang.String street1, java.lang.String street2,
103 java.lang.String street3, java.lang.String city, java.lang.String zip,
104 long regionId, long countryId, int typeId, boolean mailing,
105 boolean primary)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException;
108 }