1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.mirage.custom;
24  
25  import com.sun.portal.cms.mirage.exception.CMSException;
26  import com.sun.portal.cms.mirage.exception.TemplateNotFoundException;
27  import com.sun.portal.cms.mirage.model.core.User;
28  import com.sun.portal.cms.mirage.model.custom.Content;
29  import com.sun.portal.cms.mirage.model.custom.VersionableContent;
30  import com.sun.portal.cms.mirage.service.custom.ContentService;
31  
32  import java.util.List;
33  
34  /**
35   * <a href="ContentServiceImpl.java.html"><b><i>View Source</i></b></a>
36   *
37   * @author Jorge Ferrer
38   *
39   */
40  public class ContentServiceImpl implements ContentService {
41  
42      public void createContent(Content content, String username)
43          throws CMSException, TemplateNotFoundException {
44      }
45  
46      public void deleteContent(String contentName, String contentTypeName)
47          throws CMSException {
48      }
49  
50      public Content getContentByNameAndType(
51              String contentName, String contentTypeName, String username)
52          throws CMSException {
53  
54          return null;
55      }
56  
57      public Content getContentByUUID(String uuid, User user)
58          throws CMSException {
59  
60          return null;
61      }
62  
63      public List<String> getContentNamesByType(String contentTypeName)
64          throws CMSException {
65  
66          return null;
67      }
68  
69      public void checkinContent(Content content, String username)
70          throws CMSException, TemplateNotFoundException {
71      }
72  
73      public VersionableContent checkoutContent(
74              String contentName, String contentTypeName, String username)
75          throws CMSException {
76  
77          return null;
78      }
79  
80      public VersionableContent getContentByVersion(
81              String contentName, String contentTypeName, String versionName,
82              User user)
83          throws CMSException {
84  
85          return null;
86      }
87  
88      public String getContentURL(String appURL, String UUID) {
89          return null;
90      }
91  
92      public List<Content> getContentsByType(
93          String contentTypeUUID, String username) throws CMSException {
94  
95          return null;
96      }
97  
98      public List<String> getVersionNames(
99              String contentName, String contentTypeName, User user)
100         throws CMSException {
101 
102         return null;
103     }
104 
105     public List<VersionableContent> getVersions(
106             String contentName, String contentTypeName, User user)
107         throws CMSException {
108 
109         return null;
110     }
111 
112     public void unCheckoutContent(
113             String contentName, String contentTypeName, String user)
114         throws CMSException {
115     }
116 
117     public void updateContent(Content content, String username)
118         throws CMSException, TemplateNotFoundException {
119     }
120 
121 }