KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > portal > struts > DotPortletActionInterface


1 /*
2  * Created on Jun 25, 2004
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package com.dotmarketing.portal.struts;
8
9 import javax.portlet.ActionRequest;
10 import javax.portlet.ActionResponse;
11 import javax.portlet.PortletConfig;
12
13 import org.apache.struts.action.ActionForm;
14
15 import com.liferay.portal.model.User;
16
17 /**
18  * @author Maria
19  *
20  */

21 public interface DotPortletActionInterface {
22     
23     //the get version back web asset method is different for each asset so it needs to be implemented
24
public abstract void _getVersionBackWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception JavaDoc;
25
26     //the copy web asset method is different for each asset so it needs to be implemented
27
public abstract void _copyWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception JavaDoc;
28
29     //the save web asset method is different for each asset so it needs to be implemented
30
public abstract void _saveWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception JavaDoc;
31
32     //This method is implemented in part on the abstract class, still needs to be finished on each asset class, so it needs to stay on the interface
33
public abstract void _editWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception JavaDoc;
34
35
36     /*
37     * All these methods are implemented in the Abstract class DotPortletAction. These are all common to the all WebAssets
38     */

39     
40 // public abstract void _moveWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
41

42 // public abstract void _publishWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
43

44 // public abstract void _getVersionsWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
45

46 // public abstract void _unLockWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
47

48 // public abstract void _deleteWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
49

50 // public abstract void _undeleteWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
51

52 // public abstract void _deleteVersionWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
53

54 // public abstract void _unPublishWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
55

56 // public abstract void _retrieveWebAsset(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user) throws Exception;
57
}
58
Popular Tags