1
22
23 package com.liferay.portal.service;
24
25
26
50 public interface WebsiteLocalService {
51 public com.liferay.portal.model.Website addWebsite(
52 com.liferay.portal.model.Website website)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.Website createWebsite(long websiteId);
56
57 public void deleteWebsite(long websiteId)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portal.PortalException;
60
61 public void deleteWebsite(com.liferay.portal.model.Website website)
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.Website getWebsite(long websiteId)
73 throws com.liferay.portal.SystemException,
74 com.liferay.portal.PortalException;
75
76 public java.util.List<com.liferay.portal.model.Website> getWebsites(
77 int start, int end) throws com.liferay.portal.SystemException;
78
79 public int getWebsitesCount() throws com.liferay.portal.SystemException;
80
81 public com.liferay.portal.model.Website updateWebsite(
82 com.liferay.portal.model.Website website)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portal.model.Website addWebsite(long userId,
86 java.lang.String className, long classPK, java.lang.String url,
87 int typeId, boolean primary)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public void deleteWebsites(long companyId, java.lang.String className,
92 long classPK) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.Website> getWebsites()
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.Website> getWebsites(
98 long companyId, java.lang.String className, long classPK)
99 throws com.liferay.portal.SystemException;
100
101 public com.liferay.portal.model.Website updateWebsite(long websiteId,
102 java.lang.String url, int typeId, boolean primary)
103 throws com.liferay.portal.PortalException,
104 com.liferay.portal.SystemException;
105 }