本文整理汇总了Java中org.kuali.rice.core.api.util.jaxb.DateTimeAdapter类的典型用法代码示例。如果您正苦于以下问题:Java DateTimeAdapter类的具体用法?Java DateTimeAdapter怎么用?Java DateTimeAdapter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DateTimeAdapter类属于org.kuali.rice.core.api.util.jaxb包,在下文中一共展示了DateTimeAdapter类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: isGroupMemberOfGroupWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "isGroupMemberOfGroupWithDate")
@WebResult(name = "isMember")
boolean isGroupMemberOfGroupWithDate(String groupMemberId, String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
开发者ID:kuali,项目名称:kc-rice,代码行数:5,代码来源:GroupService.java
示例2: isMemberOfGroupWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "isMemberOfGroupWithDate")
@WebResult(name = "isMember")
boolean isMemberOfGroupWithDate(String principalId, String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
开发者ID:kuali,项目名称:kc-rice,代码行数:5,代码来源:GroupService.java
示例3: getDirectParentGroupIdsWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "getDirectParentGroupIdsWithDate")
@XmlElementWrapper(name = "directParents", required = true)
@XmlElement(name = "directParent", required = false)
@WebResult(name = "directParents")
List<String> getDirectParentGroupIdsWithDate(String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
开发者ID:kuali,项目名称:kc-rice,代码行数:7,代码来源:GroupService.java
示例4: getMembersWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "getMembersWithDate")
@XmlElementWrapper(name = "members", required = true)
@XmlElement(name = "member", required = false)
@WebResult(name = "members")
List<GroupMember> getMembersWithDate(List<String> groupIds,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
开发者ID:kuali,项目名称:kc-rice,代码行数:7,代码来源:GroupService.java
示例5: getRulesByTemplateNameAndDocumentTypeNameAndEffectiveDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
/**
* Gets a list of Rules with the specified templateId and documentTypeName. Scales up the hierarchy of
* documentTypes
*
* @param templateName unique name for the Rule Template. Cannot be null or empty
* @param documentTypeName documentTypeName for Rule. Cannot be null or empty
* @param effectiveDate date for rule effectiveness. Can be null. If null, current time is used.
*
* @return Rules with the passed in templateId, documentTypeName (or parent document type)or an empty list if none exist
*
* @throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException if {@code id} is null
*/
@WebMethod(operationName = "getRulesByTemplateNameAndDocumentTypeNameAndEffectiveDate")
@WebResult(name = "rules")
@XmlElementWrapper(name = "rules", required = true)
@XmlElement(name = "rule", required = true)
List<Rule> getRulesByTemplateNameAndDocumentTypeNameAndEffectiveDate(@WebParam(name = "templateName") String templateName,
@WebParam(name = "documentTypeName") String documentTypeName,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name = "effectiveDate") DateTime effectiveDate)
throws RiceIllegalArgumentException;
开发者ID:kuali,项目名称:kc-rice,代码行数:21,代码来源:RuleService.java
示例6:
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
/**
* Does a direct search for searchableAttributes without going through the document search
* This returns a list of DateTime values for date/time searchableAttributes
*
* @param documentId the unique id of a Document
* @param key the searchableAttributes key value
*
* @return a list of DateTime values for the {@link Document} with the
* given documentId and searchable attribute key
*
* @throws RiceIllegalArgumentException if {@code documentId} is null
* @throws RiceIllegalArgumentException if {@code key} is null
*/
@WebMethod(operationName = "getSearchableAttributeDateTimeValuesByKey")
@XmlElementWrapper(name = "searchableAttributeDateTimeValues", required = true)
@XmlElement(name = "searchableAttributeDateTimeValue", required = false)
@WebResult(name = "searchableAttributeDateTimeValues")
@XmlJavaTypeAdapter(value = DateTimeAdapter.class)
List<DateTime> getSearchableAttributeDateTimeValuesByKey(@WebParam(name = "documentId") String documentId,
@WebParam(name = "key") String key)
throws RiceIllegalArgumentException;
开发者ID:kuali,项目名称:kc-rice,代码行数:22,代码来源:WorkflowDocumentService.java
示例7: getMembersOfGroupWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
/**
* Get all GroupMembers all the groups with a given group id and asOfDate.
*
* <p>
* The collection of GroupMembers will contain members for a the group in no defined order. That were members at the specified time.
* </p>
*
* @param groupId Id of group
* @param asOfDate Date for historical record
* @return Collection of GroupMembers.
* @throws RiceIllegalArgumentException if the groupId is null or blank
*/
@WebMethod(operationName = "getMembersOfGroupWithDate")
@XmlElementWrapper(name = "members", required = true)
@XmlElement(name = "member", required = false)
@WebResult(name = "members")
@Cacheable(value= GroupMember.Cache.NAME, key="'groupId=' + #p0 + '|' + 'asOfDate=' + #p1")
List<GroupMember> getMembersOfGroupWithDate( @WebParam(name="groupId") String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate")DateTime asOfDate )
throws RiceIllegalArgumentException;
开发者ID:kuali,项目名称:kc-rice,代码行数:21,代码来源:GroupService.java
注:本文中的org.kuali.rice.core.api.util.jaxb.DateTimeAdapter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论