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