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.documentlibrary.service;
022:
023: /**
024: * <a href="DLFileRankLocalService.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.documentlibrary.service.impl.DLFileRankLocalServiceImpl</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 local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceFactory
045: * @see com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceUtil
046: *
047: */
048: public interface DLFileRankLocalService {
049: public com.liferay.portlet.documentlibrary.model.DLFileRank addDLFileRank(
050: com.liferay.portlet.documentlibrary.model.DLFileRank model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.documentlibrary.model.DLFileRank updateDLFileRank(
063: com.liferay.portlet.documentlibrary.model.DLFileRank model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence getDLFileEntryPersistence();
067:
068: public void setDLFileEntryPersistence(
069: com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence dlFileEntryPersistence);
070:
071: public com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder getDLFileEntryFinder();
072:
073: public void setDLFileEntryFinder(
074: com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder dlFileEntryFinder);
075:
076: public com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder();
077:
078: public void setDLFileEntryAndShortcutFinder(
079: com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder);
080:
081: public com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence getDLFileRankPersistence();
082:
083: public void setDLFileRankPersistence(
084: com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence dlFileRankPersistence);
085:
086: public com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder getDLFileRankFinder();
087:
088: public void setDLFileRankFinder(
089: com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder dlFileRankFinder);
090:
091: public com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence getDLFileShortcutPersistence();
092:
093: public void setDLFileShortcutPersistence(
094: com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence dlFileShortcutPersistence);
095:
096: public com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinder getDLFileShortcutFinder();
097:
098: public void setDLFileShortcutFinder(
099: com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinder dlFileShortcutFinder);
100:
101: public com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence getDLFileVersionPersistence();
102:
103: public void setDLFileVersionPersistence(
104: com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence dlFileVersionPersistence);
105:
106: public com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence getDLFolderPersistence();
107:
108: public void setDLFolderPersistence(
109: com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence dlFolderPersistence);
110:
111: public void afterPropertiesSet();
112:
113: public void deleteFileRanks(long userId)
114: throws com.liferay.portal.SystemException;
115:
116: public void deleteFileRanks(long folderId, java.lang.String name)
117: throws com.liferay.portal.SystemException;
118:
119: public java.util.List getFileRanks(long groupId, long userId)
120: throws com.liferay.portal.SystemException;
121:
122: public java.util.List getFileRanks(long groupId, long userId,
123: int begin, int end)
124: throws com.liferay.portal.SystemException;
125:
126: public com.liferay.portlet.documentlibrary.model.DLFileRank updateFileRank(
127: long groupId, long companyId, long userId, long folderId,
128: java.lang.String name)
129: throws com.liferay.portal.SystemException,
130: com.liferay.portal.PortalException;
131: }
|