1 package com.sslexplorer.policyframework; 2 3 import java.io.Serializable ; 4 5 6 public interface Policy extends Resource, Serializable { 7 8 10 public final static int TYPE_NORMAL = 1; 11 public final static int TYPE_INVISIBLE = 2; 12 13 15 public final static int PRINCIPAL_USER = 0; 16 public final static int PRINCIPAL_GROUP = 1; 17 18 22 public int getType(); 23 24 30 public void setType(int type); 31 32 37 public void setResourceName(String name); 38 39 44 public void setResourceDescription(String description); 45 46 52 public boolean equals(Object o); 53 54 58 public int getAttachedGroups(); 59 60 64 public int getAttachedUsers(); 65 66 } 67 | Popular Tags |