Changeset 5549 for ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/persistence/ComponentDao.java
- Timestamp:
- 08/11/14 16:07:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/persistence/ComponentDao.java
r4098 r5549 16 16 public interface ComponentDao { 17 17 18 /** 19 * Get all public components 20 * 21 * @return 22 */ 23 List<BaseDescription> getPublicComponentDescriptions(); 24 18 25 19 /** 26 20 * Get all public profiles … … 28 22 * @return 29 23 */ 30 List<BaseDescription> getPublic ProfileDescriptions();24 List<BaseDescription> getPublicBaseDescriptions(String prefix); 31 25 32 26 /** … … 57 51 * public) 58 52 */ 59 boolean isInRegistry(String cmdId, Number userId);53 //boolean isAccessible(String cmdId, Number userId); 60 54 61 55 /** … … 117 111 * @return The description, if it exists; null otherwise 118 112 */ 119 BaseDescription getByCmdId(String id, Number userId) 120 throws DataAccessException; 113 // BaseDescription getByCmdId(String id, Number userId) 114 // throws DataAccessException; 115 121 116 122 117 /** … … 146 141 * not part of any group 147 142 */ 148 List<BaseDescription> get UserspaceComponents(Number userId)143 List<BaseDescription> getPrivateBaseDescriptions(Number userId, String prefix) 149 144 throws DataAccessException; 150 151 /** 152 * 153 * @return All the user's profiles not in the public space and are also 154 * not part of any group 155 */ 156 List<BaseDescription> getUserspaceProfiles(Number userId) 157 throws DataAccessException; 158 145 159 146 void setDeleted(BaseDescription desc, boolean isDeleted) 160 147 throws DataAccessException; … … 182 169 List<String> getAllNonDeletedComponentIds(); 183 170 171 public List<BaseDescription> getAllNonDeletedDescriptions(); 172 173 // Olha was here 174 public List<String> getAllItemIdsInGroup(String prefix, Long groupId); 184 175 185 176 }
Note: See TracChangeset
for help on using the changeset viewer.