View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    * 
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.apache.jetspeed.om.folder.impl;
18  
19  import org.apache.jetspeed.om.folder.MenuOptionsDefinition;
20  
21  /***
22   * BaseMenuOptionsDefinitionImpl
23   * 
24   * @author <a href="mailto:rwatler@apache.org">Randy Watler</a>
25   * @version $Id:$
26   */
27  public abstract class BaseMenuOptionsDefinitionImpl extends BaseMenuDefinitionElement implements MenuOptionsDefinition
28  {
29      private String options;
30      private int depth;
31      private boolean paths;
32      private boolean regexp;
33      private String profile;
34      private String order;
35      private String skin;
36      
37      /* (non-Javadoc)
38       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getOptions()
39       */
40      public String getOptions()
41      {
42          return options;
43      }
44  
45      /* (non-Javadoc)
46       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setOptions(java.lang.String)
47       */
48      public void setOptions(String options)
49      {
50          this.options = options;
51      }
52  
53      /* (non-Javadoc)
54       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getDepth()
55       */
56      public int getDepth()
57      {
58          return depth;
59      }
60  
61      /* (non-Javadoc)
62       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setDepth(int)
63       */
64      public void setDepth(int depth)
65      {
66          this.depth = depth;
67      }
68  
69      /* (non-Javadoc)
70       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#isPaths()
71       */
72      public boolean isPaths()
73      {
74          return paths;
75      }
76      
77      /* (non-Javadoc)
78       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setPaths(boolean)
79       */
80      public void setPaths(boolean paths)
81      {
82          this.paths = paths;
83      }
84      
85      /* (non-Javadoc)
86       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#isRegexp()
87       */
88      public boolean isRegexp()
89      {
90          return regexp;
91      }
92  
93      /* (non-Javadoc)
94       * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setRegexp(boolean)
95       */
96      public void setRegexp(boolean regexp)
97      {
98          this.regexp = regexp;
99      }
100 
101     /* (non-Javadoc)
102      * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getProfile()
103      */
104     public String getProfile()
105     {
106         return profile;
107     }
108 
109     /* (non-Javadoc)
110      * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setProfile(java.lang.String)
111      */
112     public void setProfile(String locatorName)
113     {
114         profile = locatorName;
115     }
116 
117     /* (non-Javadoc)
118      * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getOrder()
119      */
120     public String getOrder()
121     {
122         return order;
123     }
124 
125     /* (non-Javadoc)
126      * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setOrder(java.lang.String)
127      */
128     public void setOrder(String order)
129     {
130         this.order = order;
131     }
132 
133     /* (non-Javadoc)
134      * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getSkin()
135      */
136     public String getSkin()
137     {
138         return skin;
139     }
140 
141     /* (non-Javadoc)
142      * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setSkin(java.lang.String)
143      */
144     public void setSkin(String name)
145     {
146         skin = name;
147     }
148 }