View Javadoc
1 /* 2 * Copyright (c) 2003 3 * Information Desire GmbH 4 * All rights reserved. 5 */ 6 package com.infodesire.infobit.data; 7 8 import com.infodesire.infobit.InfobitException; 9 import com.infodesire.infobit.InfobitSecurityException; 10 11 import java.util.List; 12 /*** 13 * Infobit - just an versioned, secured and attributed chunk of information 14 * 15 * @author konstantin 16 * @created July 29, 2003 17 * @version $Revision: 1.12 $ 18 */ 19 public interface Infobit extends Attributed { 20 /*** 21 * capability name for infobit creation within given acl 22 */ 23 public final static String CREATE_PERMISSION = "create_infobit"; 24 /*** 25 * capability name for infobit removal within given acl 26 */ 27 public final static String REMOVE_PERMISSION = "remove_infobit"; 28 29 /*** 30 * attribute type definition ( news , or whatever ) 31 */ 32 public final static String TYPE_ATTRIBUTE = "type"; 33 34 /*** 35 * infobits holding this attribute can be indexed. no need to index titles 36 * or teasers of news separately. Only indexable invobits can be found by 37 * search engine 38 */ 39 public final static String INDEXABLE_ATTRIBUTE = "indexable"; 40 41 /*** 42 * infobit can have assigned date attribute. this attribute defines 43 * actuality and may be used by serach engine to sort search hits 44 */ 45 public final static String DATE_ATTRIBUTE = "date"; 46 47 48 /*** 49 * infobit name is human readable identification of infobit. it's unique and 50 * can not be changed after creation 51 * 52 * @return unique infobit name 53 */ 54 public String getName(); 55 56 57 /*** 58 * acl controlling accsees to this infobit 59 * 60 * @return aclk in charge 61 */ 62 public Acl getAcl(); 63 64 65 /*** 66 * Gets the ActualVersion attribute of the Infobit object 67 * 68 * @return The ActualVersion value 69 */ 70 public Version getActualVersion(); 71 72 73 74 /*** 75 * Gets the Versions attribute of the Infobit object 76 * 77 * @return The Versions value 78 */ 79 public List getVersions(); 80 81 }

This page was automatically generated by Maven