001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.blogs.service;
022:
023: /**
024: * <a href="BlogsEntryService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.blogs.service.BlogsEntryServiceFactory
045: * @see com.liferay.portlet.blogs.service.BlogsEntryServiceUtil
046: *
047: */
048: public interface BlogsEntryService {
049: public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
050: long plid, java.lang.String title,
051: java.lang.String content, int displayDateMonth,
052: int displayDateDay, int displayDateYear,
053: int displayDateHour, int displayDateMinute,
054: java.lang.String[] tagsEntries,
055: boolean addCommunityPermissions,
056: boolean addGuestPermissions,
057: com.liferay.portal.theme.ThemeDisplay themeDisplay)
058: throws java.rmi.RemoteException,
059: com.liferay.portal.SystemException,
060: com.liferay.portal.PortalException;
061:
062: public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
063: long plid, java.lang.String title,
064: java.lang.String content, int displayDateMonth,
065: int displayDateDay, int displayDateYear,
066: int displayDateHour, int displayDateMinute,
067: java.lang.String[] tagsEntries,
068: java.lang.String[] communityPermissions,
069: java.lang.String[] guestPermissions,
070: com.liferay.portal.theme.ThemeDisplay themeDisplay)
071: throws java.rmi.RemoteException,
072: com.liferay.portal.SystemException,
073: com.liferay.portal.PortalException;
074:
075: public void deleteEntry(long entryId)
076: throws java.rmi.RemoteException,
077: com.liferay.portal.SystemException,
078: com.liferay.portal.PortalException;
079:
080: public java.util.List getCompanyEntries(long companyId, int max)
081: throws java.rmi.RemoteException,
082: com.liferay.portal.SystemException,
083: com.liferay.portal.PortalException;
084:
085: public java.lang.String getCompanyEntriesRSS(long companyId,
086: int max, java.lang.String type, double version,
087: java.lang.String displayStyle, java.lang.String feedURL,
088: java.lang.String entryURL) throws java.rmi.RemoteException,
089: com.liferay.portal.SystemException,
090: com.liferay.portal.PortalException;
091:
092: public com.liferay.portlet.blogs.model.BlogsEntry getEntry(
093: long entryId) throws java.rmi.RemoteException,
094: com.liferay.portal.SystemException,
095: com.liferay.portal.PortalException;
096:
097: public com.liferay.portlet.blogs.model.BlogsEntry getEntry(
098: long groupId, java.lang.String urlTitle)
099: throws java.rmi.RemoteException,
100: com.liferay.portal.SystemException,
101: com.liferay.portal.PortalException;
102:
103: public java.util.List getGroupEntries(long groupId, int max)
104: throws java.rmi.RemoteException,
105: com.liferay.portal.SystemException,
106: com.liferay.portal.PortalException;
107:
108: public java.lang.String getGroupEntriesRSS(long groupId, int max,
109: java.lang.String type, double version,
110: java.lang.String displayStyle, java.lang.String feedURL,
111: java.lang.String entryURL) throws java.rmi.RemoteException,
112: com.liferay.portal.SystemException,
113: com.liferay.portal.PortalException;
114:
115: public java.util.List getOrganizationEntries(long organizationId,
116: int max) throws java.rmi.RemoteException,
117: com.liferay.portal.SystemException,
118: com.liferay.portal.PortalException;
119:
120: public java.lang.String getOrganizationEntriesRSS(
121: long organizationId, int max, java.lang.String type,
122: double version, java.lang.String displayStyle,
123: java.lang.String feedURL, java.lang.String entryURL)
124: throws java.rmi.RemoteException,
125: com.liferay.portal.SystemException,
126: com.liferay.portal.PortalException;
127:
128: public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
129: long entryId, java.lang.String title,
130: java.lang.String content, int displayDateMonth,
131: int displayDateDay, int displayDateYear,
132: int displayDateHour, int displayDateMinute,
133: java.lang.String[] tagsEntries,
134: com.liferay.portal.theme.ThemeDisplay themeDisplay)
135: throws java.rmi.RemoteException,
136: com.liferay.portal.SystemException,
137: com.liferay.portal.PortalException;
138: }
|