1 16 17 package org.apache.jetspeed.services.webpage; 18 19 23 public class UnsecuredSite 24 { 25 private long id; 26 private String url; 27 private String name; 28 private int status; 29 30 37 public UnsecuredSite(String name, 38 String url) 39 40 { 41 this.id = WebPageHelper.generateId(); 42 this.name = name; 43 this.url = url; 44 } 45 46 51 public long getID() 52 { 53 return this.id; 54 } 55 56 61 public String getURL() 62 { 63 return this.url; 64 } 65 66 67 72 public String getName() 73 { 74 return this.name; 75 } 76 77 82 public String getUserName() 83 { 84 return null; 85 } 86 87 92 public String getPassword() 93 { 94 return null; 95 } 96 97 102 public int getStatus() 103 { 104 return this.status; 105 } 106 107 112 public void setStatus(int status) 113 { 114 this.status = status; 115 } 116 117 122 public boolean isSecured() 123 { 124 return false; 125 } 126 127 } 128 | Popular Tags |